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.
-
#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.
40 41 42 |
# File 'lib/models/conditional_access_root.rb', line 40 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
48 49 50 51 |
# File 'lib/models/conditional_access_root.rb', line 48 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.
25 26 27 |
# File 'lib/models/conditional_access_root.rb', line 25 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.
33 34 35 |
# File 'lib/models/conditional_access_root.rb', line 33 def authentication_context_class_references=(value) @authentication_context_class_references = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
56 57 58 59 60 61 62 63 |
# File 'lib/models/conditional_access_root.rb', line 56 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) }) }, "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.
68 69 70 |
# File 'lib/models/conditional_access_root.rb', line 68 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.
76 77 78 |
# File 'lib/models/conditional_access_root.rb', line 76 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.
83 84 85 |
# File 'lib/models/conditional_access_root.rb', line 83 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.
91 92 93 |
# File 'lib/models/conditional_access_root.rb', line 91 def policies=(value) @policies = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
99 100 101 102 103 104 105 106 |
# File 'lib/models/conditional_access_root.rb', line 99 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_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.
111 112 113 |
# File 'lib/models/conditional_access_root.rb', line 111 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.
119 120 121 |
# File 'lib/models/conditional_access_root.rb', line 119 def templates=(value) @templates = value end |