# 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::ContainerService::Mgmt::V2020_09_01 module Models # # Model object. # # class AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem include MsRestAzure # @return [Boolean] Whether this version is the default agent pool # version. attr_accessor :default # @return [String] Kubernetes version (major, minor, patch). attr_accessor :kubernetes_version # @return [Boolean] Whether Kubernetes version is currently in preview. attr_accessor :is_preview # # Mapper for AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem # class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AgentPoolAvailableVersionsProperties_agentPoolVersionsItem', type: { name: 'Composite', class_name: 'AgentPoolAvailableVersionsPropertiesAgentPoolVersionsItem', model_properties: { default: { client_side_validation: true, required: false, serialized_name: 'default', type: { name: 'Boolean' } }, kubernetes_version: { client_side_validation: true, required: false, serialized_name: 'kubernetesVersion', type: { name: 'String' } }, is_preview: { client_side_validation: true, required: false, serialized_name: 'isPreview', type: { name: 'Boolean' } } } } } end end end end