Sha256: 714836a86aa218f0e5461ab597b64090e7fe82f79218c2b73c03999e168d473f

Contents?: true

Size: 1.85 KB

Versions: 5

Compression:

Stored size: 1.85 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ServiceFabric::V6_2_0_9
  module Models
    #
    # Represents the base for all Cluster Events.
    #
    class ClusterEvent < FabricEvent

      include MsRestAzure


      def initialize
        @Kind = "ClusterEvent"
      end

      attr_accessor :Kind


      #
      # Mapper for ClusterEvent class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ClusterEvent',
          type: {
            name: 'Composite',
            class_name: 'ClusterEvent',
            model_properties: {
              event_instance_id: {
                client_side_validation: true,
                required: true,
                serialized_name: 'EventInstanceId',
                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'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/cluster_event.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/cluster_event.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/cluster_event.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/cluster_event.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/cluster_event.rb