# 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::TimeSeriesInsights::Mgmt::V2018_08_15_preview
  module Models
    #
    # An object that represents the offset information for the local timestamp
    # format specified. Should not be specified for LocalTimestampFormat -
    # Embedded.
    #
    class LocalTimestampTimeZoneOffset

      include MsRestAzure

      # @return [String] The event property that will be contain the offset
      # information to calculate the local timestamp. When the
      # LocalTimestampFormat is Iana, the property name will contain the name
      # of the column which contains IANA Timezone Name (eg: Americas/Los
      # Angeles). When LocalTimestampFormat is Timespan, it contains the name
      # of property which contains values representing the offset (eg: P1D or
      # 1.00:00:00)
      attr_accessor :property_name


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