Пример #1
0
    def __init__(self,
                 container=None,
                 exit_code=None,
                 finished_at=None,
                 reason=None,
                 started_at=None,
                 state=None,
                 local_vars_configuration=None):  # noqa: E501
        """InspectionStatusBuild - 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._container = None
        self._exit_code = None
        self._finished_at = None
        self._reason = None
        self._started_at = None
        self._state = None
        self.discriminator = None

        self.container = container
        self.exit_code = exit_code
        self.finished_at = finished_at
        self.reason = reason
        self.started_at = started_at
        self.state = state
Пример #2
0
    def __init__(self,
                 exit_code=None,
                 hwinfo=None,
                 os_release=None,
                 runtime_environment=None,
                 script_sha256=None,
                 stderr=None,
                 stdout=None,
                 usage=None,
                 local_vars_configuration=None):  # noqa: E501
        """InspectionJobLogsResponseLogs - 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._exit_code = None
        self._hwinfo = None
        self._os_release = None
        self._runtime_environment = None
        self._script_sha256 = None
        self._stderr = None
        self._stdout = None
        self._usage = None
        self.discriminator = None

        self.exit_code = exit_code
        self.hwinfo = hwinfo
        self.os_release = os_release
        self.runtime_environment = runtime_environment
        self.script_sha256 = script_sha256
        self.stderr = stderr
        self.stdout = stdout
        self.usage = usage
    def __init__(self,
                 base=None,
                 batch_size=1,
                 build=None,
                 environment=None,
                 files=None,
                 identifier=None,
                 package_manager='micropipenv',
                 packages=None,
                 python=None,
                 python_packages=None,
                 run=None,
                 script=None,
                 update=None,
                 local_vars_configuration=None):  # noqa: E501
        """InspectionSpecification - 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._base = None
        self._batch_size = None
        self._build = None
        self._environment = None
        self._files = None
        self._identifier = None
        self._package_manager = None
        self._packages = None
        self._python = None
        self._python_packages = None
        self._run = None
        self._script = None
        self._update = None
        self.discriminator = None

        self.base = base
        if batch_size is not None:
            self.batch_size = batch_size
        if build is not None:
            self.build = build
        if environment is not None:
            self.environment = environment
        if files is not None:
            self.files = files
        if identifier is not None:
            self.identifier = identifier
        if package_manager is not None:
            self.package_manager = package_manager
        if packages is not None:
            self.packages = packages
        if python is not None:
            self.python = python
        if python_packages is not None:
            self.python_packages = python_packages
        if run is not None:
            self.run = run
        if script is not None:
            self.script = script
        if update is not None:
            self.update = update
Пример #4
0
    def __init__(self, parameters=None, status=None, local_vars_configuration=None):  # noqa: E501
        """InspectionStatusResponse - 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._parameters = None
        self._status = None
        self.discriminator = None

        self.parameters = parameters
        self.status = status
    def __init__(self, content=None, path=None, local_vars_configuration=None):  # noqa: E501
        """InspectionSpecificationFiles - 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._content = None
        self._path = None
        self.discriminator = None

        self.content = content
        self.path = path
Пример #6
0
    def __init__(self, error=None, parameters=None, local_vars_configuration=None):  # noqa: E501
        """InspectionResponseError - 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._parameters = None
        self.discriminator = None

        self.error = error
        self.parameters = parameters
Пример #7
0
    def __init__(self, version=None, service_version=None, local_vars_configuration=None):  # noqa: E501
        """VersionResponse - 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._version = None
        self._service_version = None
        self.discriminator = None

        self.version = version
        self.service_version = service_version
    def __init__(self, requirements=None, requirements_locked=None, local_vars_configuration=None):  # noqa: E501
        """InspectionSpecificationPython - 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._requirements = None
        self._requirements_locked = None
        self.discriminator = None

        self.requirements = requirements
        self.requirements_locked = requirements_locked
Пример #9
0
    def __init__(self, log=None, parameters=None, local_vars_configuration=None):  # noqa: E501
        """InspectionBuildLogResponse - 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._log = None
        self._parameters = None
        self.discriminator = None

        self.log = log
        self.parameters = parameters
Пример #10
0
    def __init__(self, name=None, value=None, local_vars_configuration=None):  # noqa: E501
        """InspectionSpecificationEnvironment - 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._name = None
        self._value = None
        self.discriminator = None

        self.name = name
        self.value = value
Пример #11
0
    def __init__(self,
                 requests=None,
                 local_vars_configuration=None):  # noqa: E501
        """InspectionSpecificationBuild - 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._requests = None
        self.discriminator = None

        if requests is not None:
            self.requests = requests
Пример #12
0
    def __init__(self, build=None, data_stored=None, workflow=None, local_vars_configuration=None):  # noqa: E501
        """InspectionStatus - 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 = None
        self._data_stored = None
        self._workflow = None
        self.discriminator = None

        self.build = build
        self.data_stored = data_stored
        self.workflow = workflow
