Sha256: 34e2f96dfcb342a34ee9618f1f581bdb11e288b36bcd6161c30c832387623eb0

Contents?: true

Size: 1.44 KB

Versions: 3

Compression:

Stored size: 1.44 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::Mysql::Mgmt::V2017_12_01
  module Models
    #
    # A List of databases.
    #
    class DatabaseListResult

      include MsRestAzure

      # @return [Array<Database>] The list of databases housed in a server
      attr_accessor :value


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_mgmt_mysql-0.17.2 lib/2017-12-01/generated/azure_mgmt_mysql/models/database_list_result.rb
azure_mgmt_mysql-0.17.1 lib/2017-12-01/generated/azure_mgmt_mysql/models/database_list_result.rb
azure_mgmt_mysql-0.17.0 lib/2017-12-01/generated/azure_mgmt_mysql/models/database_list_result.rb