Class: MicrosoftGraph::Models::VerifiedDomain
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::VerifiedDomain
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/verified_domain.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.
-
#capabilities ⇒ Object
Gets the capabilities property value.
-
#capabilities=(value) ⇒ Object
Sets the capabilities property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new verifiedDomain and sets the default values.
-
#is_default ⇒ Object
Gets the isDefault property value.
-
#is_default=(value) ⇒ Object
Sets the isDefault property value.
-
#is_initial ⇒ Object
Gets the isInitial property value.
-
#is_initial=(value) ⇒ Object
Sets the isInitial property value.
-
#name ⇒ Object
Gets the name property value.
-
#name=(value) ⇒ Object
Sets the name property value.
-
#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.
-
#type ⇒ Object
Gets the type property value.
-
#type=(value) ⇒ Object
Sets the type property value.
Constructor Details
#initialize ⇒ Object
Instantiates a new verifiedDomain and sets the default values.
64 65 66 |
# File 'lib/models/verified_domain.rb', line 64 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
72 73 74 75 |
# File 'lib/models/verified_domain.rb', line 72 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return VerifiedDomain.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/verified_domain.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/verified_domain.rb', line 42 def additional_data=(value) @additional_data = value end |
#capabilities ⇒ Object
Gets the capabilities property value. For example, Email, OfficeCommunicationsOnline.
49 50 51 |
# File 'lib/models/verified_domain.rb', line 49 def capabilities return @capabilities end |
#capabilities=(value) ⇒ Object
Sets the capabilities property value. For example, Email, OfficeCommunicationsOnline.
57 58 59 |
# File 'lib/models/verified_domain.rb', line 57 def capabilities=(value) @capabilities = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
80 81 82 83 84 85 86 87 88 89 |
# File 'lib/models/verified_domain.rb', line 80 def get_field_deserializers() return { "capabilities" => lambda {|n| @capabilities = n.get_string_value() }, "isDefault" => lambda {|n| @is_default = n.get_boolean_value() }, "isInitial" => lambda {|n| @is_initial = n.get_boolean_value() }, "name" => lambda {|n| @name = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "type" => lambda {|n| @type = n.get_string_value() }, } end |
#is_default ⇒ Object
Gets the isDefault property value. true if this is the default domain associated with the tenant; otherwise, false.
94 95 96 |
# File 'lib/models/verified_domain.rb', line 94 def is_default return @is_default end |
#is_default=(value) ⇒ Object
Sets the isDefault property value. true if this is the default domain associated with the tenant; otherwise, false.
102 103 104 |
# File 'lib/models/verified_domain.rb', line 102 def is_default=(value) @is_default = value end |
#is_initial ⇒ Object
Gets the isInitial property value. true if this is the initial domain associated with the tenant; otherwise, false.
109 110 111 |
# File 'lib/models/verified_domain.rb', line 109 def is_initial return @is_initial end |
#is_initial=(value) ⇒ Object
Sets the isInitial property value. true if this is the initial domain associated with the tenant; otherwise, false.
117 118 119 |
# File 'lib/models/verified_domain.rb', line 117 def is_initial=(value) @is_initial = value end |
#name ⇒ Object
Gets the name property value. The domain name; for example, contoso.onmicrosoft.com.
124 125 126 |
# File 'lib/models/verified_domain.rb', line 124 def name return @name end |
#name=(value) ⇒ Object
Sets the name property value. The domain name; for example, contoso.onmicrosoft.com.
132 133 134 |
# File 'lib/models/verified_domain.rb', line 132 def name=(value) @name = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
139 140 141 |
# File 'lib/models/verified_domain.rb', line 139 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
147 148 149 |
# File 'lib/models/verified_domain.rb', line 147 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
155 156 157 158 159 160 161 162 163 164 |
# File 'lib/models/verified_domain.rb', line 155 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("capabilities", @capabilities) writer.write_boolean_value("isDefault", @is_default) writer.write_boolean_value("isInitial", @is_initial) writer.write_string_value("name", @name) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("type", @type) writer.write_additional_data(@additional_data) end |
#type ⇒ Object
Gets the type property value. For example, Managed.
169 170 171 |
# File 'lib/models/verified_domain.rb', line 169 def type return @type end |
#type=(value) ⇒ Object
Sets the type property value. For example, Managed.
177 178 179 |
# File 'lib/models/verified_domain.rb', line 177 def type=(value) @type = value end |