Пример #13
0
    def __init__(self, build_number=None, major=None, minor=None, local_vars_configuration=None):  # noqa: E501
        """InspectionResultResponseMetadataDistributionVersionParts - 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_number = None
        self._major = None
        self._minor = None
        self.discriminator = None

        self.build_number = build_number
        self.major = major
        self.minor = minor
Пример #14
0
    def __init__(self, created=None, parameters=None, specification=None, local_vars_configuration=None):  # noqa: E501
        """InspectionSpecificationResponse - 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._created = None
        self._parameters = None
        self._specification = None
        self.discriminator = None

        self.created = created
        self.parameters = parameters
        self.specification = specification
    def __init__(self,
                 dockerfile=None,
                 parameters=None,
                 local_vars_configuration=None):  # noqa: E501
        """InspectionGenerateDockerfileResponse - 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._dockerfile = None
        self._parameters = None
        self.discriminator = None

        self.dockerfile = dockerfile
        self.parameters = parameters
Пример #16
0
    def __init__(self,
                 batch_size=None,
                 parameters=None,
                 local_vars_configuration=None):  # noqa: E501
        """InspectionJobBatchSizeResponse - 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._batch_size = None
        self._parameters = None
        self.discriminator = None

        self.batch_size = batch_size
        self.parameters = parameters
Пример #17
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/0.0.1/python'
        self.client_side_validation = configuration.client_side_validation
Пример #18
0
    def __init__(self,
                 result=None,
                 parameters=None,
                 local_vars_configuration=None):  # noqa: E501
        """InspectionJobResultResponse - 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._result = None
        self._parameters = None
        self.discriminator = None

        self.result = result
        self.parameters = parameters
    def __init__(self,
                 metadata=None,
                 result=None,
                 local_vars_configuration=None):  # noqa: E501
        """InspectionResultResponse - 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._metadata = None
        self._result = None
        self.discriminator = None

        self.metadata = metadata
        self.result = result
Пример #20
0
    def __init__(self,
                 configuration=None,
                 header_name=None,
                 header_value=None,
                 cookie=None):
        if configuration is None:
            configuration = Configuration()
        self.configuration = configuration

        self._pool = None  # Use the pool property to lazily initialize the ThreadPool.
        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 = 'Swagger-Codegen/0.0.1/python'
Пример #21
0
    def __init__(self, inspection_id=None, parameters=None, workflow_id=None, workflow_target=None, local_vars_configuration=None):  # noqa: E501
        """InspectionResponse - 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._inspection_id = None
        self._parameters = None
        self._workflow_id = None
        self._workflow_target = None
        self.discriminator = None

        self.inspection_id = inspection_id
        self.parameters = parameters
        if workflow_id is not None:
            self.workflow_id = workflow_id
        if workflow_target is not None:
            self.workflow_target = workflow_target
Пример #22
0
    def __init__(self, codename=None, id=None, like=None, version=None, version_parts=None, local_vars_configuration=None):  # noqa: E501
        """InspectionResultResponseMetadataDistribution - 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._codename = None
        self._id = None
        self._like = None
        self._version = None
        self._version_parts = None
        self.discriminator = None

        self.codename = codename
        self.id = id
        self.like = like
        self.version = version
        self.version_parts = version_parts
    def __init__(self,
                 cpu=None,
                 memory=None,
                 hardware=None,
                 local_vars_configuration=None):  # noqa: E501
        """InspectionSpecificationRunRequests - 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._cpu = None
        self._memory = None
        self._hardware = None
        self.discriminator = None

        if cpu is not None:
            self.cpu = cpu
        if memory is not None:
            self.memory = memory
        if hardware is not None:
            self.hardware = hardware
Пример #24
0
    def __init__(self,
                 cpu_family=None,
                 cpu_model=None,
                 physical_cpus=None,
                 processor=None,
                 local_vars_configuration=None):  # noqa: E501
        """InspectionSpecificationRunRequestsHardware - 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._cpu_family = None
        self._cpu_model = None
        self._physical_cpus = None
        self._processor = None
        self.discriminator = None

        self.cpu_family = cpu_family
        self.cpu_model = cpu_model
        if physical_cpus is not None:
            self.physical_cpus = physical_cpus
        self.processor = processor
    def __init__(self, analyzer=None, analyzer_version=None, arguments=None, datetime=None, distribution=None, hostname=None, python=None, local_vars_configuration=None):  # noqa: E501
        """InspectionResultResponseMetadata - 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._analyzer = None
        self._analyzer_version = None
        self._arguments = None
        self._datetime = None
        self._distribution = None
        self._hostname = None
        self._python = None
        self.discriminator = None

        self.analyzer = analyzer
        self.analyzer_version = analyzer_version
        self.arguments = arguments
        self.datetime = datetime
        self.distribution = distribution
        self.hostname = hostname
        self.python = python