class Azure::ServiceFabric::V6_4_0_36::Models::ApplicationUpgradeCompletedEvent

Application Upgrade Completed event.

Attributes

Kind[RW]
application_type_name[RW]

@return [String] Application type name.

application_type_version[RW]

@return [String] Application type version.

overall_upgrade_elapsed_time_in_ms[RW]

@return [Float] Overall upgrade time in milli-seconds.

Public Class Methods

mapper() click to toggle source

Mapper for ApplicationUpgradeCompletedEvent class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/6.4.0.36/generated/azure_service_fabric/models/application_upgrade_completed_event.rb, line 36
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationUpgradeCompleted',
    type: {
      name: 'Composite',
      class_name: 'ApplicationUpgradeCompletedEvent',
      model_properties: {
        event_instance_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'EventInstanceId',
          type: {
            name: 'String'
          }
        },
        category: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Category',
          type: {
            name: 'String'
          }
        },
        time_stamp: {
          client_side_validation: true,
          required: true,
          serialized_name: 'TimeStamp',
          type: {
            name: 'DateTime'
          }
        },
        has_correlated_events: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HasCorrelatedEvents',
          type: {
            name: 'Boolean'
          }
        },
        Kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'Kind',
          type: {
            name: 'String'
          }
        },
        application_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ApplicationId',
          type: {
            name: 'String'
          }
        },
        application_type_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ApplicationTypeName',
          type: {
            name: 'String'
          }
        },
        application_type_version: {
          client_side_validation: true,
          required: true,
          serialized_name: 'ApplicationTypeVersion',
          type: {
            name: 'String'
          }
        },
        overall_upgrade_elapsed_time_in_ms: {
          client_side_validation: true,
          required: true,
          serialized_name: 'OverallUpgradeElapsedTimeInMs',
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end
new() click to toggle source
# File lib/6.4.0.36/generated/azure_service_fabric/models/application_upgrade_completed_event.rb, line 16
def initialize
  @Kind = "ApplicationUpgradeCompleted"
end