Sha256: 04a7a6834a89aa321cc6e1bb0e8b50c438d86c4406a635f57789ce1d1a44ab94

Contents?: true

Size: 1.53 KB

Versions: 5

Compression:

Stored size: 1.53 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_4_0_36
  module Models
    #
    # Identifies the Service Fabric stateful service which is being backed up.
    #
    class ServiceBackupEntity < BackupEntity

      include MsRestAzure


      def initialize
        @EntityKind = "Service"
      end

      attr_accessor :EntityKind

      # @return [String] The full name of the service with 'fabric:' URI
      # scheme.
      attr_accessor :service_name


      #
      # Mapper for ServiceBackupEntity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Service',
          type: {
            name: 'Composite',
            class_name: 'ServiceBackupEntity',
            model_properties: {
              EntityKind: {
                client_side_validation: true,
                required: true,
                serialized_name: 'EntityKind',
                type: {
                  name: 'String'
                }
              },
              service_name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ServiceName',
                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.4.0.36/generated/azure_service_fabric/models/service_backup_entity.rb
azure_service_fabric-0.18.0 lib/6.4.0.36/generated/azure_service_fabric/models/service_backup_entity.rb
azure_service_fabric-0.17.2 lib/6.4.0.36/generated/azure_service_fabric/models/service_backup_entity.rb
azure_service_fabric-0.17.1 lib/6.4.0.36/generated/azure_service_fabric/models/service_backup_entity.rb
azure_service_fabric-0.17.0 lib/6.4.0.36/generated/azure_service_fabric/models/service_backup_entity.rb