Class: MicrosoftGraph::Models::ManagedAppPolicyDeploymentSummary
- Includes:
- MicrosoftKiotaAbstractions::Parsable
- Defined in:
- lib/models/managed_app_policy_deployment_summary.rb
Overview
The ManagedAppEntity is the base entity type for all other entity types under app management workflow.
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
-
#configuration_deployed_user_count ⇒ Object
Gets the configurationDeployedUserCount property value.
-
#configuration_deployed_user_count=(value) ⇒ Object
Sets the configurationDeployedUserCount property value.
-
#configuration_deployment_summary_per_app ⇒ Object
Gets the configurationDeploymentSummaryPerApp property value.
-
#configuration_deployment_summary_per_app=(value) ⇒ Object
Sets the configurationDeploymentSummaryPerApp 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 managedAppPolicyDeploymentSummary and sets the default values.
-
#last_refresh_time ⇒ Object
Gets the lastRefreshTime property value.
-
#last_refresh_time=(value) ⇒ Object
Sets the lastRefreshTime property value.
-
#serialize(writer) ⇒ Object
Serializes information the current object.
-
#version ⇒ Object
Gets the version property value.
-
#version=(value) ⇒ Object
Sets the version property value.
Methods inherited from Entity
#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=
Constructor Details
#initialize ⇒ Object
Instantiates a new managedAppPolicyDeploymentSummary and sets the default values.
61 62 63 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 61 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
69 70 71 72 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 69 def self.create_from_discriminator_value(parse_node) raise StandardError, 'parse_node cannot be null' if parse_node.nil? return ManagedAppPolicyDeploymentSummary.new end |
Instance Method Details
#configuration_deployed_user_count ⇒ Object
Gets the configurationDeployedUserCount property value. Not yet documented
31 32 33 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 31 def configuration_deployed_user_count return @configuration_deployed_user_count end |
#configuration_deployed_user_count=(value) ⇒ Object
Sets the configurationDeployedUserCount property value. Not yet documented
39 40 41 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 39 def configuration_deployed_user_count=(value) @configuration_deployed_user_count = value end |
#configuration_deployment_summary_per_app ⇒ Object
Gets the configurationDeploymentSummaryPerApp property value. Not yet documented
46 47 48 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 46 def configuration_deployment_summary_per_app return @configuration_deployment_summary_per_app end |
#configuration_deployment_summary_per_app=(value) ⇒ Object
Sets the configurationDeploymentSummaryPerApp property value. Not yet documented
54 55 56 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 54 def configuration_deployment_summary_per_app=(value) @configuration_deployment_summary_per_app = value end |
#display_name ⇒ Object
Gets the displayName property value. Not yet documented
77 78 79 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 77 def display_name return @display_name end |
#display_name=(value) ⇒ Object
Sets the displayName property value. Not yet documented
85 86 87 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 85 def display_name=(value) @display_name = value end |
#get_field_deserializers ⇒ Object
The deserialization information for the current model
92 93 94 95 96 97 98 99 100 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 92 def get_field_deserializers() return super.merge({ "configurationDeployedUserCount" => lambda {|n| @configuration_deployed_user_count = n.get_number_value() }, "configurationDeploymentSummaryPerApp" => lambda {|n| @configuration_deployment_summary_per_app = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::ManagedAppPolicyDeploymentSummaryPerApp.create_from_discriminator_value(pn) }) }, "displayName" => lambda {|n| @display_name = n.get_string_value() }, "lastRefreshTime" => lambda {|n| @last_refresh_time = n.get_date_time_value() }, "version" => lambda {|n| @version = n.get_string_value() }, }) end |
#last_refresh_time ⇒ Object
Gets the lastRefreshTime property value. Not yet documented
105 106 107 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 105 def last_refresh_time return @last_refresh_time end |
#last_refresh_time=(value) ⇒ Object
Sets the lastRefreshTime property value. Not yet documented
113 114 115 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 113 def last_refresh_time=(value) @last_refresh_time = value end |
#serialize(writer) ⇒ Object
Serializes information the current object
121 122 123 124 125 126 127 128 129 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 121 def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super writer.write_number_value("configurationDeployedUserCount", @configuration_deployed_user_count) writer.write_collection_of_object_values("configurationDeploymentSummaryPerApp", @configuration_deployment_summary_per_app) writer.write_string_value("displayName", @display_name) writer.write_date_time_value("lastRefreshTime", @last_refresh_time) writer.write_string_value("version", @version) end |
#version ⇒ Object
Gets the version property value. Version of the entity.
134 135 136 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 134 def version return @version end |
#version=(value) ⇒ Object
Sets the version property value. Version of the entity.
142 143 144 |
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 142 def version=(value) @version = value end |