# 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::ContainerInstance::Mgmt::V2020_11_01
  module Models
    #
    # The regional capabilities.
    #
    class Capabilities

      include MsRestAzure

      # @return [String] The resource type that this capability describes.
      attr_accessor :resource_type

      # @return [String] The OS type that this capability describes.
      attr_accessor :os_type

      # @return [String] The resource location.
      attr_accessor :location

      # @return [String] The ip address type that this capability describes.
      attr_accessor :ip_address_type

      # @return [String] The GPU sku that this capability describes.
      attr_accessor :gpu

      # @return [CapabilitiesCapabilities] The supported capabilities.
      attr_accessor :capabilities


      #
      # Mapper for Capabilities class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'Capabilities',
          type: {
            name: 'Composite',
            class_name: 'Capabilities',
            model_properties: {
              resource_type: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'resourceType',
                type: {
                  name: 'String'
                }
              },
              os_type: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'osType',
                type: {
                  name: 'String'
                }
              },
              location: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'location',
                type: {
                  name: 'String'
                }
              },
              ip_address_type: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'ipAddressType',
                type: {
                  name: 'String'
                }
              },
              gpu: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'gpu',
                type: {
                  name: 'String'
                }
              },
              capabilities: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'capabilities',
                type: {
                  name: 'Composite',
                  class_name: 'CapabilitiesCapabilities'
                }
              }
            }
          }
        }
      end
    end
  end
end
