# 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::DataLakeStore::Mgmt::V2016_11_01
  module Models
    #
    # The encryption identity properties.
    #
    class EncryptionIdentity

      include MsRestAzure

      # @return [String] The type of encryption being used. Currently the only
      # supported type is 'SystemAssigned'. Default value: 'SystemAssigned' .
      attr_accessor :type

      # @return The principal identifier associated with the encryption.
      attr_accessor :principal_id

      # @return The tenant identifier associated with the encryption.
      attr_accessor :tenant_id


      #
      # Mapper for EncryptionIdentity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EncryptionIdentity',
          type: {
            name: 'Composite',
            class_name: 'EncryptionIdentity',
            model_properties: {
              type: {
                client_side_validation: true,
                required: true,
                is_constant: true,
                serialized_name: 'type',
                default_value: 'SystemAssigned',
                type: {
                  name: 'String'
                }
              },
              principal_id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'principalId',
                type: {
                  name: 'String'
                }
              },
              tenant_id: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'tenantId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
