def __init__(self,
                 retried=None,
                 local_vars_configuration=None):  # noqa: E501
        """RetriedResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._retried = None
        self.discriminator = None

        if retried is not None:
            self.retried = retried
Esempio n. 2
0
    def __init__(self,
                 signed_urls=None,
                 local_vars_configuration=None):  # noqa: E501
        """EncodingSignedUrls - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._signed_urls = None
        self.discriminator = None

        if signed_urls is not None:
            self.signed_urls = signed_urls
    def __init__(self,
                 video_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """ResubmitVideoBody - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._video_id = None
        self.discriminator = None

        if video_id is not None:
            self.video_id = video_id
    def __init__(self,
                 canceled=None,
                 local_vars_configuration=None):  # noqa: E501
        """CanceledResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._canceled = None
        self.discriminator = None

        if canceled is not None:
            self.canceled = canceled
    def __init__(self,
                 total=None,
                 local_vars_configuration=None):  # noqa: E501
        """CountResponse - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._total = None
        self.discriminator = None

        if total is not None:
            self.total = total
Esempio n. 6
0
    def __init__(self, tag=None, file_size=None, file_name=None, local_vars_configuration=None):  # noqa: E501
        """ExtraFile - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._tag = None
        self._file_size = None
        self._file_name = None
        self.discriminator = None

        self.tag = tag
        self.file_size = file_size
        self.file_name = file_name
    def __init__(self,
                 dest_factory_id=None,
                 profile_name=None,
                 local_vars_configuration=None):  # noqa: E501
        """CopyProfileBody - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._dest_factory_id = None
        self._profile_name = None
        self.discriminator = None

        self.dest_factory_id = dest_factory_id
        self.profile_name = profile_name
Esempio n. 8
0
    def __init__(self, encodings=None, page=None, per_page=None, total=None, local_vars_configuration=None):  # noqa: E501
        """PaginatedEncodingsCollection - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._encodings = None
        self._page = None
        self._per_page = None
        self._total = None
        self.discriminator = None

        self.encodings = encodings
        self.page = page
        self.per_page = per_page
        self.total = total
Esempio n. 9
0
    def __init__(self,
                 profile_id=None,
                 profile_name=None,
                 local_vars_configuration=None):  # noqa: E501
        """UpdateEncodingBody - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._profile_id = None
        self._profile_name = None
        self.discriminator = None

        if profile_id is not None:
            self.profile_id = profile_id
        if profile_name is not None:
            self.profile_name = profile_name
    def __init__(self,
                 error=None,
                 message=None,
                 local_vars_configuration=None):  # noqa: E501
        """Error - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._error = None
        self._message = None
        self.discriminator = None

        if error is not None:
            self.error = error
        if message is not None:
            self.message = message
Esempio n. 11
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None,
                 pool_threads=1):
        if configuration is None:
            configuration = Configuration()
        self.configuration = configuration
        self.pool_threads = pool_threads

        self.rest_client = rest.RESTClientObject(configuration)
        self.default_headers = {}
        if header_name is not None:
            self.default_headers[header_name] = header_value
        self.cookie = cookie
        # Set default User-Agent.
        self.user_agent = 'OpenAPI-Generator/2.1.0/python'
        self.client_side_validation = configuration.client_side_validation
Esempio n. 12
0
    def __init__(self, videos=None, page=None, per_page=None, total=None, local_vars_configuration=None):  # noqa: E501
        """PaginatedVideoCollection - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._videos = None
        self._page = None
        self._per_page = None
        self._total = None
        self.discriminator = None

        if videos is not None:
            self.videos = videos
        if page is not None:
            self.page = page
        if per_page is not None:
            self.per_page = per_page
        if total is not None:
            self.total = total
    def __init__(self,
                 id=None,
                 name=None,
                 created_at=None,
                 updated_at=None,
                 url=None,
                 server_side_encryption=None,
                 outputs_path_format=None,
                 store_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """Factory - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._name = None
        self._created_at = None
        self._updated_at = None
        self._url = None
        self._server_side_encryption = None
        self._outputs_path_format = None
        self._store_id = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if name is not None:
            self.name = name
        if created_at is not None:
            self.created_at = created_at
        if updated_at is not None:
            self.updated_at = updated_at
        if url is not None:
            self.url = url
        if server_side_encryption is not None:
            self.server_side_encryption = server_side_encryption
        if outputs_path_format is not None:
            self.outputs_path_format = outputs_path_format
        if store_id is not None:
            self.store_id = store_id
