MergePullRequestDetails¶
-
class
oci.devops.models.
MergePullRequestDetails
(**kwargs)¶ Bases:
object
determines if this is a merge or a 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 MergePullRequestDetails 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 MergePullRequestDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
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 MergePullRequestDetails. 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.
-