Sha256: 1dddc48334aa4fc8d5dd0e011ac37dcc857a24f35b10eeb44f8cc181d7ff0f6d

Contents?: true

Size: 1.51 KB

Versions: 1

Compression:

Stored size: 1.51 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::Reservations::Mgmt::V2019_07_19_preview
  module Models
    #
    # Name of the resource provide by the resource Provider. Please use this
    # name property for quotaRequests.
    #
    class ResourceName

      include MsRestAzure

      # @return [String] Resource name.
      attr_accessor :value

      # @return [String] Resource display name.
      attr_accessor :localized_value


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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_reservations-0.20.0 lib/2019-07-19-preview/generated/azure_mgmt_reservations/models/resource_name.rb