Class: MicrosoftGraph::Models::ManagedAppPolicyDeploymentSummary

Inherits:
Entity
  • Object
show all
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

Instance Method Summary collapse

Methods inherited from Entity

#additional_data, #additional_data=, #id, #id=, #odata_type, #odata_type=

Constructor Details

#initializeObject

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

Parameters:

  • parse_node

    The parse node to use to read the discriminator value and create the object

Returns:

  • a managed_app_policy_deployment_summary

Raises:

  • (StandardError)


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_countObject

Gets the configurationDeployedUserCount property value. Not yet documented

Returns:

  • a integer



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

Parameters:

  • value

    Value to set for the configurationDeployedUserCount property.

Returns:

  • a void



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_appObject

Gets the configurationDeploymentSummaryPerApp property value. Not yet documented

Returns:

  • a managed_app_policy_deployment_summary_per_app



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

Parameters:

  • value

    Value to set for the configurationDeploymentSummaryPerApp property.

Returns:

  • a void



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_nameObject

Gets the displayName property value. Not yet documented

Returns:

  • a string



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

Parameters:

  • value

    Value to set for the displayName property.

Returns:

  • a void



85
86
87
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 85

def display_name=(value)
    @display_name = value
end

#get_field_deserializersObject

The deserialization information for the current model

Returns:

  • a i_dictionary



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_timeObject

Gets the lastRefreshTime property value. Not yet documented

Returns:

  • a date_time



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

Parameters:

  • value

    Value to set for the lastRefreshTime property.

Returns:

  • a void



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

Parameters:

  • writer

    Serialization writer to use to serialize this model

Returns:

  • a void

Raises:

  • (StandardError)


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

#versionObject

Gets the version property value. Version of the entity.

Returns:

  • a string



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.

Parameters:

  • value

    Value to set for the version property.

Returns:

  • a void



142
143
144
# File 'lib/models/managed_app_policy_deployment_summary.rb', line 142

def version=(value)
    @version = value
end