Class: Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::LocalTimestampTimeZoneOffset

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/local_timestamp_time_zone_offset.rb

Overview

An object that represents the offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#property_nameString

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)

Returns:

  • (String)

    The event property that will be contain the offset



24
25
26
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/local_timestamp_time_zone_offset.rb', line 24

def property_name
  @property_name
end

Class Method Details

.mapperObject

Mapper for LocalTimestampTimeZoneOffset class as Ruby Hash. This will be used for serialization/deserialization.



31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/local_timestamp_time_zone_offset.rb', line 31

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