Class: MicrosoftGraph::Models::IdentityGovernanceLifecycleManagementSettings
- Inherits:
-
Entity
- Object
- Entity
- MicrosoftGraph::Models::IdentityGovernanceLifecycleManagementSettings
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/identity_governance_lifecycle_management_settings.rb
Class Method Summary collapse
-
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value.
Instance Method Summary collapse
-
#email_settings ⇒ Object
Gets the emailSettings property value.
-
#email_settings=(value) ⇒ Object
Sets the emailSettings property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new identityGovernanceLifecycleManagementSettings and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#workflow_schedule_interval_in_hours ⇒ Object
Gets the workflowScheduleIntervalInHours property value.
-
#workflow_schedule_interval_in_hours=(value) ⇒ Object
Sets the workflowScheduleIntervalInHours property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new identityGovernanceLifecycleManagementSettings and sets the default values.
19 20 21 |
# File 'lib/models/identity_governance_lifecycle_management_settings.rb', line 19 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
27 28 29 30 |
# File 'lib/models/identity_governance_lifecycle_management_settings.rb', line 27 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IdentityGovernanceLifecycleManagementSettings.new end |
Instance Method Details
#email_settings ⇒ Object
Gets the emailSettings property value. The emailSettings property
35 36 37 |
# File 'lib/models/identity_governance_lifecycle_management_settings.rb', line 35 def email_settings return @email_settings end |
#email_settings=(value) ⇒ Object
Sets the emailSettings property value. The emailSettings property
43 44 45 |
# File 'lib/models/identity_governance_lifecycle_management_settings.rb', line 43 def email_settings=(value) @email_settings = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
50 51 52 53 54 55 |
# File 'lib/models/identity_governance_lifecycle_management_settings.rb', line 50 def get_field_deserializers() return super.merge({ "emailSettings" => lambda {|n| @email_settings = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::EmailSettings.create_from_discriminator_value(pn) }) }, "workflowScheduleIntervalInHours" => lambda {|n| @workflow_schedule_interval_in_hours = n.get_number_value() }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
61 62 63 64 65 66 |
# File 'lib/models/identity_governance_lifecycle_management_settings.rb', line 61 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_object_value("emailSettings", @email_settings) writer.write_number_value("workflowScheduleIntervalInHours", @workflow_schedule_interval_in_hours) end |
#workflow_schedule_interval_in_hours ⇒ Object
Gets the workflowScheduleIntervalInHours property value. The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours.
71 72 73 |
# File 'lib/models/identity_governance_lifecycle_management_settings.rb', line 71 def workflow_schedule_interval_in_hours return @workflow_schedule_interval_in_hours end |
#workflow_schedule_interval_in_hours=(value) ⇒ Object
Sets the workflowScheduleIntervalInHours property value. The interval in hours at which all workflows running in the tenant should be scheduled for execution. This interval has a minimum value of 1 and a maximum value of 24. The default value is 3 hours.
79 80 81 |
# File 'lib/models/identity_governance_lifecycle_management_settings.rb', line 79 def workflow_schedule_interval_in_hours=(value) @workflow_schedule_interval_in_hours = value end |