Class: MicrosoftGraph::Models::InformationalUrl
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::InformationalUrl
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/informational_url.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.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new informationalUrl and sets the default values.
-
#logo_url ⇒ Object
Gets the logoUrl property value.
-
#logo_url=(value) ⇒ Object
Sets the logoUrl property value.
-
#marketing_url ⇒ Object
Gets the marketingUrl property value.
-
#marketing_url=(value) ⇒ Object
Sets the marketingUrl property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#privacy_statement_url ⇒ Object
Gets the privacyStatementUrl property value.
-
#privacy_statement_url=(value) ⇒ Object
Sets the privacyStatementUrl property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#support_url ⇒ Object
Gets the supportUrl property value.
-
#support_url=(value) ⇒ Object
Sets the supportUrl property value.
-
#terms_of_service_url ⇒ Object
Gets the termsOfServiceUrl property value.
-
#terms_of_service_url=(value) ⇒ Object
Sets the termsOfServiceUrl property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new informationalUrl and sets the default values.
49 50 51 |
# File 'lib/models/informational_url.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/models/informational_url.rb', line 57 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return InformationalUrl.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/models/informational_url.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/models/informational_url.rb', line 42 def additional_data=(value) @additional_data = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
65 66 67 68 69 70 71 72 73 74 |
# File 'lib/models/informational_url.rb', line 65 def get_field_deserializers() return { "logoUrl" => lambda {|n| @logo_url = n.get_string_value() }, "marketingUrl" => lambda {|n| @marketing_url = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "privacyStatementUrl" => lambda {|n| @privacy_statement_url = n.get_string_value() }, "supportUrl" => lambda {|n| @support_url = n.get_string_value() }, "termsOfServiceUrl" => lambda {|n| @terms_of_service_url = n.get_string_value() }, } end |
#logo_url ⇒ Object
Gets the logoUrl property value. CDN URL to the application’s logo, Read-only.
79 80 81 |
# File 'lib/models/informational_url.rb', line 79 def logo_url return @logo_url end |
#logo_url=(value) ⇒ Object
Sets the logoUrl property value. CDN URL to the application’s logo, Read-only.
87 88 89 |
# File 'lib/models/informational_url.rb', line 87 def logo_url=(value) @logo_url = value end |
#marketing_url ⇒ Object
Gets the marketingUrl property value. Link to the application’s marketing page. For example, www.contoso.com/app/marketing
94 95 96 |
# File 'lib/models/informational_url.rb', line 94 def marketing_url return @marketing_url end |
#marketing_url=(value) ⇒ Object
Sets the marketingUrl property value. Link to the application’s marketing page. For example, www.contoso.com/app/marketing
102 103 104 |
# File 'lib/models/informational_url.rb', line 102 def marketing_url=(value) @marketing_url = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
109 110 111 |
# File 'lib/models/informational_url.rb', line 109 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
117 118 119 |
# File 'lib/models/informational_url.rb', line 117 def odata_type=(value) @odata_type = value end |
#privacy_statement_url ⇒ Object
Gets the privacyStatementUrl property value. Link to the application’s privacy statement. For example, www.contoso.com/app/privacy
124 125 126 |
# File 'lib/models/informational_url.rb', line 124 def privacy_statement_url return @privacy_statement_url end |
#privacy_statement_url=(value) ⇒ Object
Sets the privacyStatementUrl property value. Link to the application’s privacy statement. For example, www.contoso.com/app/privacy
132 133 134 |
# File 'lib/models/informational_url.rb', line 132 def privacy_statement_url=(value) @privacy_statement_url = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
140 141 142 143 144 145 146 147 148 149 |
# File 'lib/models/informational_url.rb', line 140 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("logoUrl", @logo_url) writer.write_string_value("marketingUrl", @marketing_url) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("privacyStatementUrl", @privacy_statement_url) writer.write_string_value("supportUrl", @support_url) writer.write_string_value("termsOfServiceUrl", @terms_of_service_url) writer.write_additional_data(@additional_data) end |
#support_url ⇒ Object
Gets the supportUrl property value. Link to the application’s support page. For example, www.contoso.com/app/support
154 155 156 |
# File 'lib/models/informational_url.rb', line 154 def support_url return @support_url end |
#support_url=(value) ⇒ Object
Sets the supportUrl property value. Link to the application’s support page. For example, www.contoso.com/app/support
162 163 164 |
# File 'lib/models/informational_url.rb', line 162 def support_url=(value) @support_url = value end |
#terms_of_service_url ⇒ Object
Gets the termsOfServiceUrl property value. Link to the application’s terms of service statement. For example, www.contoso.com/app/termsofservice
169 170 171 |
# File 'lib/models/informational_url.rb', line 169 def terms_of_service_url return @terms_of_service_url end |
#terms_of_service_url=(value) ⇒ Object
Sets the termsOfServiceUrl property value. Link to the application’s terms of service statement. For example, www.contoso.com/app/termsofservice
177 178 179 |
# File 'lib/models/informational_url.rb', line 177 def terms_of_service_url=(value) @terms_of_service_url = value end |