Class: MicrosoftGraph::Models::Fido2AuthenticationMethod
- Inherits:
-
AuthenticationMethod
- Object
- Entity
- AuthenticationMethod
- MicrosoftGraph::Models::Fido2AuthenticationMethod
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/fido2_authentication_method.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
-
#aa_guid ⇒ Object
Gets the aaGuid property value.
-
#aa_guid=(value) ⇒ Object
Sets the aaGuid property value.
-
#attestation_certificates ⇒ Object
Gets the attestationCertificates property value.
-
#attestation_certificates=(value) ⇒ Object
Sets the attestationCertificates property value.
-
#attestation_level ⇒ Object
Gets the attestationLevel property value.
-
#attestation_level=(value) ⇒ Object
Sets the attestationLevel property value.
-
#created_date_time ⇒ Object
Gets the createdDateTime property value.
-
#created_date_time=(value) ⇒ Object
Sets the createdDateTime 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 fido2AuthenticationMethod and sets the default values.
-
#model ⇒ Object
Gets the model property value.
-
#model=(value) ⇒ Object
Sets the model property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new fido2AuthenticationMethod and sets the default values.
77 78 79 80 |
# File 'lib/models/fido2_authentication_method.rb', line 77 def initialize() super @odata_type = "#microsoft.graph.fido2AuthenticationMethod" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
101 102 103 104 |
# File 'lib/models/fido2_authentication_method.rb', line 101 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return Fido2AuthenticationMethod.new end |
Instance Method Details
#aa_guid ⇒ Object
Gets the aaGuid property value. Authenticator Attestation GUID, an identifier that indicates the type (e.g. make and model) of the authenticator.
32 33 34 |
# File 'lib/models/fido2_authentication_method.rb', line 32 def aa_guid return @aa_guid end |
#aa_guid=(value) ⇒ Object
Sets the aaGuid property value. Authenticator Attestation GUID, an identifier that indicates the type (e.g. make and model) of the authenticator.
40 41 42 |
# File 'lib/models/fido2_authentication_method.rb', line 40 def aa_guid=(value) @aa_guid = value end |
#attestation_certificates ⇒ Object
Gets the attestationCertificates property value. The attestation certificate(s) attached to this security key.
47 48 49 |
# File 'lib/models/fido2_authentication_method.rb', line 47 def attestation_certificates return @attestation_certificates end |
#attestation_certificates=(value) ⇒ Object
Sets the attestationCertificates property value. The attestation certificate(s) attached to this security key.
55 56 57 |
# File 'lib/models/fido2_authentication_method.rb', line 55 def attestation_certificates=(value) @attestation_certificates = value end |
#attestation_level ⇒ Object
Gets the attestationLevel property value. The attestation level of this FIDO2 security key. Possible values are: attested, or notAttested.
62 63 64 |
# File 'lib/models/fido2_authentication_method.rb', line 62 def attestation_level return @attestation_level end |
#attestation_level=(value) ⇒ Object
Sets the attestationLevel property value. The attestation level of this FIDO2 security key. Possible values are: attested, or notAttested.
70 71 72 |
# File 'lib/models/fido2_authentication_method.rb', line 70 def attestation_level=(value) @attestation_level = value end |
#created_date_time ⇒ Object
Gets the createdDateTime property value. The timestamp when this key was registered to the user.
85 86 87 |
# File 'lib/models/fido2_authentication_method.rb', line 85 def created_date_time return @created_date_time end |
#created_date_time=(value) ⇒ Object
Sets the createdDateTime property value. The timestamp when this key was registered to the user.
93 94 95 |
# File 'lib/models/fido2_authentication_method.rb', line 93 def created_date_time=(value) @created_date_time = value end |
#display_name ⇒ Object
Gets the displayName property value. The display name of the key as given by the user.
109 110 111 |
# File 'lib/models/fido2_authentication_method.rb', line 109 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. The display name of the key as given by the user.
117 118 119 |
# File 'lib/models/fido2_authentication_method.rb', line 117 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
124 125 126 127 128 129 130 131 132 133 |
# File 'lib/models/fido2_authentication_method.rb', line 124 def get_field_deserializers() return super.merge({ "aaGuid" => lambda {|n| @aa_guid = n.get_string_value() }, "attestationCertificates" => lambda {|n| @attestation_certificates = n.get_collection_of_primitive_values(String) }, "attestationLevel" => lambda {|n| @attestation_level = n.get_enum_value(MicrosoftGraph::Models::AttestationLevel) }, "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "model" => lambda {|n| @model = n.get_string_value() }, }) end |
#model ⇒ Object
Gets the model property value. The manufacturer-assigned model of the FIDO2 security key.
138 139 140 |
# File 'lib/models/fido2_authentication_method.rb', line 138 def model return @model end |
#model=(value) ⇒ Object
Sets the model property value. The manufacturer-assigned model of the FIDO2 security key.
146 147 148 |
# File 'lib/models/fido2_authentication_method.rb', line 146 def model=(value) @model = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
154 155 156 157 158 159 160 161 162 163 |
# File 'lib/models/fido2_authentication_method.rb', line 154 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("aaGuid", @aa_guid) writer.write_collection_of_primitive_values("attestationCertificates", @attestation_certificates) writer.write_enum_value("attestationLevel", @attestation_level) writer.write_date_time_value("createdDateTime", @created_date_time) writer.write_string_value("displayName", @display_name) writer.write_string_value("model", @model) end |