Class: MicrosoftGraph::Models::AuthenticationFlowsPolicy
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/authentication_flows_policy.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
-
#description ⇒ Object
Gets the description property value.
-
#description=(value) ⇒ Object
Sets the description 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 authenticationFlowsPolicy and sets the default values.
-
#self_service_sign_up ⇒ Object
Gets the selfServiceSignUp property value.
-
#self_service_sign_up=(value) ⇒ Object
Sets the selfServiceSignUp 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 authenticationFlowsPolicy and sets the default values.
22 23 24 |
# File 'lib/models/authentication_flows_policy.rb', line 22 def initialize() super end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
30 31 32 33 |
# File 'lib/models/authentication_flows_policy.rb', line 30 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return AuthenticationFlowsPolicy.new end |
Instance Method Details
#description ⇒ Object
Gets the description property value. Inherited property. A description of the policy. Optional. Read-only.
38 39 40 |
# File 'lib/models/authentication_flows_policy.rb', line 38 def description return @description end |
#description=(value) ⇒ Object
Sets the description property value. Inherited property. A description of the policy. Optional. Read-only.
46 47 48 |
# File 'lib/models/authentication_flows_policy.rb', line 46 def description=(value) @description = value end |
#display_name ⇒ Object
Gets the displayName property value. Inherited property. The human-readable name of the policy. Optional. Read-only.
53 54 55 |
# File 'lib/models/authentication_flows_policy.rb', line 53 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. Inherited property. The human-readable name of the policy. Optional. Read-only.
61 62 63 |
# File 'lib/models/authentication_flows_policy.rb', line 61 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
68 69 70 71 72 73 74 |
# File 'lib/models/authentication_flows_policy.rb', line 68 def get_field_deserializers() return super.merge({ "description" => lambda {|n| @description = n.get_string_value() }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "selfServiceSignUp" => lambda {|n| @self_service_sign_up = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::SelfServiceSignUpAuthenticationFlowConfiguration.create_from_discriminator_value(pn) }) }, }) end |
#self_service_sign_up ⇒ Object
Gets the selfServiceSignUp property value. Contains selfServiceSignUpAuthenticationFlowConfiguration settings that convey whether self-service sign-up is enabled or disabled. Optional. Read-only.
79 80 81 |
# File 'lib/models/authentication_flows_policy.rb', line 79 def self_service_sign_up return @self_service_sign_up end |
#self_service_sign_up=(value) ⇒ Object
Sets the selfServiceSignUp property value. Contains selfServiceSignUpAuthenticationFlowConfiguration settings that convey whether self-service sign-up is enabled or disabled. Optional. Read-only.
87 88 89 |
# File 'lib/models/authentication_flows_policy.rb', line 87 def self_service_sign_up=(value) @self_service_sign_up = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
95 96 97 98 99 100 101 |
# File 'lib/models/authentication_flows_policy.rb', line 95 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_string_value("description", @description) writer.write_string_value("displayName", @display_name) writer.write_object_value("selfServiceSignUp", @self_service_sign_up) end |