Sha256: 34151ab4957428bd5d66f8fe39694337e7168ef58f11d621e1ea4c5cfc8a6e02

Contents?: true

Size: 1.62 KB

Versions: 5

Compression:

Stored size: 1.62 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::CDN::Mgmt::V2020_04_15
  module Models
    #
    # The result of the GetSupportedOptimizationTypes API
    #
    class SupportedOptimizationTypesListResult

      include MsRestAzure

      # @return [Array<OptimizationType>] Supported optimization types for a
      # profile.
      attr_accessor :supported_optimization_types


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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_mgmt_cdn-0.18.2 lib/2020-04-15/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb
azure_mgmt_cdn-0.18.1 lib/2020-04-15/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb
azure_mgmt_cdn-0.17.7 lib/2020-04-15/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb
azure_mgmt_cdn-0.17.6 lib/2020-04-15/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb
azure_mgmt_cdn-0.17.5 lib/2020-04-15/generated/azure_mgmt_cdn/models/supported_optimization_types_list_result.rb