ValidateMergePullRequestDetails¶
-
class
oci.devops.models.
ValidateMergePullRequestDetails
(**kwargs)¶ Bases:
oci.devops.models.merge_pull_request_details.MergePullRequestDetails
The information about the merge validation.
Attributes
ACTION_TYPE_EXECUTE
str(object=’’) -> str ACTION_TYPE_VALIDATE
str(object=’’) -> str 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'¶
-
ACTION_TYPE_VALIDATE
= 'VALIDATE'¶
-
__init__
(**kwargs)¶ Initializes a new ValidateMergePullRequestDetails object with values from keyword arguments. The default value of the
action_type
attribute of this class isVALIDATE
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”
-
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.
-