# 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::ADHybridHealthService::Mgmt::V2014_01_01
  module Models
    #
    # The delta attributes.
    #
    class AttributeDelta

      include MsRestAzure

      # @return [Array<ValueDelta>] The delta values.
      attr_accessor :values

      # @return [String] The name of the attribute delta.
      attr_accessor :name

      # @return [AttributeDeltaOperationType] The attribute delta operation
      # type. Possible values include: 'Undefined', 'Add', 'Replace', 'Update',
      # 'Delete'
      attr_accessor :operation_type

      # @return [ValueType] The value type. Possible values include:
      # 'Undefined', 'Dn', 'Binary', 'String', 'Integer', 'Boolean'
      attr_accessor :value_type

      # @return [Boolean] Indicates if the attribute delta is multivalued or
      # not.
      attr_accessor :multi_valued


      #
      # Mapper for AttributeDelta class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'AttributeDelta',
          type: {
            name: 'Composite',
            class_name: 'AttributeDelta',
            model_properties: {
              values: {
                client_side_validation: true,
                required: false,
                serialized_name: 'values',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'ValueDeltaElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'ValueDelta'
                      }
                  }
                }
              },
              name: {
                client_side_validation: true,
                required: false,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              operation_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'operationType',
                type: {
                  name: 'String'
                }
              },
              value_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'valueType',
                type: {
                  name: 'String'
                }
              },
              multi_valued: {
                client_side_validation: true,
                required: false,
                serialized_name: 'multiValued',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end
