Exemplo n.º 1
0
    def __init__(self,
                 type=None,
                 id=None,
                 identifier=None,
                 source=None,
                 target=None,
                 local_vars_configuration=None):  # noqa: E501
        """Relationship - 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._type = None
        self._id = None
        self._identifier = None
        self._source = None
        self._target = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if id is not None:
            self.id = id
        if identifier is not None:
            self.identifier = identifier
        if source is not None:
            self.source = source
        if target is not None:
            self.target = target
Exemplo n.º 2
0
    def __init__(self,
                 id=None,
                 type=None,
                 default_branch=None,
                 description=None,
                 name=None,
                 local_vars_configuration=None):  # noqa: E501
        """Project - 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._type = None
        self._default_branch = None
        self._description = None
        self._name = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if type is not None:
            self.type = type
        if default_branch is not None:
            self.default_branch = default_branch
        if description is not None:
            self.description = description
        if name is not None:
            self.name = name
    def __init__(self,
                 type=None,
                 inverse=None,
                 _property=None,
                 value=None,
                 operator=None,
                 local_vars_configuration=None):  # noqa: E501
        """PrimitiveConstraint - 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._type = None
        self._inverse = None
        self.__property = None
        self._value = None
        self._operator = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if inverse is not None:
            self.inverse = inverse
        if _property is not None:
            self._property = _property
        if value is not None:
            self.value = value
        if operator is not None:
            self.operator = operator
Exemplo n.º 4
0
    def __init__(self,
                 id=None,
                 type=None,
                 payload=None,
                 identity=None,
                 local_vars_configuration=None):  # noqa: E501
        """DataVersion - 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._type = None
        self._payload = None
        self._identity = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if type is not None:
            self.type = type
        if payload is not None:
            self.payload = payload
        if identity is not None:
            self.identity = identity
Exemplo n.º 5
0
    def __init__(self,
                 type=None,
                 change=None,
                 containing_project=None,
                 id=None,
                 previous_commit=None,
                 local_vars_configuration=None):  # noqa: E501
        """Commit - 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._type = None
        self._change = None
        self._containing_project = None
        self._id = None
        self._previous_commit = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if change is not None:
            self.change = change
        if containing_project is not None:
            self.containing_project = containing_project
        if id is not None:
            self.id = id
        if previous_commit is not None:
            self.previous_commit = previous_commit
Exemplo n.º 6
0
    def __init__(self,
                 type=None,
                 containing_project=None,
                 id=None,
                 scope=None,
                 select=None,
                 where=None,
                 local_vars_configuration=None):  # noqa: E501
        """Query - 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._type = None
        self._containing_project = None
        self._id = None
        self._scope = None
        self._select = None
        self._where = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if containing_project is not None:
            self.containing_project = containing_project
        if id is not None:
            self.id = id
        if scope is not None:
            self.scope = scope
        if select is not None:
            self.select = select
        if where is not None:
            self.where = where
    def __init__(self, type=None, local_vars_configuration=None):  # noqa: E501
        """Constraint - 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._type = None
        self.discriminator = 'type'

        self.type = type
Exemplo n.º 8
0
    def __init__(self, id=None, local_vars_configuration=None):  # noqa: E501
        """CommitContainingProject - 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.discriminator = None

        if id is not None:
            self.id = id
Exemplo n.º 9
0
    def __init__(self,
                 error=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.discriminator = None

        if error is not None:
            self.error = error
    def __init__(self, configuration=None, header_name=None, header_value=None,
                 cookie=None, pool_threads=1):
        if configuration is None:
            configuration = Configuration.get_default_copy()
        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/2021-09/python'
        self.client_side_validation = configuration.client_side_validation
    def __init__(self,
                 id=None,
                 type=None,
                 local_vars_configuration=None):  # noqa: E501
        """Data - 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._type = None
        self.discriminator = 'type'

        if id is not None:
            self.id = id
        self.type = type
    def __init__(self,
                 type=None,
                 id=None,
                 local_vars_configuration=None):  # noqa: E501
        """ElementIdentity - 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._type = None
        self._id = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if id is not None:
            self.id = id
Exemplo n.º 13
0
    def __init__(self,
                 type=None,
                 constraint=None,
                 operator=None,
                 local_vars_configuration=None):  # noqa: E501
        """CompositeConstraint - 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._type = None
        self._constraint = None
        self._operator = None
        self.discriminator = None

        if type is not None:
            self.type = type
        if constraint is not None:
            self.constraint = constraint
        if operator is not None:
            self.operator = operator
    def __init__(self,
                 id=None,
                 type=None,
                 name=None,
                 owning_project=None,
                 referenced_commit=None,
                 tagged_commit=None,
                 timestamp=None,
                 local_vars_configuration=None):  # noqa: E501
        """Tag - 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._type = None
        self._name = None
        self._owning_project = None
        self._referenced_commit = None
        self._tagged_commit = None
        self._timestamp = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if type is not None:
            self.type = type
        if name is not None:
            self.name = name
        if owning_project is not None:
            self.owning_project = owning_project
        if referenced_commit is not None:
            self.referenced_commit = referenced_commit
        if tagged_commit is not None:
            self.tagged_commit = tagged_commit
        if timestamp is not None:
            self.timestamp = timestamp