# 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::KeyVault::Mgmt::V2018_02_14 module Models # # Permissions the identity has for keys, secrets, certificates and storage. # class Permissions include MsRestAzure # @return [Array] Permissions to keys attr_accessor :keys # @return [Array] Permissions to secrets attr_accessor :secrets # @return [Array] Permissions to certificates attr_accessor :certificates # @return [Array] Permissions to storage accounts attr_accessor :storage # # Mapper for Permissions class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Permissions', type: { name: 'Composite', class_name: 'Permissions', model_properties: { keys: { client_side_validation: true, required: false, serialized_name: 'keys', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'KeyPermissionsElementType', type: { name: 'String' } } } }, secrets: { client_side_validation: true, required: false, serialized_name: 'secrets', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'SecretPermissionsElementType', type: { name: 'String' } } } }, certificates: { client_side_validation: true, required: false, serialized_name: 'certificates', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'CertificatePermissionsElementType', type: { name: 'String' } } } }, storage: { client_side_validation: true, required: false, serialized_name: 'storage', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StoragePermissionsElementType', type: { name: 'String' } } } } } } } end end end end