Class: MicrosoftGraph::Models::TargetedManagedAppConfiguration
- Inherits:
-
ManagedAppConfiguration
- Object
- Entity
- ManagedAppPolicy
- ManagedAppConfiguration
- MicrosoftGraph::Models::TargetedManagedAppConfiguration
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/targeted_managed_app_configuration.rb
Overview
Configuration used to deliver a set of custom settings as-is to all users in the targeted security group
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
-
#apps ⇒ Object
Gets the apps property value.
-
#apps=(value) ⇒ Object
Sets the apps property value.
-
#assignments ⇒ Object
Gets the assignments property value.
-
#assignments=(value) ⇒ Object
Sets the assignments property value.
-
#deployed_app_count ⇒ Object
Gets the deployedAppCount property value.
-
#deployed_app_count=(value) ⇒ Object
Sets the deployedAppCount property value.
-
#deployment_summary ⇒ Object
Gets the deploymentSummary property value.
-
#deployment_summary=(value) ⇒ Object
Sets the deploymentSummary property value.
-
#get_field_deserializers ⇒ Object
The deserialization information for the current model.
-
#initialize ⇒ Object
constructor
Instantiates a new targetedManagedAppConfiguration and sets the default values.
-
#is_assigned ⇒ Object
Gets the isAssigned property value.
-
#is_assigned=(value) ⇒ Object
Sets the isAssigned property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
Methods inherited from ManagedAppConfiguration
#custom_settings, #custom_settings=
Methods inherited from ManagedAppPolicy
#created_date_time, #created_date_time=, #description, #description=, #display_name, #display_name=, #last_modified_date_time, #last_modified_date_time=, #version, #version=
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new targetedManagedAppConfiguration and sets the default values.
60 61 62 63 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 60 def initialize() super @odata_type = "#microsoft.graph.targetedManagedAppConfiguration" end |
Class Method Details
.create_from_discriminator_value(parse_node) ⇒ Object
Creates a new instance of the appropriate class based on discriminator value
69 70 71 72 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 69 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return TargetedManagedAppConfiguration.new end |
Instance Method Details
#apps ⇒ Object
Gets the apps property value. List of apps to which the policy is deployed.
30 31 32 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 30 def apps return @apps end |
#apps=(value) ⇒ Object
Sets the apps property value. List of apps to which the policy is deployed.
38 39 40 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 38 def apps=(value) @apps = value end |
#assignments ⇒ Object
Gets the assignments property value. Navigation property to list of inclusion and exclusion groups to which the policy is deployed.
45 46 47 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 45 def assignments return @assignments end |
#assignments=(value) ⇒ Object
Sets the assignments property value. Navigation property to list of inclusion and exclusion groups to which the policy is deployed.
53 54 55 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 53 def assignments=(value) @assignments = value end |
#deployed_app_count ⇒ Object
Gets the deployedAppCount property value. Count of apps to which the current policy is deployed.
77 78 79 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 77 def deployed_app_count return @deployed_app_count end |
#deployed_app_count=(value) ⇒ Object
Sets the deployedAppCount property value. Count of apps to which the current policy is deployed.
85 86 87 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 85 def deployed_app_count=(value) @deployed_app_count = value end |
#deployment_summary ⇒ Object
Gets the deploymentSummary property value. Navigation property to deployment summary of the configuration.
92 93 94 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 92 def deployment_summary return @deployment_summary end |
#deployment_summary=(value) ⇒ Object
Sets the deploymentSummary property value. Navigation property to deployment summary of the configuration.
100 101 102 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 100 def deployment_summary=(value) @deployment_summary = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
107 108 109 110 111 112 113 114 115 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 107 def get_field_deserializers() return super.merge({ "apps" => lambda {|n| @apps = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ManagedMobileApp.create_from_discriminator_value(pn) }) }, "assignments" => lambda {|n| @assignments = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::TargetedManagedAppPolicyAssignment.create_from_discriminator_value(pn) }) }, "deployedAppCount" => lambda {|n| @deployed_app_count = n.get_number_value() }, "deploymentSummary" => lambda {|n| @deployment_summary = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ManagedAppPolicyDeploymentSummary.create_from_discriminator_value(pn) }) }, "isAssigned" => lambda {|n| @is_assigned = n.get_boolean_value() }, }) end |
#is_assigned ⇒ Object
Gets the isAssigned property value. Indicates if the policy is deployed to any inclusion groups or not.
120 121 122 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 120 def is_assigned return @is_assigned end |
#is_assigned=(value) ⇒ Object
Sets the isAssigned property value. Indicates if the policy is deployed to any inclusion groups or not.
128 129 130 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 128 def is_assigned=(value) @is_assigned = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
136 137 138 139 140 141 142 143 144 |
# File 'lib/models/targeted_managed_app_configuration.rb', line 136 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_collection_of_object_values("apps", @apps) writer.write_collection_of_object_values("assignments", @assignments) writer.write_number_value("deployedAppCount", @deployed_app_count) writer.write_object_value("deploymentSummary", @deployment_summary) writer.write_boolean_value("isAssigned", @is_assigned) end |