Class: Azure::TimeSeriesInsights::Mgmt::V2017_02_28_preview::Models::LocalTimestamp
- Inherits:
-
Object
- Object
- Azure::TimeSeriesInsights::Mgmt::V2017_02_28_preview::Models::LocalTimestamp
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/local_timestamp.rb
Overview
An object that represents the local timestamp property. It contains the format of local timestamp that needs to be used and the corresponding timezone offset information. If a value isn’t specified for localTimestamp, or if null, then the local timestamp will not be ingressed with the events.
Instance Attribute Summary collapse
-
#format ⇒ LocalTimestampFormat
the local timestamp property that needs to be set.
-
#time_zone_offset ⇒ LocalTimestampTimeZoneOffset
offset information for the local timestamp format specified.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LocalTimestamp class as Ruby Hash.
Instance Attribute Details
#format ⇒ LocalTimestampFormat
the local timestamp property that needs to be set. Possible values include: ‘Embedded’, ‘Iana’, ‘TimeSpan’
22 23 24 |
# File 'lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/local_timestamp.rb', line 22 def format @format end |
#time_zone_offset ⇒ LocalTimestampTimeZoneOffset
offset information for the local timestamp format specified. Should not be specified for LocalTimestampFormat - Embedded.
27 28 29 |
# File 'lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/local_timestamp.rb', line 27 def time_zone_offset @time_zone_offset end |
Class Method Details
.mapper ⇒ Object
Mapper for LocalTimestamp class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/local_timestamp.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LocalTimestamp', type: { name: 'Composite', class_name: 'LocalTimestamp', model_properties: { format: { client_side_validation: true, required: false, serialized_name: 'format', type: { name: 'Enum', module: 'LocalTimestampFormat' } }, time_zone_offset: { client_side_validation: true, required: false, serialized_name: 'timeZoneOffset', type: { name: 'Composite', class_name: 'LocalTimestampTimeZoneOffset' } } } } } end |