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