Class: MicrosoftGraph::Models::IdentityGovernanceLifecycleWorkflowsContainer

Inherits:
Entity
  • Object
show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/identity_governance_lifecycle_workflows_container.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 identityGovernanceLifecycleWorkflowsContainer and sets the default values.



31
32
33
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 31

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_workflows_container

Raises:

  • (StandardError)


39
40
41
42
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 39

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return IdentityGovernanceLifecycleWorkflowsContainer.new
end

Instance Method Details

#custom_task_extensionsObject

Gets the customTaskExtensions property value. The customTaskExtension instance.

Returns:

  • a identity_governance_custom_task_extension



47
48
49
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 47

def custom_task_extensions
    return @custom_task_extensions
end

#custom_task_extensions=(value) ⇒ Object

Sets the customTaskExtensions property value. The customTaskExtension instance.

Parameters:

  • value

    Value to set for the customTaskExtensions property.

Returns:

  • a void



55
56
57
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 55

def custom_task_extensions=(value)
    @custom_task_extensions = value
end

#deleted_itemsObject

Gets the deletedItems property value. Deleted workflows in your lifecycle workflows instance.

Returns:

  • a deleted_item_container



62
63
64
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 62

def deleted_items
    return @deleted_items
end

#deleted_items=(value) ⇒ Object

Sets the deletedItems property value. Deleted workflows in your lifecycle workflows instance.

Parameters:

  • value

    Value to set for the deletedItems property.

Returns:

  • a void



70
71
72
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 70

def deleted_items=(value)
    @deleted_items = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



77
78
79
80
81
82
83
84
85
86
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 77

def get_field_deserializers()
    return super.merge({
        "customTaskExtensions" => lambda {|n| @custom_task_extensions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceCustomTaskExtension.create_from_discriminator_value(pn) }) },
        "deletedItems" => lambda {|n| @deleted_items = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DeletedItemContainer.create_from_discriminator_value(pn) }) },
        "settings" => lambda {|n| @settings = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceLifecycleManagementSettings.create_from_discriminator_value(pn) }) },
        "taskDefinitions" => lambda {|n| @task_definitions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceTaskDefinition.create_from_discriminator_value(pn) }) },
        "workflowTemplates" => lambda {|n| @workflow_templates = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceWorkflowTemplate.create_from_discriminator_value(pn) }) },
        "workflows" => lambda {|n| @workflows = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceWorkflow.create_from_discriminator_value(pn) }) },
    })
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


92
93
94
95
96
97
98
99
100
101
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 92

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
    writer.write_collection_of_object_values("customTaskExtensions", @custom_task_extensions)
    writer.write_object_value("deletedItems", @deleted_items)
    writer.write_object_value("settings", @settings)
    writer.write_collection_of_object_values("taskDefinitions", @task_definitions)
    writer.write_collection_of_object_values("workflowTemplates", @workflow_templates)
    writer.write_collection_of_object_values("workflows", @workflows)
end

#settingsObject

Gets the settings property value. The settings property

Returns:

  • a identity_governance_lifecycle_management_settings



106
107
108
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 106

def settings
    return @settings
end

#settings=(value) ⇒ Object

Sets the settings property value. The settings property

Parameters:

  • value

    Value to set for the settings property.

Returns:

  • a void



114
115
116
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 114

def settings=(value)
    @settings = value
end

#task_definitionsObject

Gets the taskDefinitions property value. The definition of tasks within the lifecycle workflows instance.

Returns:

  • a identity_governance_task_definition



121
122
123
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 121

def task_definitions
    return @task_definitions
end

#task_definitions=(value) ⇒ Object

Sets the taskDefinitions property value. The definition of tasks within the lifecycle workflows instance.

Parameters:

  • value

    Value to set for the taskDefinitions property.

Returns:

  • a void



129
130
131
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 129

def task_definitions=(value)
    @task_definitions = value
end

#workflow_templatesObject

Gets the workflowTemplates property value. The workflow templates in the lifecycle workflow instance.

Returns:

  • a identity_governance_workflow_template



136
137
138
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 136

def workflow_templates
    return @workflow_templates
end

#workflow_templates=(value) ⇒ Object

Sets the workflowTemplates property value. The workflow templates in the lifecycle workflow instance.

Parameters:

  • value

    Value to set for the workflowTemplates property.

Returns:

  • a void



144
145
146
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 144

def workflow_templates=(value)
    @workflow_templates = value
end

#workflowsObject

Gets the workflows property value. The workflows in the lifecycle workflows instance.

Returns:

  • a identity_governance_workflow



151
152
153
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 151

def workflows
    return @workflows
end

#workflows=(value) ⇒ Object

Sets the workflows property value. The workflows in the lifecycle workflows instance.

Parameters:

  • value

    Value to set for the workflows property.

Returns:

  • a void



159
160
161
# File 'lib/models/identity_governance_lifecycle_workflows_container.rb', line 159

def workflows=(value)
    @workflows = value
end