ManualBuildRunSource¶
-
class
oci.devops.models.
ManualBuildRunSource
(**kwargs)¶ Bases:
oci.devops.models.build_run_source.BuildRunSource
Specifies details of build runs triggered manually through the API.
Attributes
SOURCE_TYPE_BITBUCKET_CLOUD
str(object=’’) -> str SOURCE_TYPE_BITBUCKET_SERVER
str(object=’’) -> str SOURCE_TYPE_DEVOPS_CODE_REPOSITORY
str(object=’’) -> str SOURCE_TYPE_GITHUB
str(object=’’) -> str SOURCE_TYPE_GITLAB
str(object=’’) -> str SOURCE_TYPE_GITLAB_SERVER
str(object=’’) -> str SOURCE_TYPE_MANUAL
str(object=’’) -> str SOURCE_TYPE_VBS
str(object=’’) -> str source_type
[Required] Gets the source_type of this BuildRunSource. Methods
__init__
(**kwargs)Initializes a new ManualBuildRunSource object with values from keyword arguments. get_subtype
(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. -
SOURCE_TYPE_BITBUCKET_CLOUD
= 'BITBUCKET_CLOUD'¶
-
SOURCE_TYPE_BITBUCKET_SERVER
= 'BITBUCKET_SERVER'¶
-
SOURCE_TYPE_DEVOPS_CODE_REPOSITORY
= 'DEVOPS_CODE_REPOSITORY'¶
-
SOURCE_TYPE_GITHUB
= 'GITHUB'¶
-
SOURCE_TYPE_GITLAB
= 'GITLAB'¶
-
SOURCE_TYPE_GITLAB_SERVER
= 'GITLAB_SERVER'¶
-
SOURCE_TYPE_MANUAL
= 'MANUAL'¶
-
SOURCE_TYPE_VBS
= 'VBS'¶
-
__init__
(**kwargs)¶ Initializes a new ManualBuildRunSource object with values from keyword arguments. The default value of the
source_type
attribute of this class isMANUAL
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: source_type (str) – The value to assign to the source_type property of this ManualBuildRunSource. Allowed values for this property are: “MANUAL”, “GITHUB”, “GITLAB”, “GITLAB_SERVER”, “BITBUCKET_CLOUD”, “BITBUCKET_SERVER”, “DEVOPS_CODE_REPOSITORY”, “VBS”
-
static
get_subtype
(object_dictionary)¶ Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
-
source_type
¶ [Required] Gets the source_type of this BuildRunSource. The source from which the build run is triggered.
Allowed values for this property are: “MANUAL”, “GITHUB”, “GITLAB”, “GITLAB_SERVER”, “BITBUCKET_CLOUD”, “BITBUCKET_SERVER”, “DEVOPS_CODE_REPOSITORY”, “VBS”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The source_type of this BuildRunSource. Return type: str
-