Class: MicrosoftGraph::Models::IntuneBrand
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::IntuneBrand
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/intune_brand.rb
Overview
intuneBrand contains data which is used in customizing the appearance of the Company Portal applications as well as the end user web portal.
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.
-
#contact_i_t_email_address ⇒ Object
Gets the contactITEmailAddress property value.
-
#contact_i_t_email_address=(value) ⇒ Object
Sets the contactITEmailAddress property value.
-
#contact_i_t_name ⇒ Object
Gets the contactITName property value.
-
#contact_i_t_name=(value) ⇒ Object
Sets the contactITName property value.
-
#contact_i_t_notes ⇒ Object
Gets the contactITNotes property value.
-
#contact_i_t_notes=(value) ⇒ Object
Sets the contactITNotes property value.
-
#contact_i_t_phone_number ⇒ Object
Gets the contactITPhoneNumber property value.
-
#contact_i_t_phone_number=(value) ⇒ Object
Sets the contactITPhoneNumber property value.
-
#dark_background_logo ⇒ Object
Gets the darkBackgroundLogo property value.
-
#dark_background_logo=(value) ⇒ Object
Sets the darkBackgroundLogo property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new intuneBrand and sets the default values.
-
#light_background_logo ⇒ Object
Gets the lightBackgroundLogo property value.
-
#light_background_logo=(value) ⇒ Object
Sets the lightBackgroundLogo property value.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#online_support_site_name ⇒ Object
Gets the onlineSupportSiteName property value.
-
#online_support_site_name=(value) ⇒ Object
Sets the onlineSupportSiteName property value.
-
#online_support_site_url ⇒ Object
Gets the onlineSupportSiteUrl property value.
-
#online_support_site_url=(value) ⇒ Object
Sets the onlineSupportSiteUrl property value.
-
#privacy_url ⇒ Object
Gets the privacyUrl property value.
-
#privacy_url=(value) ⇒ Object
Sets the privacyUrl property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#show_display_name_next_to_logo ⇒ Object
Gets the showDisplayNameNextToLogo property value.
-
#show_display_name_next_to_logo=(value) ⇒ Object
Sets the showDisplayNameNextToLogo property value.
-
#show_logo ⇒ Object
Gets the showLogo property value.
-
#show_logo=(value) ⇒ Object
Sets the showLogo property value.
-
#show_name_next_to_logo ⇒ Object
Gets the showNameNextToLogo property value.
-
#show_name_next_to_logo=(value) ⇒ Object
Sets the showNameNextToLogo property value.
-
#theme_color ⇒ Object
Gets the themeColor property value.
-
#theme_color=(value) ⇒ Object
Sets the themeColor property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new intuneBrand and sets the default values.
78 79 80 |
# File 'lib/models/intune_brand.rb', line 78 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
146 147 148 149 |
# File 'lib/models/intune_brand.rb', line 146 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return IntuneBrand.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.
63 64 65 |
# File 'lib/models/intune_brand.rb', line 63 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.
71 72 73 |
# File 'lib/models/intune_brand.rb', line 71 def additional_data=(value) @additional_data = value end |
#contact_i_t_email_address ⇒ Object
Gets the contactITEmailAddress property value. Email address of the person/organization responsible for IT support.
85 86 87 |
# File 'lib/models/intune_brand.rb', line 85 def contact_i_t_email_address return @contact_i_t_email_address end |
#contact_i_t_email_address=(value) ⇒ Object
Sets the contactITEmailAddress property value. Email address of the person/organization responsible for IT support.
93 94 95 |
# File 'lib/models/intune_brand.rb', line 93 def contact_i_t_email_address=(value) @contact_i_t_email_address = value end |
#contact_i_t_name ⇒ Object
Gets the contactITName property value. Name of the person/organization responsible for IT support.
100 101 102 |
# File 'lib/models/intune_brand.rb', line 100 def contact_i_t_name return @contact_i_t_name end |
#contact_i_t_name=(value) ⇒ Object
Sets the contactITName property value. Name of the person/organization responsible for IT support.
108 109 110 |
# File 'lib/models/intune_brand.rb', line 108 def contact_i_t_name=(value) @contact_i_t_name = value end |
#contact_i_t_notes ⇒ Object
Gets the contactITNotes property value. Text comments regarding the person/organization responsible for IT support.
115 116 117 |
# File 'lib/models/intune_brand.rb', line 115 def contact_i_t_notes return @contact_i_t_notes end |
#contact_i_t_notes=(value) ⇒ Object
Sets the contactITNotes property value. Text comments regarding the person/organization responsible for IT support.
123 124 125 |
# File 'lib/models/intune_brand.rb', line 123 def contact_i_t_notes=(value) @contact_i_t_notes = value end |
#contact_i_t_phone_number ⇒ Object
Gets the contactITPhoneNumber property value. Phone number of the person/organization responsible for IT support.
130 131 132 |
# File 'lib/models/intune_brand.rb', line 130 def contact_i_t_phone_number return @contact_i_t_phone_number end |
#contact_i_t_phone_number=(value) ⇒ Object
Sets the contactITPhoneNumber property value. Phone number of the person/organization responsible for IT support.
138 139 140 |
# File 'lib/models/intune_brand.rb', line 138 def contact_i_t_phone_number=(value) @contact_i_t_phone_number = value end |
#dark_background_logo ⇒ Object
Gets the darkBackgroundLogo property value. Logo image displayed in Company Portal apps which have a dark background behind the logo.
154 155 156 |
# File 'lib/models/intune_brand.rb', line 154 def dark_background_logo return @dark_background_logo end |
#dark_background_logo=(value) ⇒ Object
Sets the darkBackgroundLogo property value. Logo image displayed in Company Portal apps which have a dark background behind the logo.
162 163 164 |
# File 'lib/models/intune_brand.rb', line 162 def dark_background_logo=(value) @dark_background_logo = value end |
#display_name ⇒ Object
Gets the displayName property value. Company/organization name that is displayed to end users.
169 170 171 |
# File 'lib/models/intune_brand.rb', line 169 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. Company/organization name that is displayed to end users.
177 178 179 |
# File 'lib/models/intune_brand.rb', line 177 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 |
# File 'lib/models/intune_brand.rb', line 184 def get_field_deserializers() return { "contactITEmailAddress" => lambda {|n| @contact_i_t_email_address = n.get_string_value() }, "contactITName" => lambda {|n| @contact_i_t_name = n.get_string_value() }, "contactITNotes" => lambda {|n| @contact_i_t_notes = n.get_string_value() }, "contactITPhoneNumber" => lambda {|n| @contact_i_t_phone_number = n.get_string_value() }, "darkBackgroundLogo" => lambda {|n| @dark_background_logo = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::MimeContent.create_from_discriminator_value(pn) }) }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "lightBackgroundLogo" => lambda {|n| @light_background_logo = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::MimeContent.create_from_discriminator_value(pn) }) }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "onlineSupportSiteName" => lambda {|n| @online_support_site_name = n.get_string_value() }, "onlineSupportSiteUrl" => lambda {|n| @online_support_site_url = n.get_string_value() }, "privacyUrl" => lambda {|n| @privacy_url = n.get_string_value() }, "showDisplayNameNextToLogo" => lambda {|n| @show_display_name_next_to_logo = n.get_boolean_value() }, "showLogo" => lambda {|n| @show_logo = n.get_boolean_value() }, "showNameNextToLogo" => lambda {|n| @show_name_next_to_logo = n.get_boolean_value() }, "themeColor" => lambda {|n| @theme_color = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::RgbColor.create_from_discriminator_value(pn) }) }, } end |
#light_background_logo ⇒ Object
Gets the lightBackgroundLogo property value. Logo image displayed in Company Portal apps which have a light background behind the logo.
207 208 209 |
# File 'lib/models/intune_brand.rb', line 207 def light_background_logo return @light_background_logo end |
#light_background_logo=(value) ⇒ Object
Sets the lightBackgroundLogo property value. Logo image displayed in Company Portal apps which have a light background behind the logo.
215 216 217 |
# File 'lib/models/intune_brand.rb', line 215 def light_background_logo=(value) @light_background_logo = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
222 223 224 |
# File 'lib/models/intune_brand.rb', line 222 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
230 231 232 |
# File 'lib/models/intune_brand.rb', line 230 def odata_type=(value) @odata_type = value end |
#online_support_site_name ⇒ Object
Gets the onlineSupportSiteName property value. Display name of the company/organization’s IT helpdesk site.
237 238 239 |
# File 'lib/models/intune_brand.rb', line 237 def online_support_site_name return @online_support_site_name end |
#online_support_site_name=(value) ⇒ Object
Sets the onlineSupportSiteName property value. Display name of the company/organization’s IT helpdesk site.
245 246 247 |
# File 'lib/models/intune_brand.rb', line 245 def online_support_site_name=(value) @online_support_site_name = value end |
#online_support_site_url ⇒ Object
Gets the onlineSupportSiteUrl property value. URL to the company/organization’s IT helpdesk site.
252 253 254 |
# File 'lib/models/intune_brand.rb', line 252 def online_support_site_url return @online_support_site_url end |
#online_support_site_url=(value) ⇒ Object
Sets the onlineSupportSiteUrl property value. URL to the company/organization’s IT helpdesk site.
260 261 262 |
# File 'lib/models/intune_brand.rb', line 260 def online_support_site_url=(value) @online_support_site_url = value end |
#privacy_url ⇒ Object
Gets the privacyUrl property value. URL to the company/organization’s privacy policy.
267 268 269 |
# File 'lib/models/intune_brand.rb', line 267 def privacy_url return @privacy_url end |
#privacy_url=(value) ⇒ Object
Sets the privacyUrl property value. URL to the company/organization’s privacy policy.
275 276 277 |
# File 'lib/models/intune_brand.rb', line 275 def privacy_url=(value) @privacy_url = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 |
# File 'lib/models/intune_brand.rb', line 283 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("contactITEmailAddress", @contact_i_t_email_address) writer.write_string_value("contactITName", @contact_i_t_name) writer.write_string_value("contactITNotes", @contact_i_t_notes) writer.write_string_value("contactITPhoneNumber", @contact_i_t_phone_number) writer.write_object_value("darkBackgroundLogo", @dark_background_logo) writer.write_string_value("displayName", @display_name) writer.write_object_value("lightBackgroundLogo", @light_background_logo) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("onlineSupportSiteName", @online_support_site_name) writer.write_string_value("onlineSupportSiteUrl", @online_support_site_url) writer.write_string_value("privacyUrl", @privacy_url) writer.write_boolean_value("showDisplayNameNextToLogo", @show_display_name_next_to_logo) writer.write_boolean_value("showLogo", @show_logo) writer.write_boolean_value("showNameNextToLogo", @show_name_next_to_logo) writer.write_object_value("themeColor", @theme_color) writer.write_additional_data(@additional_data) end |
#show_display_name_next_to_logo ⇒ Object
Gets the showDisplayNameNextToLogo property value. Boolean that represents whether the administrator-supplied display name will be shown next to the logo image.
306 307 308 |
# File 'lib/models/intune_brand.rb', line 306 def show_display_name_next_to_logo return @show_display_name_next_to_logo end |
#show_display_name_next_to_logo=(value) ⇒ Object
Sets the showDisplayNameNextToLogo property value. Boolean that represents whether the administrator-supplied display name will be shown next to the logo image.
314 315 316 |
# File 'lib/models/intune_brand.rb', line 314 def show_display_name_next_to_logo=(value) @show_display_name_next_to_logo = value end |
#show_logo ⇒ Object
Gets the showLogo property value. Boolean that represents whether the administrator-supplied logo images are shown or not shown.
321 322 323 |
# File 'lib/models/intune_brand.rb', line 321 def show_logo return @show_logo end |
#show_logo=(value) ⇒ Object
Sets the showLogo property value. Boolean that represents whether the administrator-supplied logo images are shown or not shown.
329 330 331 |
# File 'lib/models/intune_brand.rb', line 329 def show_logo=(value) @show_logo = value end |
#show_name_next_to_logo ⇒ Object
Gets the showNameNextToLogo property value. Boolean that represents whether the administrator-supplied display name will be shown next to the logo image.
336 337 338 |
# File 'lib/models/intune_brand.rb', line 336 def show_name_next_to_logo return @show_name_next_to_logo end |
#show_name_next_to_logo=(value) ⇒ Object
Sets the showNameNextToLogo property value. Boolean that represents whether the administrator-supplied display name will be shown next to the logo image.
344 345 346 |
# File 'lib/models/intune_brand.rb', line 344 def show_name_next_to_logo=(value) @show_name_next_to_logo = value end |
#theme_color ⇒ Object
Gets the themeColor property value. Primary theme color used in the Company Portal applications and web portal.
351 352 353 |
# File 'lib/models/intune_brand.rb', line 351 def theme_color return @theme_color end |
#theme_color=(value) ⇒ Object
Sets the themeColor property value. Primary theme color used in the Company Portal applications and web portal.
359 360 361 |
# File 'lib/models/intune_brand.rb', line 359 def theme_color=(value) @theme_color = value end |