| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3.9/site-packages/oci/media_services/models/ |
Upload File : |
# coding: utf-8
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20211101
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@init_model_state_from_kwargs
class MediaWorkflowTaskDeclaration(object):
"""
The declaration of a type of task that can be used in a MediaWorkflow.
"""
def __init__(self, **kwargs):
"""
Initializes a new MediaWorkflowTaskDeclaration object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param name:
The value to assign to the name property of this MediaWorkflowTaskDeclaration.
:type name: str
:param version:
The value to assign to the version property of this MediaWorkflowTaskDeclaration.
:type version: int
:param parameters_schema:
The value to assign to the parameters_schema property of this MediaWorkflowTaskDeclaration.
:type parameters_schema: dict(str, object)
:param parameters_schema_allowing_references:
The value to assign to the parameters_schema_allowing_references property of this MediaWorkflowTaskDeclaration.
:type parameters_schema_allowing_references: dict(str, object)
:param locks:
The value to assign to the locks property of this MediaWorkflowTaskDeclaration.
:type locks: list[oci.media_services.models.ResourceLock]
"""
self.swagger_types = {
'name': 'str',
'version': 'int',
'parameters_schema': 'dict(str, object)',
'parameters_schema_allowing_references': 'dict(str, object)',
'locks': 'list[ResourceLock]'
}
self.attribute_map = {
'name': 'name',
'version': 'version',
'parameters_schema': 'parametersSchema',
'parameters_schema_allowing_references': 'parametersSchemaAllowingReferences',
'locks': 'locks'
}
self._name = None
self._version = None
self._parameters_schema = None
self._parameters_schema_allowing_references = None
self._locks = None
@property
def name(self):
"""
**[Required]** Gets the name of this MediaWorkflowTaskDeclaration.
MediaWorkflowTaskDeclaration identifier. The name and version should be unique among
MediaWorkflowTaskDeclarations.
:return: The name of this MediaWorkflowTaskDeclaration.
:rtype: str
"""
return self._name
@name.setter
def name(self, name):
"""
Sets the name of this MediaWorkflowTaskDeclaration.
MediaWorkflowTaskDeclaration identifier. The name and version should be unique among
MediaWorkflowTaskDeclarations.
:param name: The name of this MediaWorkflowTaskDeclaration.
:type: str
"""
self._name = name
@property
def version(self):
"""
**[Required]** Gets the version of this MediaWorkflowTaskDeclaration.
The version of MediaWorkflowTaskDeclaration, incremented whenever the team implementing the task processor
modifies the JSON schema of this declaration's definitions, parameters or list of required parameters.
:return: The version of this MediaWorkflowTaskDeclaration.
:rtype: int
"""
return self._version
@version.setter
def version(self, version):
"""
Sets the version of this MediaWorkflowTaskDeclaration.
The version of MediaWorkflowTaskDeclaration, incremented whenever the team implementing the task processor
modifies the JSON schema of this declaration's definitions, parameters or list of required parameters.
:param version: The version of this MediaWorkflowTaskDeclaration.
:type: int
"""
self._version = version
@property
def parameters_schema(self):
"""
**[Required]** Gets the parameters_schema of this MediaWorkflowTaskDeclaration.
JSON schema specifying the parameters supported by this type of task. This is used to validate tasks'
parameters when jobs are created.
:return: The parameters_schema of this MediaWorkflowTaskDeclaration.
:rtype: dict(str, object)
"""
return self._parameters_schema
@parameters_schema.setter
def parameters_schema(self, parameters_schema):
"""
Sets the parameters_schema of this MediaWorkflowTaskDeclaration.
JSON schema specifying the parameters supported by this type of task. This is used to validate tasks'
parameters when jobs are created.
:param parameters_schema: The parameters_schema of this MediaWorkflowTaskDeclaration.
:type: dict(str, object)
"""
self._parameters_schema = parameters_schema
@property
def parameters_schema_allowing_references(self):
"""
**[Required]** Gets the parameters_schema_allowing_references of this MediaWorkflowTaskDeclaration.
JSON schema similar to the parameterSchema, but permits parameter values to refer to other parameters using the
${/path/to/another/parmeter} syntax. This is used to validate task parameters when workflows are created.
:return: The parameters_schema_allowing_references of this MediaWorkflowTaskDeclaration.
:rtype: dict(str, object)
"""
return self._parameters_schema_allowing_references
@parameters_schema_allowing_references.setter
def parameters_schema_allowing_references(self, parameters_schema_allowing_references):
"""
Sets the parameters_schema_allowing_references of this MediaWorkflowTaskDeclaration.
JSON schema similar to the parameterSchema, but permits parameter values to refer to other parameters using the
${/path/to/another/parmeter} syntax. This is used to validate task parameters when workflows are created.
:param parameters_schema_allowing_references: The parameters_schema_allowing_references of this MediaWorkflowTaskDeclaration.
:type: dict(str, object)
"""
self._parameters_schema_allowing_references = parameters_schema_allowing_references
@property
def locks(self):
"""
Gets the locks of this MediaWorkflowTaskDeclaration.
Locks associated with this resource.
:return: The locks of this MediaWorkflowTaskDeclaration.
:rtype: list[oci.media_services.models.ResourceLock]
"""
return self._locks
@locks.setter
def locks(self, locks):
"""
Sets the locks of this MediaWorkflowTaskDeclaration.
Locks associated with this resource.
:param locks: The locks of this MediaWorkflowTaskDeclaration.
:type: list[oci.media_services.models.ResourceLock]
"""
self._locks = locks
def __repr__(self):
return formatted_flat_dict(self)
def __eq__(self, other):
if other is None:
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
return not self == other