Class: MicrosoftGraph::Models::Reminder
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::Reminder
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/reminder.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.
-
#change_key ⇒ Object
Gets the changeKey property value.
-
#change_key=(value) ⇒ Object
Sets the changeKey property value.
-
#event_end_time ⇒ Object
Gets the eventEndTime property value.
-
#event_end_time=(value) ⇒ Object
Sets the eventEndTime property value.
-
#event_id ⇒ Object
Gets the eventId property value.
-
#event_id=(value) ⇒ Object
Sets the eventId property value.
-
#event_location ⇒ Object
Gets the eventLocation property value.
-
#event_location=(value) ⇒ Object
Sets the eventLocation property value.
-
#event_start_time ⇒ Object
Gets the eventStartTime property value.
-
#event_start_time=(value) ⇒ Object
Sets the eventStartTime property value.
-
#event_subject ⇒ Object
Gets the eventSubject property value.
-
#event_subject=(value) ⇒ Object
Sets the eventSubject property value.
-
#event_web_link ⇒ Object
Gets the eventWebLink property value.
-
#event_web_link=(value) ⇒ Object
Sets the eventWebLink property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new reminder and sets the default values.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#reminder_fire_time ⇒ Object
Gets the reminderFireTime property value.
-
#reminder_fire_time=(value) ⇒ Object
Sets the reminderFireTime property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Constructor Details
#initialize ⇒ Object
Instantiates a new reminder and sets the default values.
73 74 75 |
# File 'lib/models/reminder.rb', line 73 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
81 82 83 84 |
# File 'lib/models/reminder.rb', line 81 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return Reminder.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.
43 44 45 |
# File 'lib/models/reminder.rb', line 43 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.
51 52 53 |
# File 'lib/models/reminder.rb', line 51 def additional_data=(value) @additional_data = value end |
#change_key ⇒ Object
Gets the changeKey property value. Identifies the version of the reminder. Every time the reminder is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object.
58 59 60 |
# File 'lib/models/reminder.rb', line 58 def change_key return @change_key end |
#change_key=(value) ⇒ Object
Sets the changeKey property value. Identifies the version of the reminder. Every time the reminder is changed, changeKey changes as well. This allows Exchange to apply changes to the correct version of the object.
66 67 68 |
# File 'lib/models/reminder.rb', line 66 def change_key=(value) @change_key = value end |
#event_end_time ⇒ Object
Gets the eventEndTime property value. The date, time and time zone that the event ends.
89 90 91 |
# File 'lib/models/reminder.rb', line 89 def event_end_time return @event_end_time end |
#event_end_time=(value) ⇒ Object
Sets the eventEndTime property value. The date, time and time zone that the event ends.
97 98 99 |
# File 'lib/models/reminder.rb', line 97 def event_end_time=(value) @event_end_time = value end |
#event_id ⇒ Object
Gets the eventId property value. The unique ID of the event. Read only.
104 105 106 |
# File 'lib/models/reminder.rb', line 104 def event_id return @event_id end |
#event_id=(value) ⇒ Object
Sets the eventId property value. The unique ID of the event. Read only.
112 113 114 |
# File 'lib/models/reminder.rb', line 112 def event_id=(value) @event_id = value end |
#event_location ⇒ Object
Gets the eventLocation property value. The location of the event.
119 120 121 |
# File 'lib/models/reminder.rb', line 119 def event_location return @event_location end |
#event_location=(value) ⇒ Object
Sets the eventLocation property value. The location of the event.
127 128 129 |
# File 'lib/models/reminder.rb', line 127 def event_location=(value) @event_location = value end |
#event_start_time ⇒ Object
Gets the eventStartTime property value. The date, time, and time zone that the event starts.
134 135 136 |
# File 'lib/models/reminder.rb', line 134 def event_start_time return @event_start_time end |
#event_start_time=(value) ⇒ Object
Sets the eventStartTime property value. The date, time, and time zone that the event starts.
142 143 144 |
# File 'lib/models/reminder.rb', line 142 def event_start_time=(value) @event_start_time = value end |
#event_subject ⇒ Object
Gets the eventSubject property value. The text of the event’s subject line.
149 150 151 |
# File 'lib/models/reminder.rb', line 149 def event_subject return @event_subject end |
#event_subject=(value) ⇒ Object
Sets the eventSubject property value. The text of the event’s subject line.
157 158 159 |
# File 'lib/models/reminder.rb', line 157 def event_subject=(value) @event_subject = value end |
#event_web_link ⇒ Object
Gets the eventWebLink property value. The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame.
164 165 166 |
# File 'lib/models/reminder.rb', line 164 def event_web_link return @event_web_link end |
#event_web_link=(value) ⇒ Object
Sets the eventWebLink property value. The URL to open the event in Outlook on the web.The event will open in the browser if you are logged in to your mailbox via Outlook on the web. You will be prompted to login if you are not already logged in with the browser.This URL cannot be accessed from within an iFrame.
172 173 174 |
# File 'lib/models/reminder.rb', line 172 def event_web_link=(value) @event_web_link = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
179 180 181 182 183 184 185 186 187 188 189 190 191 |
# File 'lib/models/reminder.rb', line 179 def get_field_deserializers() return { "changeKey" => lambda {|n| @change_key = n.get_string_value() }, "eventEndTime" => lambda {|n| @event_end_time = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DateTimeTimeZone.create_from_discriminator_value(pn) }) }, "eventId" => lambda {|n| @event_id = n.get_string_value() }, "eventLocation" => lambda {|n| @event_location = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Location.create_from_discriminator_value(pn) }) }, "eventStartTime" => lambda {|n| @event_start_time = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DateTimeTimeZone.create_from_discriminator_value(pn) }) }, "eventSubject" => lambda {|n| @event_subject = n.get_string_value() }, "eventWebLink" => lambda {|n| @event_web_link = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "reminderFireTime" => lambda {|n| @reminder_fire_time = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DateTimeTimeZone.create_from_discriminator_value(pn) }) }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
196 197 198 |
# File 'lib/models/reminder.rb', line 196 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
204 205 206 |
# File 'lib/models/reminder.rb', line 204 def odata_type=(value) @odata_type = value end |
#reminder_fire_time ⇒ Object
Gets the reminderFireTime property value. The date, time, and time zone that the reminder is set to occur.
211 212 213 |
# File 'lib/models/reminder.rb', line 211 def reminder_fire_time return @reminder_fire_time end |
#reminder_fire_time=(value) ⇒ Object
Sets the reminderFireTime property value. The date, time, and time zone that the reminder is set to occur.
219 220 221 |
# File 'lib/models/reminder.rb', line 219 def reminder_fire_time=(value) @reminder_fire_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
227 228 229 230 231 232 233 234 235 236 237 238 239 |
# File 'lib/models/reminder.rb', line 227 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("changeKey", @change_key) writer.write_object_value("eventEndTime", @event_end_time) writer.write_string_value("eventId", @event_id) writer.write_object_value("eventLocation", @event_location) writer.write_object_value("eventStartTime", @event_start_time) writer.write_string_value("eventSubject", @event_subject) writer.write_string_value("eventWebLink", @event_web_link) writer.write_string_value("@odata.type", @odata_type) writer.write_object_value("reminderFireTime", @reminder_fire_time) writer.write_additional_data(@additional_data) end |