# 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::StorSimple8000Series::Mgmt::V2017_06_01
  module Models
    #
    # The encryption settings.
    #
    class EncryptionSettings < BaseModel

      include MsRestAzure

      # @return [EncryptionStatus] The encryption status to indicates if
      # encryption is enabled or not. Possible values include: 'Enabled',
      # 'Disabled'
      attr_accessor :encryption_status

      # @return [KeyRolloverStatus] The key rollover status to indicates if key
      # rollover is required or not. If secret's encryption has been upgraded,
      # then it requires key rollover. Possible values include: 'Required',
      # 'NotRequired'
      attr_accessor :key_rollover_status


      #
      # Mapper for EncryptionSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'EncryptionSettings',
          type: {
            name: 'Composite',
            class_name: 'EncryptionSettings',
            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'
                }
              },
              kind: {
                client_side_validation: true,
                required: false,
                serialized_name: 'kind',
                type: {
                  name: 'Enum',
                  module: 'Kind'
                }
              },
              encryption_status: {
                client_side_validation: true,
                required: true,
                serialized_name: 'properties.encryptionStatus',
                type: {
                  name: 'Enum',
                  module: 'EncryptionStatus'
                }
              },
              key_rollover_status: {
                client_side_validation: true,
                required: true,
                serialized_name: 'properties.keyRolloverStatus',
                type: {
                  name: 'Enum',
                  module: 'KeyRolloverStatus'
                }
              }
            }
          }
        }
      end
    end
  end
end
