# 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::CDN::Mgmt::V2020_04_15
  module Models
    #
    # Defines how to identify a parameter for a specific purpose e.g. expires
    #
    class UrlSigningParamIdentifier

      include MsRestAzure

      # @return [ParamIndicator] Indicates the purpose of the parameter.
      # Possible values include: 'Expires', 'KeyId', 'Signature'
      attr_accessor :param_indicator

      # @return [String] Parameter name
      attr_accessor :param_name


      #
      # Mapper for UrlSigningParamIdentifier class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'UrlSigningParamIdentifier',
          type: {
            name: 'Composite',
            class_name: 'UrlSigningParamIdentifier',
            model_properties: {
              param_indicator: {
                client_side_validation: true,
                required: true,
                serialized_name: 'paramIndicator',
                type: {
                  name: 'String'
                }
              },
              param_name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'paramName',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
