Sha256: 13051bea7cb7dbc4664b3b84454797a635acd1b6531346140d0c81303b5422ab

Contents?: true

Size: 1.74 KB

Versions: 1

Compression:

Stored size: 1.74 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::Security::Mgmt::V2019_01_01
  module Models
    #
    # The kind of the security setting
    #
    class SettingResource < Resource

      include MsRestAzure


      def initialize
        @kind = "SettingResource"
      end

      attr_accessor :kind


      #
      # Mapper for SettingResource class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SettingResource',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'kind',
            uber_parent: 'Resource',
            class_name: 'SettingResource',
            model_properties: {
              id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'id',
                type: {
                  name: 'String'
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'type',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_security-0.19.0 lib/2019-01-01/generated/azure_mgmt_security/models/setting_resource.rb