Class: MicrosoftGraph::Models::TenantInformation
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::TenantInformation
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/tenant_information.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.
-
#default_domain_name ⇒ Object
Gets the defaultDomainName property value.
-
#default_domain_name=(value) ⇒ Object
Sets the defaultDomainName property value.
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#federation_brand_name ⇒ Object
Gets the federationBrandName property value.
-
#federation_brand_name=(value) ⇒ Object
Sets the federationBrandName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new tenantInformation and sets the default values.
-
#odata_type ⇒ Object
Gets the @odata.type property value.
-
#odata_type=(value) ⇒ Object
Sets the @odata.type property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#tenant_id ⇒ Object
Gets the tenantId property value.
-
#tenant_id=(value) ⇒ Object
Sets the tenantId property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new tenantInformation and sets the default values.
46 47 48 |
# File 'lib/models/tenant_information.rb', line 46 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
54 55 56 57 |
# File 'lib/models/tenant_information.rb', line 54 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return TenantInformation.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.
31 32 33 |
# File 'lib/models/tenant_information.rb', line 31 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.
39 40 41 |
# File 'lib/models/tenant_information.rb', line 39 def additional_data=(value) @additional_data = value end |
#default_domain_name ⇒ Object
Gets the defaultDomainName property value. Primary domain name of an Azure AD tenant.
62 63 64 |
# File 'lib/models/tenant_information.rb', line 62 def default_domain_name return @default_domain_name end |
#default_domain_name=(value) ⇒ Object
Sets the defaultDomainName property value. Primary domain name of an Azure AD tenant.
70 71 72 |
# File 'lib/models/tenant_information.rb', line 70 def default_domain_name=(value) @default_domain_name = value end |
#display_name ⇒ Object
Gets the displayName property value. Display name of an Azure AD tenant.
77 78 79 |
# File 'lib/models/tenant_information.rb', line 77 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. Display name of an Azure AD tenant.
85 86 87 |
# File 'lib/models/tenant_information.rb', line 85 def display_name=(value) @display_name = value end |
#federation_brand_name ⇒ Object
Gets the federationBrandName property value. Name shown to users that sign in to an Azure AD tenant.
92 93 94 |
# File 'lib/models/tenant_information.rb', line 92 def federation_brand_name return @federation_brand_name end |
#federation_brand_name=(value) ⇒ Object
Sets the federationBrandName property value. Name shown to users that sign in to an Azure AD tenant.
100 101 102 |
# File 'lib/models/tenant_information.rb', line 100 def federation_brand_name=(value) @federation_brand_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
107 108 109 110 111 112 113 114 115 |
# File 'lib/models/tenant_information.rb', line 107 def get_field_deserializers() return { "defaultDomainName" => lambda {|n| @default_domain_name = n.get_string_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "federationBrandName" => lambda {|n| @federation_brand_name = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "tenantId" => lambda {|n| @tenant_id = n.get_string_value() }, } end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
120 121 122 |
# File 'lib/models/tenant_information.rb', line 120 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
128 129 130 |
# File 'lib/models/tenant_information.rb', line 128 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
136 137 138 139 140 141 142 143 144 |
# File 'lib/models/tenant_information.rb', line 136 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("defaultDomainName", @default_domain_name) writer.write_string_value("displayName", @display_name) writer.write_string_value("federationBrandName", @federation_brand_name) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("tenantId", @tenant_id) writer.write_additional_data(@additional_data) end |
#tenant_id ⇒ Object
Gets the tenantId property value. Unique identifier of an Azure AD tenant.
149 150 151 |
# File 'lib/models/tenant_information.rb', line 149 def tenant_id return @tenant_id end |
#tenant_id=(value) ⇒ Object
Sets the tenantId property value. Unique identifier of an Azure AD tenant.
157 158 159 |
# File 'lib/models/tenant_information.rb', line 157 def tenant_id=(value) @tenant_id = value end |