Example #1
0
    def __init__(self,
                 jobsets=None,
                 projects=None,
                 builds=None,
                 buildsdrv=None,
                 local_vars_configuration=None):  # noqa: E501
        """SearchResult - 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._jobsets = None
        self._projects = None
        self._builds = None
        self._buildsdrv = None
        self.discriminator = None

        if jobsets is not None:
            self.jobsets = jobsets
        if projects is not None:
            self.projects = projects
        if builds is not None:
            self.builds = builds
        if buildsdrv is not None:
            self.buildsdrv = buildsdrv
Example #2
0
    def __init__(self,
                 redirect=None,
                 uri=None,
                 name=None,
                 type=None,
                 local_vars_configuration=None):  # noqa: E501
        """InlineResponse2011 - 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._redirect = None
        self._uri = None
        self._name = None
        self._type = None
        self.discriminator = None

        if redirect is not None:
            self.redirect = redirect
        if uri is not None:
            self.uri = uri
        if name is not None:
            self.name = name
        if type is not None:
            self.type = type
Example #3
0
    def __init__(self,
                 first=None,
                 next=None,
                 last=None,
                 evals=None,
                 local_vars_configuration=None):  # noqa: E501
        """Evaluations - 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._first = None
        self._next = None
        self._last = None
        self._evals = None
        self.discriminator = None

        if first is not None:
            self.first = first
        if next is not None:
            self.next = next
        if last is not None:
            self.last = last
        if evals is not None:
            self.evals = evals
Example #4
0
    def __init__(self,
                 fetcherrormsg=None,
                 nixexprinput=None,
                 errormsg=None,
                 emailoverride=None,
                 nixexprpath=None,
                 enabled=None,
                 jobsetinputs=None,
                 local_vars_configuration=None):  # noqa: E501
        """Jobset - 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._fetcherrormsg = None
        self._nixexprinput = None
        self._errormsg = None
        self._emailoverride = None
        self._nixexprpath = None
        self._enabled = None
        self._jobsetinputs = None
        self.discriminator = None

        self.fetcherrormsg = fetcherrormsg
        if nixexprinput is not None:
            self.nixexprinput = nixexprinput
        if errormsg is not None:
            self.errormsg = errormsg
        if emailoverride is not None:
            self.emailoverride = emailoverride
        self.nixexprpath = nixexprpath
        if enabled is not None:
            self.enabled = enabled
        if jobsetinputs is not None:
            self.jobsetinputs = jobsetinputs
Example #5
0
    def __init__(self,
                 uri=None,
                 type=None,
                 revision=None,
                 value=None,
                 dependency=None,
                 local_vars_configuration=None):  # noqa: E501
        """JobsetEvalInput - 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._uri = None
        self._type = None
        self._revision = None
        self._value = None
        self._dependency = None
        self.discriminator = None

        self.uri = uri
        if type is not None:
            self.type = type
        self.revision = revision
        self.value = value
        self.dependency = dependency
Example #6
0
    def __init__(self, path=None, local_vars_configuration=None):  # noqa: E501
        """BuildOutput - 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.discriminator = None

        if path is not None:
            self.path = path
Example #7
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
Example #8
0
    def __init__(self, jobsets_triggered=None, local_vars_configuration=None):  # noqa: E501
        """InlineResponse2001 - 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._jobsets_triggered = None
        self.discriminator = None

        if jobsets_triggered is not None:
            self.jobsets_triggered = jobsets_triggered
Example #9
0
    def __init__(self, jobsetinputalts=None, local_vars_configuration=None):  # noqa: E501
        """JobsetInput - 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._jobsetinputalts = None
        self.discriminator = None

        if jobsetinputalts is not None:
            self.jobsetinputalts = jobsetinputalts
Example #10
0
    def __init__(self,
                 redirect=None,
                 local_vars_configuration=None):  # noqa: E501
        """InlineResponse2002 - 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._redirect = None
        self.discriminator = None

        if redirect is not None:
            self.redirect = redirect
Example #11
0
    def __init__(self, username=None, password=None, local_vars_configuration=None):  # noqa: E501
        """InlineObject - 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._username = None
        self._password = None
        self.discriminator = None

        if username is not None:
            self.username = username
        if password is not None:
            self.password = password
Example #12
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/1.0.0/python'
        self.client_side_validation = configuration.client_side_validation
Example #13
0
    def __init__(self, username=None, fullname=None, emailaddress=None, userroles=None, local_vars_configuration=None):  # noqa: E501
        """InlineResponse200 - 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._username = None
        self._fullname = None
        self._emailaddress = None
        self._userroles = None
        self.discriminator = None

        if username is not None:
            self.username = username
        if fullname is not None:
            self.fullname = fullname
        if emailaddress is not None:
            self.emailaddress = emailaddress
        if userroles is not None:
            self.userroles = userroles
Example #14
0
    def __init__(self, id=None, hasnewbuilds=None, builds=None, jobsetevalinputs=None, local_vars_configuration=None):  # noqa: E501
        """JobsetEval - 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._hasnewbuilds = None
        self._builds = None
        self._jobsetevalinputs = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if hasnewbuilds is not None:
            self.hasnewbuilds = hasnewbuilds
        if builds is not None:
            self.builds = builds
        if jobsetevalinputs is not None:
            self.jobsetevalinputs = jobsetevalinputs
