Sha256: 1fa3a88963baf8d3bd6d7c03abb0fc415854f5fa44fb7c89c7fdeff58c9c81ac
Contents?: true
Size: 1.2 KB
Versions: 1
Compression:
Stored size: 1.2 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::V2020_01_01 module Models # # Details of the resource that was assessed # class ResourceDetails include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["OnPremiseSql"] = "OnPremiseSqlResourceDetails" @@discriminatorMap["OnPremise"] = "OnPremiseResourceDetails" @@discriminatorMap["Azure"] = "AzureResourceDetails" def initialize @source = "ResourceDetails" end attr_accessor :source # # Mapper for ResourceDetails class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ResourceDetails', type: { name: 'Composite', polymorphic_discriminator: 'source', uber_parent: 'ResourceDetails', class_name: 'ResourceDetails', model_properties: { } } } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_security-0.19.0 | lib/2020-01-01/generated/azure_mgmt_security/models/resource_details.rb |