Sha256: cca0e5d67fe705324605cc8b128081d0a4fdd6887e9283c9ee868e2712c8b463

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 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
    #
    # Information about the disk
    #
    class DiskInfo

      include MsRestAzure

      # @return [String] the disk size in bytes
      attr_accessor :capacity

      # @return [String] the available disk space in bytes
      attr_accessor :available_space


      #
      # Mapper for DiskInfo class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'DiskInfo',
          type: {
            name: 'Composite',
            class_name: 'DiskInfo',
            model_properties: {
              capacity: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Capacity',
                type: {
                  name: 'String'
                }
              },
              available_space: {
                client_side_validation: true,
                required: false,
                serialized_name: 'AvailableSpace',
                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/disk_info.rb
azure_service_fabric-0.18.0 lib/7.0.0.42/generated/azure_service_fabric/models/disk_info.rb