DefaultBuildRunnerShapeConfig¶
-
class
oci.devops.models.DefaultBuildRunnerShapeConfig(**kwargs)¶ Bases:
oci.devops.models.build_runner_shape_config.BuildRunnerShapeConfigSpecifies the default build runner shape config.
Attributes
BUILD_RUNNER_TYPE_CUSTOMstr(object=’’) -> str BUILD_RUNNER_TYPE_DEFAULTstr(object=’’) -> str build_runner_type[Required] Gets the build_runner_type of this BuildRunnerShapeConfig. Methods
__init__(**kwargs)Initializes a new DefaultBuildRunnerShapeConfig 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. -
BUILD_RUNNER_TYPE_CUSTOM= 'CUSTOM'¶
-
BUILD_RUNNER_TYPE_DEFAULT= 'DEFAULT'¶
-
__init__(**kwargs)¶ Initializes a new DefaultBuildRunnerShapeConfig object with values from keyword arguments. The default value of the
build_runner_typeattribute of this class isDEFAULTand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: build_runner_type (str) – The value to assign to the build_runner_type property of this DefaultBuildRunnerShapeConfig. Allowed values for this property are: “CUSTOM”, “DEFAULT”
-
build_runner_type¶ [Required] Gets the build_runner_type of this BuildRunnerShapeConfig. Name of the build runner shape in which the execution occurs. If not specified, the default shape is chosen.
Allowed values for this property are: “CUSTOM”, “DEFAULT”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The build_runner_type of this BuildRunnerShapeConfig. Return type: str
-
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.
-