thousandeyes-sdk-python/thousandeyes-sdk-tests/src/thousandeyes_sdk/tests/models/sip_test_protocol.py
Shahid Hussain Khan 9c9b350344
[GitHub Bot] Generated python SDK (#40)
* [GitHub Bot] Generated python SDK

* Deleted labels (that's deprecated in v7, being replaced by tags) & Updated some additional files

---------

Co-authored-by: API Team <api-team@thousandeyes.com>
Co-authored-by: Miguel Pragosa <mpragosa@thousandeyes.com>
2024-08-08 09:31:01 +01:00

39 lines
787 B
Python

# coding: utf-8
"""
Tests API
This API supports listing, creating, editing, and deleting Cloud and Enterprise Agent (CEA) based tests.
The version of the OpenAPI document: 7.0.14
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 SipTestProtocol(str, Enum):
"""
Transport layer for SIP communication.
"""
"""
allowed enum values
"""
TCP = 'tcp'
TLS = 'tls'
UDP = 'udp'
@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of SipTestProtocol from a JSON string"""
return cls(json.loads(json_str))