Class: MicrosoftGraph::Users::Item::FindMeetingTimes::FindMeetingTimesPostRequestBody
- Inherits:
-
Object
- Object
- MicrosoftGraph::Users::Item::FindMeetingTimes::FindMeetingTimesPostRequestBody
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/users/item/find_meeting_times/find_meeting_times_post_request_body.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.
-
#attendees ⇒ Object
Gets the attendees property value.
-
#attendees=(value) ⇒ Object
Sets the attendees property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new findMeetingTimesPostRequestBody and sets the default values.
-
#is_organizer_optional ⇒ Object
Gets the isOrganizerOptional property value.
-
#is_organizer_optional=(value) ⇒ Object
Sets the isOrganizerOptional property value.
-
#location_constraint ⇒ Object
Gets the locationConstraint property value.
-
#location_constraint=(value) ⇒ Object
Sets the locationConstraint property value.
-
#max_candidates ⇒ Object
Gets the maxCandidates property value.
-
#max_candidates=(value) ⇒ Object
Sets the maxCandidates property value.
-
#meeting_duration ⇒ Object
Gets the meetingDuration property value.
-
#meeting_duration=(value) ⇒ Object
Sets the meetingDuration property value.
-
#minimum_attendee_percentage ⇒ Object
Gets the minimumAttendeePercentage property value.
-
#minimum_attendee_percentage=(value) ⇒ Object
Sets the minimumAttendeePercentage property value.
-
#return_suggestion_reasons ⇒ Object
Gets the returnSuggestionReasons property value.
-
#return_suggestion_reasons=(value) ⇒ Object
Sets the returnSuggestionReasons property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#time_constraint ⇒ Object
Gets the timeConstraint property value.
-
#time_constraint=(value) ⇒ Object
Sets the timeConstraint property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new findMeetingTimesPostRequestBody and sets the default values.
77 78 79 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.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/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 85 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return FindMeetingTimesPostRequestBody.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/users/item/find_meeting_times/find_meeting_times_post_request_body.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/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 55 def additional_data=(value) @additional_data = value end |
#attendees ⇒ Object
Gets the attendees property value. The attendees property
62 63 64 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 62 def attendees return @attendees end |
#attendees=(value) ⇒ Object
Sets the attendees property value. The attendees property
70 71 72 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 70 def attendees=(value) @attendees = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
93 94 95 96 97 98 99 100 101 102 103 104 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 93 def get_field_deserializers() return { "attendees" => lambda {|n| @attendees = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AttendeeBase.create_from_discriminator_value(pn) }) }, "isOrganizerOptional" => lambda {|n| @is_organizer_optional = n.get_boolean_value() }, "locationConstraint" => lambda {|n| @location_constraint = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::LocationConstraint.create_from_discriminator_value(pn) }) }, "maxCandidates" => lambda {|n| @max_candidates = n.get_number_value() }, "meetingDuration" => lambda {|n| @meeting_duration = n.get_duration_value() }, "minimumAttendeePercentage" => lambda {|n| @minimum_attendee_percentage = n.get_object_value(lambda {|pn| Double.create_from_discriminator_value(pn) }) }, "returnSuggestionReasons" => lambda {|n| @return_suggestion_reasons = n.get_boolean_value() }, "timeConstraint" => lambda {|n| @time_constraint = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::TimeConstraint.create_from_discriminator_value(pn) }) }, } end |
#is_organizer_optional ⇒ Object
Gets the isOrganizerOptional property value. The isOrganizerOptional property
109 110 111 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 109 def is_organizer_optional return @is_organizer_optional end |
#is_organizer_optional=(value) ⇒ Object
Sets the isOrganizerOptional property value. The isOrganizerOptional property
117 118 119 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 117 def is_organizer_optional=(value) @is_organizer_optional = value end |
#location_constraint ⇒ Object
Gets the locationConstraint property value. The locationConstraint property
124 125 126 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 124 def location_constraint return @location_constraint end |
#location_constraint=(value) ⇒ Object
Sets the locationConstraint property value. The locationConstraint property
132 133 134 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 132 def location_constraint=(value) @location_constraint = value end |
#max_candidates ⇒ Object
Gets the maxCandidates property value. The maxCandidates property
139 140 141 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 139 def max_candidates return @max_candidates end |
#max_candidates=(value) ⇒ Object
Sets the maxCandidates property value. The maxCandidates property
147 148 149 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 147 def max_candidates=(value) @max_candidates = value end |
#meeting_duration ⇒ Object
Gets the meetingDuration property value. The meetingDuration property
154 155 156 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 154 def meeting_duration return @meeting_duration end |
#meeting_duration=(value) ⇒ Object
Sets the meetingDuration property value. The meetingDuration property
162 163 164 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 162 def meeting_duration=(value) @meeting_duration = value end |
#minimum_attendee_percentage ⇒ Object
Gets the minimumAttendeePercentage property value. The minimumAttendeePercentage property
169 170 171 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 169 def minimum_attendee_percentage return @minimum_attendee_percentage end |
#minimum_attendee_percentage=(value) ⇒ Object
Sets the minimumAttendeePercentage property value. The minimumAttendeePercentage property
177 178 179 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 177 def minimum_attendee_percentage=(value) @minimum_attendee_percentage = value end |
#return_suggestion_reasons ⇒ Object
Gets the returnSuggestionReasons property value. The returnSuggestionReasons property
184 185 186 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 184 def return_suggestion_reasons return @return_suggestion_reasons end |
#return_suggestion_reasons=(value) ⇒ Object
Sets the returnSuggestionReasons property value. The returnSuggestionReasons property
192 193 194 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 192 def return_suggestion_reasons=(value) @return_suggestion_reasons = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
200 201 202 203 204 205 206 207 208 209 210 211 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 200 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_collection_of_object_values("attendees", @attendees) writer.write_boolean_value("isOrganizerOptional", @is_organizer_optional) writer.write_object_value("locationConstraint", @location_constraint) writer.write_number_value("maxCandidates", @max_candidates) writer.write_duration_value("meetingDuration", @meeting_duration) writer.write_object_value("minimumAttendeePercentage", @minimum_attendee_percentage) writer.write_boolean_value("returnSuggestionReasons", @return_suggestion_reasons) writer.write_object_value("timeConstraint", @time_constraint) writer.write_additional_data(@additional_data) end |
#time_constraint ⇒ Object
Gets the timeConstraint property value. The timeConstraint property
216 217 218 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 216 def time_constraint return @time_constraint end |
#time_constraint=(value) ⇒ Object
Sets the timeConstraint property value. The timeConstraint property
224 225 226 |
# File 'lib/users/item/find_meeting_times/find_meeting_times_post_request_body.rb', line 224 def time_constraint=(value) @time_constraint = value end |