Sha256: 1c3fd97cf4ff8dff85218d9c42042ebe94a2ac79bfe66d947a33522f7d187962

Contents?: true

Size: 1.78 KB

Versions: 2

Compression:

Stored size: 1.78 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::V7_0_0_42
  module Models
    #
    # Describes the partition information for the name as a string that is
    # based on partition schemes.
    #
    class NamedPartitionInformation < PartitionInformation

      include MsRestAzure


      def initialize
        @ServicePartitionKind = "Named"
      end

      attr_accessor :ServicePartitionKind

      # @return [String] Name of the partition.
      attr_accessor :name


      #
      # Mapper for NamedPartitionInformation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Named',
          type: {
            name: 'Composite',
            class_name: 'NamedPartitionInformation',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Id',
                type: {
                  name: 'String'
                }
              },
              ServicePartitionKind: {
                client_side_validation: true,
                required: true,
                serialized_name: 'ServicePartitionKind',
                type: {
                  name: 'String'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Name',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/7.0.0.42/generated/azure_service_fabric/models/named_partition_information.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/named_partition_information.rb