Example #15
0
    def __init__(self,
                 name=None,
                 value=None,
                 unit=None,
                 local_vars_configuration=None):  # noqa: E501
        """BuildBuildmetrics - 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._unit = None
        self.discriminator = None

        if name is not None:
            self.name = name
        if value is not None:
            self.value = value
        if unit is not None:
            self.unit = unit
Example #16
0
    def __init__(self,
                 displayname=None,
                 enabled=None,
                 hidden=None,
                 local_vars_configuration=None):  # noqa: E501
        """InlineObject1 - 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._displayname = None
        self._enabled = None
        self._hidden = None
        self.discriminator = None

        if displayname is not None:
            self.displayname = displayname
        if enabled is not None:
            self.enabled = enabled
        if hidden is not None:
            self.hidden = hidden
Example #17
0
    def __init__(self,
                 description=None,
                 checkinterval=None,
                 enabled=None,
                 visible=None,
                 keepnr=None,
                 nixexprinput=None,
                 nixexprpath=None,
                 inputs=None,
                 local_vars_configuration=None):  # noqa: E501
        """InlineObject2 - 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._description = None
        self._checkinterval = None
        self._enabled = None
        self._visible = None
        self._keepnr = None
        self._nixexprinput = None
        self._nixexprpath = None
        self._inputs = None
        self.discriminator = None

        if description is not None:
            self.description = description
        if checkinterval is not None:
            self.checkinterval = checkinterval
        if enabled is not None:
            self.enabled = enabled
        if visible is not None:
            self.visible = visible
        if keepnr is not None:
            self.keepnr = keepnr
        if nixexprinput is not None:
            self.nixexprinput = nixexprinput
        self.nixexprpath = nixexprpath
        if inputs is not None:
            self.inputs = inputs
Example #18
0
    def __init__(self,
                 filesize=None,
                 defaultpath=None,
                 type=None,
                 name=None,
                 sha1hash=None,
                 path=None,
                 subtype=None,
                 sha256hash=None,
                 local_vars_configuration=None):  # noqa: E501
        """BuildProduct - 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._filesize = None
        self._defaultpath = None
        self._type = None
        self._name = None
        self._sha1hash = None
        self._path = None
        self._subtype = None
        self._sha256hash = None
        self.discriminator = None

        self.filesize = filesize
        if defaultpath is not None:
            self.defaultpath = defaultpath
        if type is not None:
            self.type = type
        if name is not None:
            self.name = name
        self.sha1hash = sha1hash
        if path is not None:
            self.path = path
        if subtype is not None:
            self.subtype = subtype
        self.sha256hash = sha256hash
Example #19
0
    def __init__(self,
                 owner=None,
                 name=None,
                 displayname=None,
                 description=None,
                 hidden=None,
                 enabled=None,
                 jobsets=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._owner = None
        self._name = None
        self._displayname = None
        self._description = None
        self._hidden = None
        self._enabled = None
        self._jobsets = None
        self.discriminator = None

        if owner is not None:
            self.owner = owner
        if name is not None:
            self.name = name
        if displayname is not None:
            self.displayname = displayname
        if description is not None:
            self.description = description
        if hidden is not None:
            self.hidden = hidden
        if enabled is not None:
            self.enabled = enabled
        if jobsets is not None:
            self.jobsets = jobsets
Example #20
0
    def __init__(self,
                 id=None,
                 starttime=None,
                 stoptime=None,
                 timestamp=None,
                 jobsetevals=None,
                 finished=None,
                 nixname=None,
                 buildstatus=None,
                 jobset=None,
                 priority=None,
                 job=None,
                 drvpath=None,
                 system=None,
                 project=None,
                 buildproducts=None,
                 buildoutputs=None,
                 buildmetrics=None,
                 local_vars_configuration=None):  # noqa: E501
        """Build - 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._starttime = None
        self._stoptime = None
        self._timestamp = None
        self._jobsetevals = None
        self._finished = None
        self._nixname = None
        self._buildstatus = None
        self._jobset = None
        self._priority = None
        self._job = None
        self._drvpath = None
        self._system = None
        self._project = None
        self._buildproducts = None
        self._buildoutputs = None
        self._buildmetrics = None
        self.discriminator = None

        if id is not None:
            self.id = id
        if starttime is not None:
            self.starttime = starttime
        if stoptime is not None:
            self.stoptime = stoptime
        if timestamp is not None:
            self.timestamp = timestamp
        if jobsetevals is not None:
            self.jobsetevals = jobsetevals
        if finished is not None:
            self.finished = finished
        if nixname is not None:
            self.nixname = nixname
        self.buildstatus = buildstatus
        if jobset is not None:
            self.jobset = jobset
        if priority is not None:
            self.priority = priority
        if job is not None:
            self.job = job
        if drvpath is not None:
            self.drvpath = drvpath
        if system is not None:
            self.system = system
        if project is not None:
            self.project = project
        if buildproducts is not None:
            self.buildproducts = buildproducts
        if buildoutputs is not None:
            self.buildoutputs = buildoutputs
        if buildmetrics is not None:
            self.buildmetrics = buildmetrics