class Azure::ServiceFabric::V7_0_0_42::Models::ApplicationEvent
Represents the base for all Application Events.
Attributes
Kind[RW]
application_id[RW]
@return [String] The identity of the application. This is an encoded representation of the application name. This is used in the REST APIs to identify the application resource. Starting in version 6.0, hierarchical names are delimited with the “~” character. For example, if the application name is “fabric:/myapp/app1”, the application identity would be “myapp~app1” in 6.0+ and “myapp/app1” in previous versions.
Private Class Methods
mapper()
click to toggle source
Mapper for ApplicationEvent
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/7.0.0.42/generated/azure_service_fabric/models/application_event.rb, line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ApplicationEvent', type: { name: 'Composite', class_name: 'ApplicationEvent', 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' } } } } } end
new()
click to toggle source
# File lib/7.0.0.42/generated/azure_service_fabric/models/application_event.rb, line 16 def initialize @Kind = "ApplicationEvent" end