Class: MicrosoftGraph::Models::ConditionalAccessApplications
- Inherits:
-
Object
- Object
- MicrosoftGraph::Models::ConditionalAccessApplications
- Includes:
- MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/conditional_access_applications.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.
-
#application_filter ⇒ Object
Gets the applicationFilter property value.
-
#application_filter=(value) ⇒ Object
Sets the applicationFilter property value.
-
#exclude_applications ⇒ Object
Gets the excludeApplications property value.
-
#exclude_applications=(value) ⇒ Object
Sets the excludeApplications property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#include_applications ⇒ Object
Gets the includeApplications property value.
-
#include_applications=(value) ⇒ Object
Sets the includeApplications property value.
-
#include_authentication_context_class_references ⇒ Object
Gets the includeAuthenticationContextClassReferences property value.
-
#include_authentication_context_class_references=(value) ⇒ Object
Sets the includeAuthenticationContextClassReferences property value.
-
#include_user_actions ⇒ Object
Gets the includeUserActions property value.
-
#include_user_actions=(value) ⇒ Object
Sets the includeUserActions property value.
-
#initialize ⇒ Object
constructor
Instantiates a new conditionalAccessApplications and sets the default values.
-
#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.
Constructor Details
#initialize ⇒ Object
Instantiates a new conditionalAccessApplications and sets the default values.
64 65 66 |
# File 'lib/models/conditional_access_applications.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/conditional_access_applications.rb', line 72 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ConditionalAccessApplications.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/conditional_access_applications.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/conditional_access_applications.rb', line 42 def additional_data=(value) @additional_data = value end |
#application_filter ⇒ Object
Gets the applicationFilter property value. The applicationFilter property
49 50 51 |
# File 'lib/models/conditional_access_applications.rb', line 49 def application_filter return @application_filter end |
#application_filter=(value) ⇒ Object
Sets the applicationFilter property value. The applicationFilter property
57 58 59 |
# File 'lib/models/conditional_access_applications.rb', line 57 def application_filter=(value) @application_filter = value end |
#exclude_applications ⇒ Object
Gets the excludeApplications property value. Can be one of the following: The list of client IDs (appId) explicitly excluded from the policy. Office365 - For the list of apps included in Office365, see Conditional Access target apps: Office 365
80 81 82 |
# File 'lib/models/conditional_access_applications.rb', line 80 def exclude_applications return @exclude_applications end |
#exclude_applications=(value) ⇒ Object
Sets the excludeApplications property value. Can be one of the following: The list of client IDs (appId) explicitly excluded from the policy. Office365 - For the list of apps included in Office365, see Conditional Access target apps: Office 365
88 89 90 |
# File 'lib/models/conditional_access_applications.rb', line 88 def exclude_applications=(value) @exclude_applications = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
95 96 97 98 99 100 101 102 103 104 |
# File 'lib/models/conditional_access_applications.rb', line 95 def get_field_deserializers() return { "applicationFilter" => lambda {|n| @application_filter = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ConditionalAccessFilter.create_from_discriminator_value(pn) }) }, "excludeApplications" => lambda {|n| @exclude_applications = n.get_collection_of_primitive_values(String) }, "includeApplications" => lambda {|n| @include_applications = n.get_collection_of_primitive_values(String) }, "includeAuthenticationContextClassReferences" => lambda {|n| @include_authentication_context_class_references = n.get_collection_of_primitive_values(String) }, "includeUserActions" => lambda {|n| @include_user_actions = n.get_collection_of_primitive_values(String) }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, } end |
#include_applications ⇒ Object
Gets the includeApplications property value. Can be one of the following: The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All Office365 - For the list of apps included in Office365, see Conditional Access target apps: Office 365
109 110 111 |
# File 'lib/models/conditional_access_applications.rb', line 109 def include_applications return @include_applications end |
#include_applications=(value) ⇒ Object
Sets the includeApplications property value. Can be one of the following: The list of client IDs (appId) the policy applies to, unless explicitly excluded (in excludeApplications) All Office365 - For the list of apps included in Office365, see Conditional Access target apps: Office 365
117 118 119 |
# File 'lib/models/conditional_access_applications.rb', line 117 def include_applications=(value) @include_applications = value end |
#include_authentication_context_class_references ⇒ Object
Gets the includeAuthenticationContextClassReferences property value. The includeAuthenticationContextClassReferences property
124 125 126 |
# File 'lib/models/conditional_access_applications.rb', line 124 def include_authentication_context_class_references return @include_authentication_context_class_references end |
#include_authentication_context_class_references=(value) ⇒ Object
Sets the includeAuthenticationContextClassReferences property value. The includeAuthenticationContextClassReferences property
132 133 134 |
# File 'lib/models/conditional_access_applications.rb', line 132 def include_authentication_context_class_references=(value) @include_authentication_context_class_references = value end |
#include_user_actions ⇒ Object
Gets the includeUserActions property value. User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice
139 140 141 |
# File 'lib/models/conditional_access_applications.rb', line 139 def include_user_actions return @include_user_actions end |
#include_user_actions=(value) ⇒ Object
Sets the includeUserActions property value. User actions to include. Supported values are urn:user:registersecurityinfo and urn:user:registerdevice
147 148 149 |
# File 'lib/models/conditional_access_applications.rb', line 147 def include_user_actions=(value) @include_user_actions = value end |
#odata_type ⇒ Object
Gets the @odata.type property value. The OdataType property
154 155 156 |
# File 'lib/models/conditional_access_applications.rb', line 154 def odata_type return @odata_type end |
#odata_type=(value) ⇒ Object
Sets the @odata.type property value. The OdataType property
162 163 164 |
# File 'lib/models/conditional_access_applications.rb', line 162 def odata_type=(value) @odata_type = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
170 171 172 173 174 175 176 177 178 179 |
# File 'lib/models/conditional_access_applications.rb', line 170 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_object_value("applicationFilter", @application_filter) writer.write_collection_of_primitive_values("excludeApplications", @exclude_applications) writer.write_collection_of_primitive_values("includeApplications", @include_applications) writer.write_collection_of_primitive_values("includeAuthenticationContextClassReferences", @include_authentication_context_class_references) writer.write_collection_of_primitive_values("includeUserActions", @include_user_actions) writer.write_string_value("@odata.type", @odata_type) writer.write_additional_data(@additional_data) end |