def __init__(self, api_version=None, code=None, details=None, kind=None, message=None, metadata=None, reason=None, status=None, local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1Status - 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._api_version = None
        self._code = None
        self._details = None
        self._kind = None
        self._message = None
        self._metadata = None
        self._reason = None
        self._status = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        if code is not None:
            self.code = code
        if details is not None:
            self.details = details
        if kind is not None:
            self.kind = kind
        if message is not None:
            self.message = message
        if metadata is not None:
            self.metadata = metadata
        if reason is not None:
            self.reason = reason
        if status is not None:
            self.status = status
Пример #2
0
    def __init__(self,
                 api_version=None,
                 kind=None,
                 metadata=None,
                 spec=None,
                 status=None,
                 local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1Advisory - 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._api_version = None
        self._kind = None
        self._metadata = None
        self._spec = None
        self._status = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        if kind is not None:
            self.kind = kind
        if metadata is not None:
            self.metadata = metadata
        if spec is not None:
            self.spec = spec
        if status is not None:
            self.status = status
    def __init__(self,
                 _continue=None,
                 remaining_item_count=None,
                 resource_version=None,
                 self_link=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1ListMeta - 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.__continue = None
        self._remaining_item_count = None
        self._resource_version = None
        self._self_link = None
        self.discriminator = None

        if _continue is not None:
            self._continue = _continue
        if remaining_item_count is not None:
            self.remaining_item_count = remaining_item_count
        if resource_version is not None:
            self.resource_version = resource_version
        if self_link is not None:
            self.self_link = self_link
Пример #4
0
    def __init__(self,
                 impetus=None,
                 instance=None,
                 number=None,
                 release_name=None,
                 local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1AdvisorySpec - 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._impetus = None
        self._instance = None
        self._number = None
        self._release_name = None
        self.discriminator = None

        if impetus is not None:
            self.impetus = impetus
        if instance is not None:
            self.instance = instance
        if number is not None:
            self.number = number
        if release_name is not None:
            self.release_name = release_name
Пример #5
0
    def __init__(self,
                 api_version=None,
                 block_owner_deletion=None,
                 controller=None,
                 kind=None,
                 name=None,
                 uid=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1OwnerReference - 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._api_version = None
        self._block_owner_deletion = None
        self._controller = None
        self._kind = None
        self._name = None
        self._uid = None
        self.discriminator = None

        self.api_version = api_version
        if block_owner_deletion is not None:
            self.block_owner_deletion = block_owner_deletion
        if controller is not None:
            self.controller = controller
        self.kind = kind
        self.name = name
        self.uid = uid
    def __init__(self,
                 instance=None,
                 name=None,
                 nvr=None,
                 release=None,
                 target=None,
                 task_number=None,
                 version=None,
                 local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1BrewBuild - 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._instance = None
        self._name = None
        self._nvr = None
        self._release = None
        self._target = None
        self._task_number = None
        self._version = None
        self.discriminator = None

        if instance is not None:
            self.instance = instance
        self.name = name
        if nvr is not None:
            self.nvr = nvr
        self.release = release
        if target is not None:
            self.target = target
        if task_number is not None:
            self.task_number = task_number
        self.version = version
    def __init__(self,
                 dist_git=None,
                 image=None,
                 kind=None,
                 source=None,
                 local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1ComponentSpec - 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._dist_git = None
        self._image = None
        self._kind = None
        self._source = None
        self.discriminator = None

        if dist_git is not None:
            self.dist_git = dist_git
        if image is not None:
            self.image = image
        if kind is not None:
            self.kind = kind
        if source is not None:
            self.source = source
    def __init__(self,
                 api_version=None,
                 kind=None,
                 name=None,
                 preferred_version=None,
                 server_address_by_client_cid_rs=None,
                 versions=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1APIGroup - 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._api_version = None
        self._kind = None
        self._name = None
        self._preferred_version = None
        self._server_address_by_client_cid_rs = None
        self._versions = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        if kind is not None:
            self.kind = kind
        self.name = name
        if preferred_version is not None:
            self.preferred_version = preferred_version
        if server_address_by_client_cid_rs is not None:
            self.server_address_by_client_cid_rs = server_address_by_client_cid_rs
        self.versions = versions
    def __init__(self, causes=None, group=None, kind=None, name=None, retry_after_seconds=None, uid=None, local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1StatusDetails - 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._causes = None
        self._group = None
        self._kind = None
        self._name = None
        self._retry_after_seconds = None
        self._uid = None
        self.discriminator = None

        if causes is not None:
            self.causes = causes
        if group is not None:
            self.group = group
        if kind is not None:
            self.kind = kind
        if name is not None:
            self.name = name
        if retry_after_seconds is not None:
            self.retry_after_seconds = retry_after_seconds
        if uid is not None:
            self.uid = uid
    def __init__(self,
                 api_version=None,
                 fields_type=None,
                 fields_v1=None,
                 manager=None,
                 operation=None,
                 time=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1ManagedFieldsEntry - 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._api_version = None
        self._fields_type = None
        self._fields_v1 = None
        self._manager = None
        self._operation = None
        self._time = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        if fields_type is not None:
            self.fields_type = fields_type
        if fields_v1 is not None:
            self.fields_v1 = fields_v1
        if manager is not None:
            self.manager = manager
        if operation is not None:
            self.operation = operation
        if time is not None:
            self.time = time
Пример #11
0
    def __init__(self, annotations=None, cluster_name=None, creation_timestamp=None, deletion_grace_period_seconds=None, deletion_timestamp=None, finalizers=None, generate_name=None, generation=None, labels=None, managed_fields=None, name=None, namespace=None, owner_references=None, resource_version=None, self_link=None, uid=None, local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1ObjectMeta - 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._annotations = None
        self._cluster_name = None
        self._creation_timestamp = None
        self._deletion_grace_period_seconds = None
        self._deletion_timestamp = None
        self._finalizers = None
        self._generate_name = None
        self._generation = None
        self._labels = None
        self._managed_fields = None
        self._name = None
        self._namespace = None
        self._owner_references = None
        self._resource_version = None
        self._self_link = None
        self._uid = None
        self.discriminator = None

        if annotations is not None:
            self.annotations = annotations
        if cluster_name is not None:
            self.cluster_name = cluster_name
        if creation_timestamp is not None:
            self.creation_timestamp = creation_timestamp
        if deletion_grace_period_seconds is not None:
            self.deletion_grace_period_seconds = deletion_grace_period_seconds
        if deletion_timestamp is not None:
            self.deletion_timestamp = deletion_timestamp
        if finalizers is not None:
            self.finalizers = finalizers
        if generate_name is not None:
            self.generate_name = generate_name
        if generation is not None:
            self.generation = generation
        if labels is not None:
            self.labels = labels
        if managed_fields is not None:
            self.managed_fields = managed_fields
        if name is not None:
            self.name = name
        if namespace is not None:
            self.namespace = namespace
        if owner_references is not None:
            self.owner_references = owner_references
        if resource_version is not None:
            self.resource_version = resource_version
        if self_link is not None:
            self.self_link = self_link
        if uid is not None:
            self.uid = uid
    def __init__(self, git=None, local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1ReleaseStreamOcpBuildData - 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._git = None
        self.discriminator = None

        if git is not None:
            self.git = git
    def __init__(self, namespace=None, repository=None, local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1ComponentImage - 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._namespace = None
        self._repository = None
        self.discriminator = None

        self.namespace = namespace
        self.repository = repository
Пример #14
0
    def __init__(self, object=None, type=None, local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1WatchEvent - 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._object = None
        self._type = None
        self.discriminator = None

        self.object = object
        self.type = type
    def __init__(self, commit_hash=None, component_name=None, local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1SourceRevisionSpec - 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._commit_hash = None
        self._component_name = None
        self.discriminator = None

        if commit_hash is not None:
            self.commit_hash = commit_hash
        self.component_name = component_name
    def __init__(self,
                 build_url=None,
                 local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1BuildJenkinsInfo - 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._build_url = None
        self.discriminator = None

        if build_url is not None:
            self.build_url = build_url
Пример #17
0
    def __init__(self,
                 ocp_build_data=None,
                 local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1ReleaseStreamSpec - 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._ocp_build_data = None
        self.discriminator = None

        if ocp_build_data is not None:
            self.ocp_build_data = ocp_build_data
Пример #18
0
    def __init__(self, path=None, ref=None, url=None, local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1OcpBuildDataGitSource - 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._path = None
        self._ref = None
        self._url = None
        self.discriminator = None

        if path is not None:
            self.path = path
        self.ref = ref
        self.url = url
    def __init__(self,
                 release_stream_name=None,
                 version=None,
                 local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1ReleaseSpec - 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._release_stream_name = None
        self._version = None
        self.discriminator = None

        self.release_stream_name = release_stream_name
        self.version = version
    def __init__(self,
                 group_version=None,
                 version=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1GroupVersionForDiscovery - 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._group_version = None
        self._version = None
        self.discriminator = None

        self.group_version = group_version
        self.version = version
Пример #21
0
    def __init__(self,
                 resource_version=None,
                 uid=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1Preconditions - 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._resource_version = None
        self._uid = None
        self.discriminator = None

        if resource_version is not None:
            self.resource_version = resource_version
        if uid is not None:
            self.uid = uid
Пример #22
0
    def __init__(self,
                 categories=None,
                 group=None,
                 kind=None,
                 name=None,
                 namespaced=None,
                 short_names=None,
                 singular_name=None,
                 storage_version_hash=None,
                 verbs=None,
                 version=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1APIResource - 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._categories = None
        self._group = None
        self._kind = None
        self._name = None
        self._namespaced = None
        self._short_names = None
        self._singular_name = None
        self._storage_version_hash = None
        self._verbs = None
        self._version = None
        self.discriminator = None

        if categories is not None:
            self.categories = categories
        if group is not None:
            self.group = group
        self.kind = kind
        self.name = name
        self.namespaced = namespaced
        if short_names is not None:
            self.short_names = short_names
        self.singular_name = singular_name
        if storage_version_hash is not None:
            self.storage_version_hash = storage_version_hash
        self.verbs = verbs
        if version is not None:
            self.version = version
    def __init__(self, api_version=None, items=None, kind=None, metadata=None, local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1ComponentList - 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._api_version = None
        self._items = None
        self._kind = None
        self._metadata = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        self.items = items
        if kind is not None:
            self.kind = kind
        if metadata is not None:
            self.metadata = metadata
Пример #24
0
    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/0.0.2/python'
        self.client_side_validation = configuration.client_side_validation
    def __init__(self,
                 api_version=None,
                 groups=None,
                 kind=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1APIGroupList - 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._api_version = None
        self._groups = None
        self._kind = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        self.groups = groups
        if kind is not None:
            self.kind = kind
    def __init__(self,
                 field=None,
                 message=None,
                 reason=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1StatusCause - 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._field = None
        self._message = None
        self._reason = None
        self.discriminator = None

        if field is not None:
            self.field = field
        if message is not None:
            self.message = message
        if reason is not None:
            self.reason = reason
    def __init__(self,
                 major=None,
                 minor=None,
                 patch=None,
                 pre_release=None,
                 local_vars_configuration=None):  # noqa: E501
        """ComGithubVfreexReleaseApiserverPkgApisArtV1alpha1ReleaseVersion - 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._major = None
        self._minor = None
        self._patch = None
        self._pre_release = None
        self.discriminator = None

        self.major = major
        self.minor = minor
        self.patch = patch
        if pre_release is not None:
            self.pre_release = pre_release
Пример #28
0
    def __init__(self,
                 api_version=None,
                 dry_run=None,
                 grace_period_seconds=None,
                 kind=None,
                 orphan_dependents=None,
                 preconditions=None,
                 propagation_policy=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgApisMetaV1DeleteOptions - 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._api_version = None
        self._dry_run = None
        self._grace_period_seconds = None
        self._kind = None
        self._orphan_dependents = None
        self._preconditions = None
        self._propagation_policy = None
        self.discriminator = None

        if api_version is not None:
            self.api_version = api_version
        if dry_run is not None:
            self.dry_run = dry_run
        if grace_period_seconds is not None:
            self.grace_period_seconds = grace_period_seconds
        if kind is not None:
            self.kind = kind
        if orphan_dependents is not None:
            self.orphan_dependents = orphan_dependents
        if preconditions is not None:
            self.preconditions = preconditions
        if propagation_policy is not None:
            self.propagation_policy = propagation_policy
    def __init__(self,
                 build_date=None,
                 compiler=None,
                 git_commit=None,
                 git_tree_state=None,
                 git_version=None,
                 go_version=None,
                 major=None,
                 minor=None,
                 platform=None,
                 local_vars_configuration=None):  # noqa: E501
        """IoK8sApimachineryPkgVersionInfo - 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._build_date = None
        self._compiler = None
        self._git_commit = None
        self._git_tree_state = None
        self._git_version = None
        self._go_version = None
        self._major = None
        self._minor = None
        self._platform = None
        self.discriminator = None

        self.build_date = build_date
        self.compiler = compiler
        self.git_commit = git_commit
        self.git_tree_state = git_tree_state
        self.git_version = git_version
        self.go_version = go_version
        self.major = major
        self.minor = minor
        self.platform = platform