Sha256: 7fa11398be7729b23b596ccfe7dc07afe0616efb03348388331c8aaf2cf84b8e

Contents?: true

Size: 1.49 KB

Versions: 10

Compression:

Stored size: 1.49 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::CognitiveServices::Mgmt::V2017_04_18
  module Models
    #
    # The response to a list usage request.
    #
    class UsagesResult

      include MsRestAzure

      # @return [Array<Usage>] The list of usages for Cognitive Service
      # account.
      attr_accessor :value


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

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_cognitive_services-0.19.4 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
azure_mgmt_cognitive_services-0.19.3 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
azure_mgmt_cognitive_services-0.19.2 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
azure_mgmt_cognitive_services-0.19.1 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
azure_mgmt_cognitive_services-0.19.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
azure_mgmt_cognitive_services-0.18.3 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
azure_mgmt_cognitive_services-0.18.2 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
azure_mgmt_cognitive_services-0.18.1 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
azure_mgmt_cognitive_services-0.18.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
azure_mgmt_cognitive_services-0.17.0 lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb