# 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::DataFactory::Mgmt::V2018_06_01
  module Models
    #
    # Defines the response of a trigger subscription operation.
    #
    class TriggerSubscriptionOperationStatus

      include MsRestAzure

      # @return [String] Trigger name.
      attr_accessor :trigger_name

      # @return [EventSubscriptionStatus] Event Subscription Status. Possible
      # values include: 'Enabled', 'Provisioning', 'Deprovisioning',
      # 'Disabled', 'Unknown'
      attr_accessor :status


      #
      # Mapper for TriggerSubscriptionOperationStatus class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'TriggerSubscriptionOperationStatus',
          type: {
            name: 'Composite',
            class_name: 'TriggerSubscriptionOperationStatus',
            model_properties: {
              trigger_name: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'triggerName',
                type: {
                  name: 'String'
                }
              },
              status: {
                client_side_validation: true,
                required: false,
                read_only: true,
                serialized_name: 'status',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
