Class: MicrosoftGraph::Models::EducationTeamsAppResource
- Inherits:
-
EducationResource
- Object
- EducationResource
- MicrosoftGraph::Models::EducationTeamsAppResource
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/education_teams_app_resource.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
-
#app_icon_web_url ⇒ Object
Gets the appIconWebUrl property value.
-
#app_icon_web_url=(value) ⇒ Object
Sets the appIconWebUrl property value.
-
#app_id ⇒ Object
Gets the appId property value.
-
#app_id=(value) ⇒ Object
Sets the appId property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new educationTeamsAppResource and sets the default values.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#teams_embedded_content_url ⇒ Object
Gets the teamsEmbeddedContentUrl property value.
-
#teams_embedded_content_url=(value) ⇒ Object
Sets the teamsEmbeddedContentUrl property value.
-
#web_url ⇒ Object
Gets the webUrl property value.
-
#web_url=(value) ⇒ Object
Sets the webUrl property value.
Methods inherited from EducationResource
#additional_data, #additional_data=, #created_by, #created_by=, #created_date_time, #created_date_time=, #display_name, #display_name=, #last_modified_by, #last_modified_by=, #last_modified_date_time, #last_modified_date_time=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new educationTeamsAppResource and sets the default values.
55 56 57 58 |
# File 'lib/models/education_teams_app_resource.rb', line 55 def initialize() super @odata_type = "#microsoft.graph.educationTeamsAppResource" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
64 65 66 67 |
# File 'lib/models/education_teams_app_resource.rb', line 64 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return EducationTeamsAppResource.new end |
Instance Method Details
#app_icon_web_url ⇒ Object
Gets the appIconWebUrl property value. URL that points to the icon of the app.
25 26 27 |
# File 'lib/models/education_teams_app_resource.rb', line 25 def app_icon_web_url return @app_icon_web_url end |
#app_icon_web_url=(value) ⇒ Object
Sets the appIconWebUrl property value. URL that points to the icon of the app.
33 34 35 |
# File 'lib/models/education_teams_app_resource.rb', line 33 def app_icon_web_url=(value) @app_icon_web_url = value end |
#app_id ⇒ Object
Gets the appId property value. Teams app ID of the application.
40 41 42 |
# File 'lib/models/education_teams_app_resource.rb', line 40 def app_id return @app_id end |
#app_id=(value) ⇒ Object
Sets the appId property value. Teams app ID of the application.
48 49 50 |
# File 'lib/models/education_teams_app_resource.rb', line 48 def app_id=(value) @app_id = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
72 73 74 75 76 77 78 79 |
# File 'lib/models/education_teams_app_resource.rb', line 72 def get_field_deserializers() return super.merge({ "appIconWebUrl" => lambda {|n| @app_icon_web_url = n.get_string_value() }, "appId" => lambda {|n| @app_id = n.get_string_value() }, "teamsEmbeddedContentUrl" => lambda {|n| @teams_embedded_content_url = n.get_string_value() }, "webUrl" => lambda {|n| @web_url = n.get_string_value() }, }) end |
#serialize(writer) ⇒ Object
Serializes information the current object
85 86 87 88 89 90 91 92 |
# File 'lib/models/education_teams_app_resource.rb', line 85 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("appIconWebUrl", @app_icon_web_url) writer.write_string_value("appId", @app_id) writer.write_string_value("teamsEmbeddedContentUrl", @teams_embedded_content_url) writer.write_string_value("webUrl", @web_url) end |
#teams_embedded_content_url ⇒ Object
Gets the teamsEmbeddedContentUrl property value. URL for the app resource that will be opened by Teams.
97 98 99 |
# File 'lib/models/education_teams_app_resource.rb', line 97 def return @teams_embedded_content_url end |
#teams_embedded_content_url=(value) ⇒ Object
Sets the teamsEmbeddedContentUrl property value. URL for the app resource that will be opened by Teams.
105 106 107 |
# File 'lib/models/education_teams_app_resource.rb', line 105 def (value) @teams_embedded_content_url = value end |
#web_url ⇒ Object
Gets the webUrl property value. URL for the app resource that can be opened in the browser.
112 113 114 |
# File 'lib/models/education_teams_app_resource.rb', line 112 def web_url return @web_url end |
#web_url=(value) ⇒ Object
Sets the webUrl property value. URL for the app resource that can be opened in the browser.
120 121 122 |
# File 'lib/models/education_teams_app_resource.rb', line 120 def web_url=(value) @web_url = value end |