DefaultBuildRunnerShapeConfig

class oci.devops.models.DefaultBuildRunnerShapeConfig(**kwargs)

Bases: BuildRunnerShapeConfig

Specifies the default build runner shape config.

Attributes:

BUILD_RUNNER_TYPE_CUSTOM

A constant which can be used with the build_runner_type property of a BuildRunnerShapeConfig.

BUILD_RUNNER_TYPE_DEFAULT

A constant which can be used with the build_runner_type property of a BuildRunnerShapeConfig.

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'

A constant which can be used with the build_runner_type property of a BuildRunnerShapeConfig. This constant has a value of “CUSTOM”

BUILD_RUNNER_TYPE_DEFAULT = 'DEFAULT'

A constant which can be used with the build_runner_type property of a BuildRunnerShapeConfig. This constant has a value of “DEFAULT”

__init__(**kwargs)

Initializes a new DefaultBuildRunnerShapeConfig object with values from keyword arguments. The default value of the build_runner_type attribute of this class is DEFAULT and 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”

property 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.