add: demo server and client
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
from datetime import date, datetime # noqa: F401
|
||||
|
||||
from typing import List, Dict # noqa: F401
|
||||
|
||||
from openapi_server.models.base_model import Model
|
||||
from openapi_server.models.ice_candidate import IceCandidate
|
||||
from openapi_server import util
|
||||
|
||||
from openapi_server.models.ice_candidate import IceCandidate # noqa: E501
|
||||
|
||||
class ClaimIceCandidatesResponse(Model):
|
||||
"""NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
|
||||
Do not edit the class manually.
|
||||
"""
|
||||
|
||||
def __init__(self, ice_candidates=None): # noqa: E501
|
||||
"""ClaimIceCandidatesResponse - a model defined in OpenAPI
|
||||
|
||||
:param ice_candidates: The ice_candidates of this ClaimIceCandidatesResponse. # noqa: E501
|
||||
:type ice_candidates: List[IceCandidate]
|
||||
"""
|
||||
self.openapi_types = {
|
||||
'ice_candidates': List[IceCandidate]
|
||||
}
|
||||
|
||||
self.attribute_map = {
|
||||
'ice_candidates': 'iceCandidates'
|
||||
}
|
||||
|
||||
self._ice_candidates = ice_candidates
|
||||
|
||||
@classmethod
|
||||
def from_dict(cls, dikt) -> 'ClaimIceCandidatesResponse':
|
||||
"""Returns the dict as a model
|
||||
|
||||
:param dikt: A dict.
|
||||
:type: dict
|
||||
:return: The ClaimIceCandidatesResponse of this ClaimIceCandidatesResponse. # noqa: E501
|
||||
:rtype: ClaimIceCandidatesResponse
|
||||
"""
|
||||
return util.deserialize_model(dikt, cls)
|
||||
|
||||
@property
|
||||
def ice_candidates(self) -> List[IceCandidate]:
|
||||
"""Gets the ice_candidates of this ClaimIceCandidatesResponse.
|
||||
|
||||
|
||||
:return: The ice_candidates of this ClaimIceCandidatesResponse.
|
||||
:rtype: List[IceCandidate]
|
||||
"""
|
||||
return self._ice_candidates
|
||||
|
||||
@ice_candidates.setter
|
||||
def ice_candidates(self, ice_candidates: List[IceCandidate]):
|
||||
"""Sets the ice_candidates of this ClaimIceCandidatesResponse.
|
||||
|
||||
|
||||
:param ice_candidates: The ice_candidates of this ClaimIceCandidatesResponse.
|
||||
:type ice_candidates: List[IceCandidate]
|
||||
"""
|
||||
|
||||
self._ice_candidates = ice_candidates
|
||||
Reference in New Issue
Block a user