ApprovalWorkflowMaxDuration¶
- class oci.identity_domains.models.ApprovalWorkflowMaxDuration(**kwargs)¶
Bases:
objectMax duration of the ApprovalWorkflow must be acted at all levels.
SCIM++ Properties: - caseExact: true - idcsSearchable: false - multiValued: false - mutability: readWrite - required: true - returned: default - type: complex - uniqueness: none
Attributes:
A constant which can be used with the unit property of a ApprovalWorkflowMaxDuration.
A constant which can be used with the unit property of a ApprovalWorkflowMaxDuration.
A constant which can be used with the unit property of a ApprovalWorkflowMaxDuration.
A constant which can be used with the unit property of a ApprovalWorkflowMaxDuration.
[Required] Gets the unit of this ApprovalWorkflowMaxDuration.
[Required] Gets the value of this ApprovalWorkflowMaxDuration.
Methods:
__init__(**kwargs)Initializes a new ApprovalWorkflowMaxDuration object with values from keyword arguments.
- UNIT_DAY = 'DAY'¶
A constant which can be used with the unit property of a ApprovalWorkflowMaxDuration. This constant has a value of “DAY”
- UNIT_HOUR = 'HOUR'¶
A constant which can be used with the unit property of a ApprovalWorkflowMaxDuration. This constant has a value of “HOUR”
- UNIT_MONTH = 'MONTH'¶
A constant which can be used with the unit property of a ApprovalWorkflowMaxDuration. This constant has a value of “MONTH”
- UNIT_WEEK = 'WEEK'¶
A constant which can be used with the unit property of a ApprovalWorkflowMaxDuration. This constant has a value of “WEEK”
- __init__(**kwargs)¶
Initializes a new ApprovalWorkflowMaxDuration object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
value (int) – The value to assign to the value property of this ApprovalWorkflowMaxDuration.
unit (str) – The value to assign to the unit property of this ApprovalWorkflowMaxDuration. Allowed values for this property are: “MONTH”, “WEEK”, “DAY”, “HOUR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- property unit¶
[Required] Gets the unit of this ApprovalWorkflowMaxDuration. The unit of the max duration.
- SCIM++ Properties:
caseExact: true
idcsSearchable: false
idcsDefaultValue: DAY
multiValued: false
mutability: readWrite
required: true
returned: default
type: string
uniqueness: none
Allowed values for this property are: “MONTH”, “WEEK”, “DAY”, “HOUR”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The unit of this ApprovalWorkflowMaxDuration.
- Return type
str
- property value¶
[Required] Gets the value of this ApprovalWorkflowMaxDuration. The value of the max duration.
- SCIM++ Properties:
caseExact: true
idcsSearchable: false
idcsMaxValue: 1488
idcsMinValue: 1
idcsDefaultValue: 14
multiValued: false
mutability: readWrite
required: true
returned: default
type: integer
uniqueness: none
- Returns
The value of this ApprovalWorkflowMaxDuration.
- Return type
int