Class: MicrosoftGraph::Models::IdentityGovernanceWorkflowTemplate
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/identity_governance_workflow_template.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
-
#category ⇒ Object
Gets the category property value.
-
#category=(value) ⇒ Object
Sets the category property value.
-
#description ⇒ Object
Gets the description property value.
-
#description=(value) ⇒ Object
Sets the description property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#execution_conditions ⇒ Object
Gets the executionConditions property value.
-
#execution_conditions=(value) ⇒ Object
Sets the executionConditions property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new identityGovernanceWorkflowTemplate and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#tasks ⇒ Object
Gets the tasks property value.
-
#tasks=(value) ⇒ Object
Sets the tasks property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new identityGovernanceWorkflowTemplate and sets the default values.
43 44 45 |
# File 'lib/models/identity_governance_workflow_template.rb', line 43 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
51 52 53 54 |
# File 'lib/models/identity_governance_workflow_template.rb', line 51 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IdentityGovernanceWorkflowTemplate.new end |
Instance Method Details
#category ⇒ Object
Gets the category property value. The category property
28 29 30 |
# File 'lib/models/identity_governance_workflow_template.rb', line 28 def category return @category end |
#category=(value) ⇒ Object
Sets the category property value. The category property
36 37 38 |
# File 'lib/models/identity_governance_workflow_template.rb', line 36 def category=(value) @category = value end |
#description ⇒ Object
Gets the description property value. The description of the workflowTemplate.
59 60 61 |
# File 'lib/models/identity_governance_workflow_template.rb', line 59 def description return @description end |
#description=(value) ⇒ Object
Sets the description property value. The description of the workflowTemplate.
67 68 69 |
# File 'lib/models/identity_governance_workflow_template.rb', line 67 def description=(value) @description = value end |
#display_name ⇒ Object
Gets the displayName property value. The display name of the workflowTemplate.Supports $filter(eq, ne) and $orderby.
74 75 76 |
# File 'lib/models/identity_governance_workflow_template.rb', line 74 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The display name of the workflowTemplate.Supports $filter(eq, ne) and $orderby.
82 83 84 |
# File 'lib/models/identity_governance_workflow_template.rb', line 82 def display_name=(value) @display_name = value end |
#execution_conditions ⇒ Object
Gets the executionConditions property value. Conditions describing when to execute the workflow and the criteria to identify in-scope subject set.
89 90 91 |
# File 'lib/models/identity_governance_workflow_template.rb', line 89 def execution_conditions return @execution_conditions end |
#execution_conditions=(value) ⇒ Object
Sets the executionConditions property value. Conditions describing when to execute the workflow and the criteria to identify in-scope subject set.
97 98 99 |
# File 'lib/models/identity_governance_workflow_template.rb', line 97 def execution_conditions=(value) @execution_conditions = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
104 105 106 107 108 109 110 111 112 |
# File 'lib/models/identity_governance_workflow_template.rb', line 104 def get_field_deserializers() return super.merge({ "category" => lambda {|n| @category = n.get_enum_value(MicrosoftGraph::Models::IdentityGovernanceLifecycleWorkflowCategory) }, "description" => lambda {|n| @description = n.get_string_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "executionConditions" => lambda {|n| @execution_conditions = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceWorkflowExecutionConditions.create_from_discriminator_value(pn) }) }, "tasks" => lambda {|n| @tasks = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::IdentityGovernanceTask.create_from_discriminator_value(pn) }) }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
118 119 120 121 122 123 124 125 126 |
# File 'lib/models/identity_governance_workflow_template.rb', line 118 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_enum_value("category", @category) writer.write_string_value("description", @description) writer.write_string_value("displayName", @display_name) writer.write_object_value("executionConditions", @execution_conditions) writer.write_collection_of_object_values("tasks", @tasks) end |
#tasks ⇒ Object
Gets the tasks property value. Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default.
131 132 133 |
# File 'lib/models/identity_governance_workflow_template.rb', line 131 def tasks return @tasks end |
#tasks=(value) ⇒ Object
Sets the tasks property value. Represents the configured tasks to execute and their execution sequence within a workflow. This relationship is expanded by default.
139 140 141 |
# File 'lib/models/identity_governance_workflow_template.rb', line 139 def tasks=(value) @tasks = value end |