Esempio n. 14
0
    def __init__(self,
                 source_url=None,
                 profiles=None,
                 payload=None,
                 pipeline=None,
                 subtitle_files=None,
                 extra_files=None,
                 extra_variables=None,
                 path_format=None,
                 clip_end=None,
                 clip_length=None,
                 clip_offset=None,
                 starting_timecode=None,
                 store_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """CreateVideoBody - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._source_url = None
        self._profiles = None
        self._payload = None
        self._pipeline = None
        self._subtitle_files = None
        self._extra_files = None
        self._extra_variables = None
        self._path_format = None
        self._clip_end = None
        self._clip_length = None
        self._clip_offset = None
        self._starting_timecode = None
        self._store_id = None
        self.discriminator = None

        if source_url is not None:
            self.source_url = source_url
        if profiles is not None:
            self.profiles = profiles
        if payload is not None:
            self.payload = payload
        if pipeline is not None:
            self.pipeline = pipeline
        if subtitle_files is not None:
            self.subtitle_files = subtitle_files
        if extra_files is not None:
            self.extra_files = extra_files
        if extra_variables is not None:
            self.extra_variables = extra_variables
        if path_format is not None:
            self.path_format = path_format
        if clip_end is not None:
            self.clip_end = clip_end
        if clip_length is not None:
            self.clip_length = clip_length
        if clip_offset is not None:
            self.clip_offset = clip_offset
        if starting_timecode is not None:
            self.starting_timecode = starting_timecode
        if store_id is not None:
            self.store_id = store_id
Esempio n. 15
0
    def __init__(self,
                 id=None,
                 audio_bitrate=None,
                 audio_channels=None,
                 audio_codec=None,
                 audio_sample_rate=None,
                 created_at=None,
                 duration=None,
                 encoding_progress=None,
                 encoding_time=None,
                 error_class=None,
                 error_message=None,
                 external_id=None,
                 extname=None,
                 file_size=None,
                 files=None,
                 fps=None,
                 height=None,
                 width=None,
                 logfile_url=None,
                 mime_type=None,
                 parent_encoding_id=None,
                 path=None,
                 profile_id=None,
                 profile_name=None,
                 screenshots=None,
                 started_encoding_at=None,
                 status=None,
                 updated_at=None,
                 video_bitrate=None,
                 video_codec=None,
                 video_id=None,
                 local_vars_configuration=None):  # noqa: E501
        """Encoding - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._audio_bitrate = None
        self._audio_channels = None
        self._audio_codec = None
        self._audio_sample_rate = None
        self._created_at = None
        self._duration = None
        self._encoding_progress = None
        self._encoding_time = None
        self._error_class = None
        self._error_message = None
        self._external_id = None
        self._extname = None
        self._file_size = None
        self._files = None
        self._fps = None
        self._height = None
        self._width = None
        self._logfile_url = None
        self._mime_type = None
        self._parent_encoding_id = None
        self._path = None
        self._profile_id = None
        self._profile_name = None
        self._screenshots = None
        self._started_encoding_at = None
        self._status = None
        self._updated_at = None
        self._video_bitrate = None
        self._video_codec = None
        self._video_id = None
        self.discriminator = None

        if id is not None:
            self.id = id
        self.audio_bitrate = audio_bitrate
        self.audio_channels = audio_channels
        self.audio_codec = audio_codec
        self.audio_sample_rate = audio_sample_rate
        if created_at is not None:
            self.created_at = created_at
        self.duration = duration
        self.encoding_progress = encoding_progress
        self.encoding_time = encoding_time
        self.error_class = error_class
        self.error_message = error_message
        self.external_id = external_id
        self.extname = extname
        self.file_size = file_size
        if files is not None:
            self.files = files
        self.fps = fps
        self.height = height
        self.width = width
        self.logfile_url = logfile_url
        self.mime_type = mime_type
        self.parent_encoding_id = parent_encoding_id
        self.path = path
        if profile_id is not None:
            self.profile_id = profile_id
        self.profile_name = profile_name
        if screenshots is not None:
            self.screenshots = screenshots
        self.started_encoding_at = started_encoding_at
        if status is not None:
            self.status = status
        if updated_at is not None:
            self.updated_at = updated_at
        self.video_bitrate = video_bitrate
        self.video_codec = video_codec
        if video_id is not None:
            self.video_id = video_id
Esempio n. 16
0
    def __init__(self, id=None, audio_bitrate=None, audio_channels=None, audio_codec=None, audio_sample_rate=None, created_at=None, duration=None, encodings_count=None, error_class=None, error_message=None, extname=None, file_size=None, fps=None, height=None, width=None, mime_type=None, original_filename=None, path=None, payload=None, source_url=None, status=None, updated_at=None, video_bitrate=None, video_codec=None, local_vars_configuration=None):  # noqa: E501
        """Video - a model defined in OpenAPI"""  # noqa: E501
        if local_vars_configuration is None:
            local_vars_configuration = Configuration()
        self.local_vars_configuration = local_vars_configuration

        self._id = None
        self._audio_bitrate = None
        self._audio_channels = None
        self._audio_codec = None
        self._audio_sample_rate = None
        self._created_at = None
        self._duration = None
        self._encodings_count = None
        self._error_class = None
        self._error_message = None
        self._extname = None
        self._file_size = None
        self._fps = None
        self._height = None
        self._width = None
        self._mime_type = None
        self._original_filename = None
        self._path = None
        self._payload = None
        self._source_url = None
        self._status = None
        self._updated_at = None
        self._video_bitrate = None
        self._video_codec = None
        self.discriminator = None

        if id is not None:
            self.id = id
        self.audio_bitrate = audio_bitrate
        self.audio_channels = audio_channels
        self.audio_codec = audio_codec
        self.audio_sample_rate = audio_sample_rate
        if created_at is not None:
            self.created_at = created_at
        self.duration = duration
        if encodings_count is not None:
            self.encodings_count = encodings_count
        self.error_class = error_class
        self.error_message = error_message
        self.extname = extname
        self.file_size = file_size
        self.fps = fps
        self.height = height
        self.width = width
        self.mime_type = mime_type
        self.original_filename = original_filename
        if path is not None:
            self.path = path
        self.payload = payload
        self.source_url = source_url
        if status is not None:
            self.status = status
        if updated_at is not None:
            self.updated_at = updated_at
        self.video_bitrate = video_bitrate
        self.video_codec = video_codec