Class: MicrosoftGraph::Models::OrganizationalBrandingLocalization

Inherits:
OrganizationalBrandingProperties show all
Includes:
MicrosoftKiotaAbstractions::Parsable
Defined in:
lib/models/organizational_branding_localization.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from OrganizationalBrandingProperties

#background_color, #background_color=, #background_image, #background_image=, #background_image_relative_url, #background_image_relative_url=, #banner_logo, #banner_logo=, #banner_logo_relative_url, #banner_logo_relative_url=, #cdn_list, #cdn_list=, #custom_account_reset_credentials_url, #custom_account_reset_credentials_url=, #custom_c_s_s, #custom_c_s_s=, #custom_c_s_s_relative_url, #custom_c_s_s_relative_url=, #custom_cannot_access_your_account_text, #custom_cannot_access_your_account_text=, #custom_cannot_access_your_account_url, #custom_cannot_access_your_account_url=, #custom_forgot_my_password_text, #custom_forgot_my_password_text=, #custom_privacy_and_cookies_text, #custom_privacy_and_cookies_text=, #custom_privacy_and_cookies_url, #custom_privacy_and_cookies_url=, #custom_reset_it_now_text, #custom_reset_it_now_text=, #custom_terms_of_use_text, #custom_terms_of_use_text=, #custom_terms_of_use_url, #custom_terms_of_use_url=, #favicon, #favicon=, #favicon_relative_url, #favicon_relative_url=, #header_background_color, #header_background_color=, #header_logo, #header_logo=, #header_logo_relative_url, #header_logo_relative_url=, #login_page_layout_configuration, #login_page_layout_configuration=, #login_page_text_visibility_settings, #login_page_text_visibility_settings=, #sign_in_page_text, #sign_in_page_text=, #square_logo, #square_logo=, #square_logo_dark, #square_logo_dark=, #square_logo_dark_relative_url, #square_logo_dark_relative_url=, #square_logo_relative_url, #square_logo_relative_url=, #username_hint_text, #username_hint_text=

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

Instantiates a new organizationalBrandingLocalization and sets the default values.



13
14
15
16
# File 'lib/models/organizational_branding_localization.rb', line 13

def initialize()
    super
    @odata_type = "#microsoft.graph.organizationalBrandingLocalization"
end

Class Method Details

.create_from_discriminator_value(parse_node) ⇒ Object

Creates a new instance of the appropriate class based on discriminator value

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a organizational_branding_localization

Raises:

  • (StandardError)


22
23
24
25
# File 'lib/models/organizational_branding_localization.rb', line 22

def self.create_from_discriminator_value(parse_node)
    raise StandardError, 'parse_node cannot be null' if parse_node.nil?
    return OrganizationalBrandingLocalization.new
end

Instance Method Details

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



30
31
32
33
# File 'lib/models/organizational_branding_localization.rb', line 30

def get_field_deserializers()
    return super.merge({
    })
end

#serialize(writer) ⇒ Object

Serializes information the current object

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


39
40
41
42
# File 'lib/models/organizational_branding_localization.rb', line 39

def serialize(writer)
    raise StandardError, 'writer cannot be null' if writer.nil?
    super
end