Class: MicrosoftGraph::Models::IdentityGovernanceRunSummary
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::IdentityGovernanceRunSummary
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/identity_governance_run_summary.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
-
#additional_data ⇒ Object
Gets the additionalData property value.
-
#additional_data=(value) ⇒ Object
Sets the additionalData property value.
-
#failed_runs ⇒ Object
Gets the failedRuns property value.
-
#failed_runs=(value) ⇒ Object
Sets the failedRuns property value.
-
#failed_tasks ⇒ Object
Gets the failedTasks property value.
-
#failed_tasks=(value) ⇒ Object
Sets the failedTasks property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new identityGovernanceRunSummary and sets the default values.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#successful_runs ⇒ Object
Gets the successfulRuns property value.
-
#successful_runs=(value) ⇒ Object
Sets the successfulRuns property value.
-
#total_runs ⇒ Object
Gets the totalRuns property value.
-
#total_runs=(value) ⇒ Object
Sets the totalRuns property value.
-
#total_tasks ⇒ Object
Gets the totalTasks property value.
-
#total_tasks=(value) ⇒ Object
Sets the totalTasks property value.
-
#total_users ⇒ Object
Gets the totalUsers property value.
-
#total_users=(value) ⇒ Object
Sets the totalUsers property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new identityGovernanceRunSummary and sets the default values.
52 53 54 |
# File 'lib/models/identity_governance_run_summary.rb', line 52 def initialize() @additional_data = Hash.new end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
60 61 62 63 |
# File 'lib/models/identity_governance_run_summary.rb', line 60 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IdentityGovernanceRunSummary.new end |
Instance Method Details
#additional_data ⇒ Object
Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
37 38 39 |
# File 'lib/models/identity_governance_run_summary.rb', line 37 def additional_data return @additional_data end |
#additional_data=(value) ⇒ Object
Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
45 46 47 |
# File 'lib/models/identity_governance_run_summary.rb', line 45 def additional_data=(value) @additional_data = value end |
#failed_runs ⇒ Object
Gets the failedRuns property value. The number of failed workflow runs.
68 69 70 |
# File 'lib/models/identity_governance_run_summary.rb', line 68 def failed_runs return @failed_runs end |
#failed_runs=(value) ⇒ Object
Sets the failedRuns property value. The number of failed workflow runs.
76 77 78 |
# File 'lib/models/identity_governance_run_summary.rb', line 76 def failed_runs=(value) @failed_runs = value end |
#failed_tasks ⇒ Object
Gets the failedTasks property value. The number of failed tasks of a workflow.
83 84 85 |
# File 'lib/models/identity_governance_run_summary.rb', line 83 def failed_tasks return @failed_tasks end |
#failed_tasks=(value) ⇒ Object
Sets the failedTasks property value. The number of failed tasks of a workflow.
91 92 93 |
# File 'lib/models/identity_governance_run_summary.rb', line 91 def failed_tasks=(value) @failed_tasks = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
98 99 100 101 102 103 104 105 106 107 108 |
# File 'lib/models/identity_governance_run_summary.rb', line 98 def get_field_deserializers() return { "failedRuns" => lambda {|n| @failed_runs = n.get_number_value() }, "failedTasks" => lambda {|n| @failed_tasks = n.get_number_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "successfulRuns" => lambda {|n| @successful_runs = n.get_number_value() }, "totalRuns" => lambda {|n| @total_runs = n.get_number_value() }, "totalTasks" => lambda {|n| @total_tasks = n.get_number_value() }, "totalUsers" => lambda {|n| @total_users = n.get_number_value() }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
113 114 115 |
# File 'lib/models/identity_governance_run_summary.rb', line 113 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
121 122 123 |
# File 'lib/models/identity_governance_run_summary.rb', line 121 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
129 130 131 132 133 134 135 136 137 138 139 |
# File 'lib/models/identity_governance_run_summary.rb', line 129 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_number_value("failedRuns", @failed_runs) writer.write_number_value("failedTasks", @failed_tasks) writer.write_string_value("@odata.type", @odata_type) writer.write_number_value("successfulRuns", @successful_runs) writer.write_number_value("totalRuns", @total_runs) writer.write_number_value("totalTasks", @total_tasks) writer.write_number_value("totalUsers", @total_users) writer.write_additional_data(@additional_data) end |
#successful_runs ⇒ Object
Gets the successfulRuns property value. The number of successful workflow runs.
144 145 146 |
# File 'lib/models/identity_governance_run_summary.rb', line 144 def successful_runs return @successful_runs end |
#successful_runs=(value) ⇒ Object
Sets the successfulRuns property value. The number of successful workflow runs.
152 153 154 |
# File 'lib/models/identity_governance_run_summary.rb', line 152 def successful_runs=(value) @successful_runs = value end |
#total_runs ⇒ Object
Gets the totalRuns property value. The total number of runs for a workflow.
159 160 161 |
# File 'lib/models/identity_governance_run_summary.rb', line 159 def total_runs return @total_runs end |
#total_runs=(value) ⇒ Object
Sets the totalRuns property value. The total number of runs for a workflow.
167 168 169 |
# File 'lib/models/identity_governance_run_summary.rb', line 167 def total_runs=(value) @total_runs = value end |
#total_tasks ⇒ Object
Gets the totalTasks property value. The total number of tasks processed by a workflow.
174 175 176 |
# File 'lib/models/identity_governance_run_summary.rb', line 174 def total_tasks return @total_tasks end |
#total_tasks=(value) ⇒ Object
Sets the totalTasks property value. The total number of tasks processed by a workflow.
182 183 184 |
# File 'lib/models/identity_governance_run_summary.rb', line 182 def total_tasks=(value) @total_tasks = value end |
#total_users ⇒ Object
Gets the totalUsers property value. The total number of users processed by a workflow.
189 190 191 |
# File 'lib/models/identity_governance_run_summary.rb', line 189 def total_users return @total_users end |
#total_users=(value) ⇒ Object
Sets the totalUsers property value. The total number of users processed by a workflow.
197 198 199 |
# File 'lib/models/identity_governance_run_summary.rb', line 197 def total_users=(value) @total_users = value end |