Class: MicrosoftGraph::Models::ConditionalAccessRoot
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/conditional_access_root.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
-
#authentication_context_class_references ⇒ Object
Gets the authenticationContextClassReferences property value.
-
#authentication_context_class_references=(value) ⇒ Object
Sets the authenticationContextClassReferences property value.
-
#authentication_strength ⇒ Object
Gets the authenticationStrength property value.
-
#authentication_strength=(value) ⇒ Object
Sets the authenticationStrength property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new conditionalAccessRoot and sets the default values.
-
#named_locations ⇒ Object
Gets the namedLocations property value.
-
#named_locations=(value) ⇒ Object
Sets the namedLocations property value.
-
#policies ⇒ Object
Gets the policies property value.
-
#policies=(value) ⇒ Object
Sets the policies property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#templates ⇒ Object
Gets the templates property value.
-
#templates=(value) ⇒ Object
Sets the templates property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new conditionalAccessRoot and sets the default values.
58 59 60 |
# File 'lib/models/conditional_access_root.rb', line 58 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
66 67 68 69 |
# File 'lib/models/conditional_access_root.rb', line 66 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ConditionalAccessRoot.new end |
Instance Method Details
#authentication_context_class_references ⇒ Object
Gets the authenticationContextClassReferences property value. Read-only. Nullable. Returns a collection of the specified authentication context class references.
28 29 30 |
# File 'lib/models/conditional_access_root.rb', line 28 def authentication_context_class_references return @authentication_context_class_references end |
#authentication_context_class_references=(value) ⇒ Object
Sets the authenticationContextClassReferences property value. Read-only. Nullable. Returns a collection of the specified authentication context class references.
36 37 38 |
# File 'lib/models/conditional_access_root.rb', line 36 def authentication_context_class_references=(value) @authentication_context_class_references = value end |
#authentication_strength ⇒ Object
Gets the authenticationStrength property value. The authenticationStrength property
43 44 45 |
# File 'lib/models/conditional_access_root.rb', line 43 def authentication_strength return @authentication_strength end |
#authentication_strength=(value) ⇒ Object
Sets the authenticationStrength property value. The authenticationStrength property
51 52 53 |
# File 'lib/models/conditional_access_root.rb', line 51 def authentication_strength=(value) @authentication_strength = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
74 75 76 77 78 79 80 81 82 |
# File 'lib/models/conditional_access_root.rb', line 74 def get_field_deserializers() return super.merge({ "authenticationContextClassReferences" => lambda {|n| @authentication_context_class_references = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::AuthenticationContextClassReference.create_from_discriminator_value(pn) }) }, "authenticationStrength" => lambda {|n| @authentication_strength = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::AuthenticationStrengthRoot.create_from_discriminator_value(pn) }) }, "namedLocations" => lambda {|n| @named_locations = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::NamedLocation.create_from_discriminator_value(pn) }) }, "policies" => lambda {|n| @policies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ConditionalAccessPolicy.create_from_discriminator_value(pn) }) }, "templates" => lambda {|n| @templates = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ConditionalAccessTemplate.create_from_discriminator_value(pn) }) }, }) end |
#named_locations ⇒ Object
Gets the namedLocations property value. Read-only. Nullable. Returns a collection of the specified named locations.
87 88 89 |
# File 'lib/models/conditional_access_root.rb', line 87 def named_locations return @named_locations end |
#named_locations=(value) ⇒ Object
Sets the namedLocations property value. Read-only. Nullable. Returns a collection of the specified named locations.
95 96 97 |
# File 'lib/models/conditional_access_root.rb', line 95 def named_locations=(value) @named_locations = value end |
#policies ⇒ Object
Gets the policies property value. Read-only. Nullable. Returns a collection of the specified Conditional Access (CA) policies.
102 103 104 |
# File 'lib/models/conditional_access_root.rb', line 102 def policies return @policies end |
#policies=(value) ⇒ Object
Sets the policies property value. Read-only. Nullable. Returns a collection of the specified Conditional Access (CA) policies.
110 111 112 |
# File 'lib/models/conditional_access_root.rb', line 110 def policies=(value) @policies = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
118 119 120 121 122 123 124 125 126 |
# File 'lib/models/conditional_access_root.rb', line 118 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_object_values("authenticationContextClassReferences", @authentication_context_class_references) writer.write_object_value("authenticationStrength", @authentication_strength) writer.write_collection_of_object_values("namedLocations", @named_locations) writer.write_collection_of_object_values("policies", @policies) writer.write_collection_of_object_values("templates", @templates) end |
#templates ⇒ Object
Gets the templates property value. Read-only. Nullable. Returns a collection of the specified Conditional Access templates.
131 132 133 |
# File 'lib/models/conditional_access_root.rb', line 131 def templates return @templates end |
#templates=(value) ⇒ Object
Sets the templates property value. Read-only. Nullable. Returns a collection of the specified Conditional Access templates.
139 140 141 |
# File 'lib/models/conditional_access_root.rb', line 139 def templates=(value) @templates = value end |