Class: MicrosoftGraph::Models::MessageSecurityState
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::MessageSecurityState
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/message_security_state.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.
-
#connecting_i_p ⇒ Object
Gets the connectingIP property value.
-
#connecting_i_p=(value) ⇒ Object
Sets the connectingIP property value.
-
#delivery_action ⇒ Object
Gets the deliveryAction property value.
-
#delivery_action=(value) ⇒ Object
Sets the deliveryAction property value.
-
#delivery_location ⇒ Object
Gets the deliveryLocation property value.
-
#delivery_location=(value) ⇒ Object
Sets the deliveryLocation property value.
-
#directionality ⇒ Object
Gets the directionality property value.
-
#directionality=(value) ⇒ Object
Sets the directionality property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new messageSecurityState and sets the default values.
-
#internet_message_id ⇒ Object
Gets the internetMessageId property value.
-
#internet_message_id=(value) ⇒ Object
Sets the internetMessageId property value.
-
#message_fingerprint ⇒ Object
Gets the messageFingerprint property value.
-
#message_fingerprint=(value) ⇒ Object
Sets the messageFingerprint property value.
-
#message_received_date_time ⇒ Object
Gets the messageReceivedDateTime property value.
-
#message_received_date_time=(value) ⇒ Object
Sets the messageReceivedDateTime property value.
-
#message_subject ⇒ Object
Gets the messageSubject property value.
-
#message_subject=(value) ⇒ Object
Sets the messageSubject property value.
-
#network_message_id ⇒ Object
Gets the networkMessageId property value.
-
#network_message_id=(value) ⇒ Object
Sets the networkMessageId property value.
-
#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.
Constructor Details
#initialize ⇒ Object
Instantiates a new messageSecurityState and sets the default values.
77 78 79 |
# File 'lib/models/message_security_state.rb', line 77 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
85 86 87 88 |
# File 'lib/models/message_security_state.rb', line 85 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return MessageSecurityState.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.
47 48 49 |
# File 'lib/models/message_security_state.rb', line 47 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.
55 56 57 |
# File 'lib/models/message_security_state.rb', line 55 def additional_data=(value) @additional_data = value end |
#connecting_i_p ⇒ Object
Gets the connectingIP property value. The connectingIP property
62 63 64 |
# File 'lib/models/message_security_state.rb', line 62 def connecting_i_p return @connecting_i_p end |
#connecting_i_p=(value) ⇒ Object
Sets the connectingIP property value. The connectingIP property
70 71 72 |
# File 'lib/models/message_security_state.rb', line 70 def connecting_i_p=(value) @connecting_i_p = value end |
#delivery_action ⇒ Object
Gets the deliveryAction property value. The deliveryAction property
93 94 95 |
# File 'lib/models/message_security_state.rb', line 93 def delivery_action return @delivery_action end |
#delivery_action=(value) ⇒ Object
Sets the deliveryAction property value. The deliveryAction property
101 102 103 |
# File 'lib/models/message_security_state.rb', line 101 def delivery_action=(value) @delivery_action = value end |
#delivery_location ⇒ Object
Gets the deliveryLocation property value. The deliveryLocation property
108 109 110 |
# File 'lib/models/message_security_state.rb', line 108 def delivery_location return @delivery_location end |
#delivery_location=(value) ⇒ Object
Sets the deliveryLocation property value. The deliveryLocation property
116 117 118 |
# File 'lib/models/message_security_state.rb', line 116 def delivery_location=(value) @delivery_location = value end |
#directionality ⇒ Object
Gets the directionality property value. The directionality property
123 124 125 |
# File 'lib/models/message_security_state.rb', line 123 def directionality return @directionality end |
#directionality=(value) ⇒ Object
Sets the directionality property value. The directionality property
131 132 133 |
# File 'lib/models/message_security_state.rb', line 131 def directionality=(value) @directionality = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
138 139 140 141 142 143 144 145 146 147 148 149 150 151 |
# File 'lib/models/message_security_state.rb', line 138 def get_field_deserializers() return { "connectingIP" => lambda {|n| @connecting_i_p = n.get_string_value() }, "deliveryAction" => lambda {|n| @delivery_action = n.get_string_value() }, "deliveryLocation" => lambda {|n| @delivery_location = n.get_string_value() }, "directionality" => lambda {|n| @directionality = n.get_string_value() }, "internetMessageId" => lambda {|n| = n.get_string_value() }, "messageFingerprint" => lambda {|n| = n.get_string_value() }, "messageReceivedDateTime" => lambda {|n| = n.get_date_time_value() }, "messageSubject" => lambda {|n| = n.get_string_value() }, "networkMessageId" => lambda {|n| = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, } end |
#internet_message_id ⇒ Object
Gets the internetMessageId property value. The internetMessageId property
156 157 158 |
# File 'lib/models/message_security_state.rb', line 156 def return end |
#internet_message_id=(value) ⇒ Object
Sets the internetMessageId property value. The internetMessageId property
164 165 166 |
# File 'lib/models/message_security_state.rb', line 164 def (value) = value end |
#message_fingerprint ⇒ Object
Gets the messageFingerprint property value. The messageFingerprint property
171 172 173 |
# File 'lib/models/message_security_state.rb', line 171 def return end |
#message_fingerprint=(value) ⇒ Object
Sets the messageFingerprint property value. The messageFingerprint property
179 180 181 |
# File 'lib/models/message_security_state.rb', line 179 def (value) = value end |
#message_received_date_time ⇒ Object
Gets the messageReceivedDateTime property value. The messageReceivedDateTime property
186 187 188 |
# File 'lib/models/message_security_state.rb', line 186 def return end |
#message_received_date_time=(value) ⇒ Object
Sets the messageReceivedDateTime property value. The messageReceivedDateTime property
194 195 196 |
# File 'lib/models/message_security_state.rb', line 194 def (value) = value end |
#message_subject ⇒ Object
Gets the messageSubject property value. The messageSubject property
201 202 203 |
# File 'lib/models/message_security_state.rb', line 201 def return end |
#message_subject=(value) ⇒ Object
Sets the messageSubject property value. The messageSubject property
209 210 211 |
# File 'lib/models/message_security_state.rb', line 209 def (value) = value end |
#network_message_id ⇒ Object
Gets the networkMessageId property value. The networkMessageId property
216 217 218 |
# File 'lib/models/message_security_state.rb', line 216 def return end |
#network_message_id=(value) ⇒ Object
Sets the networkMessageId property value. The networkMessageId property
224 225 226 |
# File 'lib/models/message_security_state.rb', line 224 def (value) = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
231 232 233 |
# File 'lib/models/message_security_state.rb', line 231 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
239 240 241 |
# File 'lib/models/message_security_state.rb', line 239 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
247 248 249 250 251 252 253 254 255 256 257 258 259 260 |
# File 'lib/models/message_security_state.rb', line 247 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("connectingIP", @connecting_i_p) writer.write_string_value("deliveryAction", @delivery_action) writer.write_string_value("deliveryLocation", @delivery_location) writer.write_string_value("directionality", @directionality) writer.write_string_value("internetMessageId", ) writer.write_string_value("messageFingerprint", ) writer.write_date_time_value("messageReceivedDateTime", ) writer.write_string_value("messageSubject", ) writer.write_string_value("networkMessageId", ) writer.write_string_value("@odata.type", @odata_type) writer.write_additional_data(@additional_data) end |