Class: MicrosoftGraph::Models::IdentityGovernanceLifecycleManagementSettings

Inherits:
Entity
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/identity_governance_lifecycle_management_settings.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a identity_governance_lifecycle_management_settings

Raises:

  • (StandardError)


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_settingsObject

Gets the emailSettings property value. The emailSettings property

Returns:

  • a email_settings



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

Parameters:

  • value

    Value to set for the emailSettings property.

Returns:

  • a void



43
44
45
# File 'lib/models/identity_governance_lifecycle_management_settings.rb', line 43

def email_settings=(value)
    @email_settings = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



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

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


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_hoursObject

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.

Returns:

  • a integer



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.

Parameters:

  • value

    Value to set for the workflowScheduleIntervalInHours property.

Returns:

  • a void



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