# 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::V7_2_preview module Models # # Role definition permissions. # class Permission include MsRestAzure # @return [Array] Action permissions that are granted. attr_accessor :actions # @return [Array] Action permissions that are excluded but not # denied. They may be granted by other role definitions assigned to a # principal. attr_accessor :not_actions # @return [Array] Data action permissions that are granted. attr_accessor :data_actions # @return [Array] Data action permissions that are excluded # but not denied. They may be granted by other role definitions assigned # to a principal. attr_accessor :not_data_actions # # Mapper for Permission class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Permission', type: { name: 'Composite', class_name: 'Permission', model_properties: { actions: { client_side_validation: true, required: false, serialized_name: 'actions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, not_actions: { client_side_validation: true, required: false, serialized_name: 'notActions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, data_actions: { client_side_validation: true, required: false, serialized_name: 'dataActions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DataActionElementType', type: { name: 'String' } } } }, not_data_actions: { client_side_validation: true, required: false, serialized_name: 'notDataActions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'DataActionElementType', type: { name: 'String' } } } } } } } end end end end