Class: MicrosoftGraph::Models::EventMessageRequest
- Inherits:
-
EventMessage
- Object
- Entity
- OutlookItem
- Message
- EventMessage
- MicrosoftGraph::Models::EventMessageRequest
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/event_message_request.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
-
#allow_new_time_proposals ⇒ Object
Gets the allowNewTimeProposals property value.
-
#allow_new_time_proposals=(value) ⇒ Object
Sets the allowNewTimeProposals property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new eventMessageRequest and sets the default values.
-
#meeting_request_type ⇒ Object
Gets the meetingRequestType property value.
-
#meeting_request_type=(value) ⇒ Object
Sets the meetingRequestType property value.
-
#previous_end_date_time ⇒ Object
Gets the previousEndDateTime property value.
-
#previous_end_date_time=(value) ⇒ Object
Sets the previousEndDateTime property value.
-
#previous_location ⇒ Object
Gets the previousLocation property value.
-
#previous_location=(value) ⇒ Object
Sets the previousLocation property value.
-
#previous_start_date_time ⇒ Object
Gets the previousStartDateTime property value.
-
#previous_start_date_time=(value) ⇒ Object
Sets the previousStartDateTime property value.
-
#response_requested ⇒ Object
Gets the responseRequested property value.
-
#response_requested=(value) ⇒ Object
Sets the responseRequested property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from EventMessage
#end_date_time, #end_date_time=, #event, #event=, #is_all_day, #is_all_day=, #is_delegated, #is_delegated=, #is_out_of_date, #is_out_of_date=, #location, #location=, #meeting_message_type, #meeting_message_type=, #recurrence, #recurrence=, #start_date_time, #start_date_time=, #type, #type=
Methods inherited from Message
#attachments, #attachments=, #bcc_recipients, #bcc_recipients=, #body, #body=, #body_preview, #body_preview=, #cc_recipients, #cc_recipients=, #conversation_id, #conversation_id=, #conversation_index, #conversation_index=, #extensions, #extensions=, #flag, #flag=, #from, #from=, #has_attachments, #has_attachments=, #importance, #importance=, #inference_classification, #inference_classification=, #internet_message_headers, #internet_message_headers=, #internet_message_id, #internet_message_id=, #is_delivery_receipt_requested, #is_delivery_receipt_requested=, #is_draft, #is_draft=, #is_read, #is_read=, #is_read_receipt_requested, #is_read_receipt_requested=, #multi_value_extended_properties, #multi_value_extended_properties=, #parent_folder_id, #parent_folder_id=, #received_date_time, #received_date_time=, #reply_to, #reply_to=, #sender, #sender=, #sent_date_time, #sent_date_time=, #single_value_extended_properties, #single_value_extended_properties=, #subject, #subject=, #to_recipients, #to_recipients=, #unique_body, #unique_body=, #web_link, #web_link=
Methods inherited from OutlookItem
#categories, #categories=, #change_key, #change_key=, #created_date_time, #created_date_time=, #last_modified_date_time, #last_modified_date_time=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new eventMessageRequest and sets the default values.
46 47 48 49 |
# File 'lib/models/event_message_request.rb', line 46 def initialize() super @odata_type = "#microsoft.graph.eventMessageRequest" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
55 56 57 58 |
# File 'lib/models/event_message_request.rb', line 55 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return EventMessageRequest.new end |
Instance Method Details
#allow_new_time_proposals ⇒ Object
Gets the allowNewTimeProposals property value. True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true.
31 32 33 |
# File 'lib/models/event_message_request.rb', line 31 def allow_new_time_proposals return @allow_new_time_proposals end |
#allow_new_time_proposals=(value) ⇒ Object
Sets the allowNewTimeProposals property value. True if the meeting organizer allows invitees to propose a new time when responding, false otherwise. Optional. Default is true.
39 40 41 |
# File 'lib/models/event_message_request.rb', line 39 def allow_new_time_proposals=(value) @allow_new_time_proposals = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
63 64 65 66 67 68 69 70 71 72 |
# File 'lib/models/event_message_request.rb', line 63 def get_field_deserializers() return super.merge({ "allowNewTimeProposals" => lambda {|n| @allow_new_time_proposals = n.get_boolean_value() }, "meetingRequestType" => lambda {|n| @meeting_request_type = n.get_enum_value(MicrosoftGraph::Models::MeetingRequestType) }, "previousEndDateTime" => lambda {|n| @previous_end_date_time = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DateTimeTimeZone.create_from_discriminator_value(pn) }) }, "previousLocation" => lambda {|n| @previous_location = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Location.create_from_discriminator_value(pn) }) }, "previousStartDateTime" => lambda {|n| @previous_start_date_time = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::DateTimeTimeZone.create_from_discriminator_value(pn) }) }, "responseRequested" => lambda {|n| @response_requested = n.get_boolean_value() }, }) end |
#meeting_request_type ⇒ Object
Gets the meetingRequestType property value. The meetingRequestType property
77 78 79 |
# File 'lib/models/event_message_request.rb', line 77 def meeting_request_type return @meeting_request_type end |
#meeting_request_type=(value) ⇒ Object
Sets the meetingRequestType property value. The meetingRequestType property
85 86 87 |
# File 'lib/models/event_message_request.rb', line 85 def meeting_request_type=(value) @meeting_request_type = value end |
#previous_end_date_time ⇒ Object
Gets the previousEndDateTime property value. If the meeting update changes the meeting end time, this property specifies the previous meeting end time.
92 93 94 |
# File 'lib/models/event_message_request.rb', line 92 def previous_end_date_time return @previous_end_date_time end |
#previous_end_date_time=(value) ⇒ Object
Sets the previousEndDateTime property value. If the meeting update changes the meeting end time, this property specifies the previous meeting end time.
100 101 102 |
# File 'lib/models/event_message_request.rb', line 100 def previous_end_date_time=(value) @previous_end_date_time = value end |
#previous_location ⇒ Object
Gets the previousLocation property value. If the meeting update changes the meeting location, this property specifies the previous meeting location.
107 108 109 |
# File 'lib/models/event_message_request.rb', line 107 def previous_location return @previous_location end |
#previous_location=(value) ⇒ Object
Sets the previousLocation property value. If the meeting update changes the meeting location, this property specifies the previous meeting location.
115 116 117 |
# File 'lib/models/event_message_request.rb', line 115 def previous_location=(value) @previous_location = value end |
#previous_start_date_time ⇒ Object
Gets the previousStartDateTime property value. If the meeting update changes the meeting start time, this property specifies the previous meeting start time.
122 123 124 |
# File 'lib/models/event_message_request.rb', line 122 def previous_start_date_time return @previous_start_date_time end |
#previous_start_date_time=(value) ⇒ Object
Sets the previousStartDateTime property value. If the meeting update changes the meeting start time, this property specifies the previous meeting start time.
130 131 132 |
# File 'lib/models/event_message_request.rb', line 130 def previous_start_date_time=(value) @previous_start_date_time = value end |
#response_requested ⇒ Object
Gets the responseRequested property value. Set to true if the sender would like the invitee to send a response to the requested meeting.
137 138 139 |
# File 'lib/models/event_message_request.rb', line 137 def response_requested return @response_requested end |
#response_requested=(value) ⇒ Object
Sets the responseRequested property value. Set to true if the sender would like the invitee to send a response to the requested meeting.
145 146 147 |
# File 'lib/models/event_message_request.rb', line 145 def response_requested=(value) @response_requested = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
153 154 155 156 157 158 159 160 161 162 |
# File 'lib/models/event_message_request.rb', line 153 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_boolean_value("allowNewTimeProposals", @allow_new_time_proposals) writer.write_enum_value("meetingRequestType", @meeting_request_type) writer.write_object_value("previousEndDateTime", @previous_end_date_time) writer.write_object_value("previousLocation", @previous_location) writer.write_object_value("previousStartDateTime", @previous_start_date_time) writer.write_boolean_value("responseRequested", @response_requested) end |