Class: MicrosoftGraph::Models::SecureScoreControlStateUpdate
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::SecureScoreControlStateUpdate
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/secure_score_control_state_update.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.
-
#assigned_to ⇒ Object
Gets the assignedTo property value.
-
#assigned_to=(value) ⇒ Object
Sets the assignedTo property value.
-
#comment ⇒ Object
Gets the comment property value.
-
#comment=(value) ⇒ Object
Sets the comment property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new secureScoreControlStateUpdate 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.
-
#state ⇒ Object
Gets the state property value.
-
#state=(value) ⇒ Object
Sets the state property value.
-
#updated_by ⇒ Object
Gets the updatedBy property value.
-
#updated_by=(value) ⇒ Object
Sets the updatedBy property value.
-
#updated_date_time ⇒ Object
Gets the updatedDateTime property value.
-
#updated_date_time=(value) ⇒ Object
Sets the updatedDateTime property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new secureScoreControlStateUpdate and sets the default values.
80 81 82 |
# File 'lib/models/secure_score_control_state_update.rb', line 80 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
88 89 90 91 |
# File 'lib/models/secure_score_control_state_update.rb', line 88 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SecureScoreControlStateUpdate.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.
35 36 37 |
# File 'lib/models/secure_score_control_state_update.rb', line 35 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.
43 44 45 |
# File 'lib/models/secure_score_control_state_update.rb', line 43 def additional_data=(value) @additional_data = value end |
#assigned_to ⇒ Object
Gets the assignedTo property value. Assigns the control to the user who will take the action.
50 51 52 |
# File 'lib/models/secure_score_control_state_update.rb', line 50 def assigned_to return @assigned_to end |
#assigned_to=(value) ⇒ Object
Sets the assignedTo property value. Assigns the control to the user who will take the action.
58 59 60 |
# File 'lib/models/secure_score_control_state_update.rb', line 58 def assigned_to=(value) @assigned_to = value end |
#comment ⇒ Object
Gets the comment property value. Provides optional comment about the control.
65 66 67 |
# File 'lib/models/secure_score_control_state_update.rb', line 65 def comment return @comment end |
#comment=(value) ⇒ Object
Sets the comment property value. Provides optional comment about the control.
73 74 75 |
# File 'lib/models/secure_score_control_state_update.rb', line 73 def comment=(value) @comment = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
96 97 98 99 100 101 102 103 104 105 |
# File 'lib/models/secure_score_control_state_update.rb', line 96 def get_field_deserializers() return { "assignedTo" => lambda {|n| @assigned_to = n.get_string_value() }, "comment" => lambda {|n| @comment = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "state" => lambda {|n| @state = n.get_string_value() }, "updatedBy" => lambda {|n| @updated_by = n.get_string_value() }, "updatedDateTime" => lambda {|n| @updated_date_time = n.get_date_time_value() }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
110 111 112 |
# File 'lib/models/secure_score_control_state_update.rb', line 110 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
118 119 120 |
# File 'lib/models/secure_score_control_state_update.rb', line 118 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
126 127 128 129 130 131 132 133 134 135 |
# File 'lib/models/secure_score_control_state_update.rb', line 126 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("assignedTo", @assigned_to) writer.write_string_value("comment", @comment) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("state", @state) writer.write_string_value("updatedBy", @updated_by) writer.write_date_time_value("updatedDateTime", @updated_date_time) writer.write_additional_data(@additional_data) end |
#state ⇒ Object
Gets the state property value. State of the control, which can be modified via a PATCH command (for example, ignored, thirdParty).
140 141 142 |
# File 'lib/models/secure_score_control_state_update.rb', line 140 def state return @state end |
#state=(value) ⇒ Object
Sets the state property value. State of the control, which can be modified via a PATCH command (for example, ignored, thirdParty).
148 149 150 |
# File 'lib/models/secure_score_control_state_update.rb', line 148 def state=(value) @state = value end |
#updated_by ⇒ Object
Gets the updatedBy property value. ID of the user who updated tenant state.
155 156 157 |
# File 'lib/models/secure_score_control_state_update.rb', line 155 def updated_by return @updated_by end |
#updated_by=(value) ⇒ Object
Sets the updatedBy property value. ID of the user who updated tenant state.
163 164 165 |
# File 'lib/models/secure_score_control_state_update.rb', line 163 def updated_by=(value) @updated_by = value end |
#updated_date_time ⇒ Object
Gets the updatedDateTime property value. Time at which the control state was updated.
170 171 172 |
# File 'lib/models/secure_score_control_state_update.rb', line 170 def updated_date_time return @updated_date_time end |
#updated_date_time=(value) ⇒ Object
Sets the updatedDateTime property value. Time at which the control state was updated.
178 179 180 |
# File 'lib/models/secure_score_control_state_update.rb', line 178 def updated_date_time=(value) @updated_date_time = value end |