Class: MicrosoftGraph::Me::JoinedTeams::Item::Schedule::Share::SharePostRequestBody
- Inherits:
-
Object
- Object
- MicrosoftGraph::Me::JoinedTeams::Item::Schedule::Share::SharePostRequestBody
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/me/joined_teams/item/schedule/share/share_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.
-
#end_date_time ⇒ Object
Gets the endDateTime property value.
-
#end_date_time=(value) ⇒ Object
Sets the endDateTime property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new sharePostRequestBody and sets the default values.
-
#notify_team ⇒ Object
Gets the notifyTeam property value.
-
#notify_team=(value) ⇒ Object
Sets the notifyTeam property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#start_date_time ⇒ Object
Gets the startDateTime property value.
-
#start_date_time=(value) ⇒ Object
Sets the startDateTime property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new sharePostRequestBody and sets the default values.
49 50 51 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 49 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
57 58 59 60 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 57 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return SharePostRequestBody.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.
34 35 36 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 34 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.
42 43 44 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 42 def additional_data=(value) @additional_data = value end |
#end_date_time ⇒ Object
Gets the endDateTime property value. The endDateTime property
65 66 67 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 65 def end_date_time return @end_date_time end |
#end_date_time=(value) ⇒ Object
Sets the endDateTime property value. The endDateTime property
73 74 75 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 73 def end_date_time=(value) @end_date_time = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
80 81 82 83 84 85 86 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 80 def get_field_deserializers() return { "endDateTime" => lambda {|n| @end_date_time = n.get_date_time_value() }, "notifyTeam" => lambda {|n| @notify_team = n.get_boolean_value() }, "startDateTime" => lambda {|n| @start_date_time = n.get_date_time_value() }, } end |
#notify_team ⇒ Object
Gets the notifyTeam property value. The notifyTeam property
91 92 93 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 91 def notify_team return @notify_team end |
#notify_team=(value) ⇒ Object
Sets the notifyTeam property value. The notifyTeam property
99 100 101 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 99 def notify_team=(value) @notify_team = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
107 108 109 110 111 112 113 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 107 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_date_time_value("endDateTime", @end_date_time) writer.write_boolean_value("notifyTeam", @notify_team) writer.write_date_time_value("startDateTime", @start_date_time) writer.write_additional_data(@additional_data) end |
#start_date_time ⇒ Object
Gets the startDateTime property value. The startDateTime property
118 119 120 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 118 def start_date_time return @start_date_time end |
#start_date_time=(value) ⇒ Object
Sets the startDateTime property value. The startDateTime property
126 127 128 |
# File 'lib/me/joined_teams/item/schedule/share/share_post_request_body.rb', line 126 def start_date_time=(value) @start_date_time = value end |