# coding: utf-8

"""
    Zuora API Reference

    REST API reference for the Zuora Billing, Payments, and Central Platform! Check out the [REST API Overview](https://www.zuora.com/developer/api-references/api/overview/).

    The version of the OpenAPI document: 2024-05-20
    Contact: docs@zuora.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self


class SubmitDataQueryRequestOutputFormat(str, Enum):
    """
    Specifies the format of the query results.  * `JSON` - Each row in the query results will be a JSON object. The format of the query result file is [JSON Lines](http://jsonlines.org/). * `CSV` - Each row in the query results will be a comma-separated list of values. * `TSV` - Each row in the query results will be a tab-separated list of values. * `DSV` - Pass any character as your custom delimiter into the `columnSeparator` field. 
    """

    """
    allowed enum values
    """
    JSON = 'JSON'
    CSV = 'CSV'
    TSV = 'TSV'
    DSV = 'DSV'

    @classmethod
    def from_json(cls, json_str: str) -> Self:
        """Create an instance of SubmitDataQueryRequestOutputFormat from a JSON string"""
        return cls(json.loads(json_str))


