ValidateMergePullRequestDetails

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

Bases: MergePullRequestDetails

The information about the merge validation.

Attributes:

ACTION_TYPE_EXECUTE

A constant which can be used with the action_type property of a MergePullRequestDetails.

ACTION_TYPE_VALIDATE

A constant which can be used with the action_type property of a MergePullRequestDetails.

action_type

[Required] Gets the action_type of this MergePullRequestDetails.

Methods:

__init__(**kwargs)

Initializes a new ValidateMergePullRequestDetails 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.

ACTION_TYPE_EXECUTE = 'EXECUTE'

A constant which can be used with the action_type property of a MergePullRequestDetails. This constant has a value of “EXECUTE”

ACTION_TYPE_VALIDATE = 'VALIDATE'

A constant which can be used with the action_type property of a MergePullRequestDetails. This constant has a value of “VALIDATE”

__init__(**kwargs)

Initializes a new ValidateMergePullRequestDetails object with values from keyword arguments. The default value of the action_type attribute of this class is VALIDATE and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters

action_type (str) – The value to assign to the action_type property of this ValidateMergePullRequestDetails. Allowed values for this property are: “EXECUTE”, “VALIDATE”

property action_type

[Required] Gets the action_type of this MergePullRequestDetails. the type of action for this merge.

Allowed values for this property are: “EXECUTE”, “VALIDATE”

Returns

The action_type of this MergePullRequestDetails.

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.