Class: MicrosoftGraph::Models::ExternalDomainFederation
- Inherits:
-
IdentitySource
- Object
- IdentitySource
- MicrosoftGraph::Models::ExternalDomainFederation
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/external_domain_federation.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
-
#display_name ⇒ Object
Gets the displayName property value.
-
#display_name=(value) ⇒ Object
Sets the displayName property value.
-
#domain_name ⇒ Object
Gets the domainName property value.
-
#domain_name=(value) ⇒ Object
Sets the domainName property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new externalDomainFederation and sets the default values.
-
#issuer_uri ⇒ Object
Gets the issuerUri property value.
-
#issuer_uri=(value) ⇒ Object
Sets the issuerUri property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from IdentitySource
#additional_data, #additional_data=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new externalDomainFederation and sets the default values.
22 23 24 25 |
# File 'lib/models/external_domain_federation.rb', line 22 def initialize() super @odata_type = "#microsoft.graph.externalDomainFederation" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
31 32 33 34 |
# File 'lib/models/external_domain_federation.rb', line 31 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ExternalDomainFederation.new end |
Instance Method Details
#display_name ⇒ Object
Gets the displayName property value. The name of the identity source, typically also the domain name. Read only.
39 40 41 |
# File 'lib/models/external_domain_federation.rb', line 39 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The name of the identity source, typically also the domain name. Read only.
47 48 49 |
# File 'lib/models/external_domain_federation.rb', line 47 def display_name=(value) @display_name = value end |
#domain_name ⇒ Object
Gets the domainName property value. The domain name. Read only.
54 55 56 |
# File 'lib/models/external_domain_federation.rb', line 54 def domain_name return @domain_name end |
#domain_name=(value) ⇒ Object
Sets the domainName property value. The domain name. Read only.
62 63 64 |
# File 'lib/models/external_domain_federation.rb', line 62 def domain_name=(value) @domain_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
69 70 71 72 73 74 75 |
# File 'lib/models/external_domain_federation.rb', line 69 def get_field_deserializers() return super.merge({ "displayName" => lambda {|n| @display_name = n.get_string_value() }, "domainName" => lambda {|n| @domain_name = n.get_string_value() }, "issuerUri" => lambda {|n| @issuer_uri = n.get_string_value() }, }) end |
#issuer_uri ⇒ Object
Gets the issuerUri property value. The issuerURI of the incoming federation. Read only.
80 81 82 |
# File 'lib/models/external_domain_federation.rb', line 80 def issuer_uri return @issuer_uri end |
#issuer_uri=(value) ⇒ Object
Sets the issuerUri property value. The issuerURI of the incoming federation. Read only.
88 89 90 |
# File 'lib/models/external_domain_federation.rb', line 88 def issuer_uri=(value) @issuer_uri = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
96 97 98 99 100 101 102 |
# File 'lib/models/external_domain_federation.rb', line 96 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("displayName", @display_name) writer.write_string_value("domainName", @domain_name) writer.write_string_value("issuerUri", @issuer_uri) end |