Sha256: 38d0627c019c2a054d12f8000c624c8203f1c85f9d689150eecd2a80a13abff1

Contents?: true

Size: 1.17 KB

Versions: 5

Compression:

Stored size: 1.17 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::Cosmosdb::Mgmt::V2019_12_12
  module Models
    #
    # Cosmos DB region to online or offline.
    #
    class RegionForOnlineOffline

      include MsRestAzure

      # @return [String] Cosmos DB region, with spaces between words and each
      # word capitalized.
      attr_accessor :region


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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cosmosdb-0.24.1 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb
azure_mgmt_cosmosdb-0.24.0 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb
azure_mgmt_cosmosdb-0.23.1 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb
azure_mgmt_cosmosdb-0.22.0 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb
azure_mgmt_cosmosdb-0.21.2 lib/2019-12-12/generated/azure_mgmt_cosmosdb/models/region_for_online_offline.rb