class Azure::CognitiveServices::WebSearch::V1_0::Models::TimeZoneTimeZoneInformation
Defines a date and time for a geographical location.
Attributes
location[RW]
@return [String] The name of the geographical location.For example, County; City; City, State; City, State, Country; or Time Zone.
time[RW]
@return [String] The data and time specified in the form, YYYY-MM-DDThh;mm:ss.ssssssZ.
utc_offset[RW]
@return [String] The offset from UTC. For example, UTC-7.
Private Class Methods
mapper()
click to toggle source
Mapper for TimeZoneTimeZoneInformation
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/1.0/generated/azure_cognitiveservices_websearch/models/time_zone_time_zone_information.rb, line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TimeZone/TimeZoneInformation', type: { name: 'Composite', class_name: 'TimeZoneTimeZoneInformation', model_properties: { location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, time: { client_side_validation: true, required: true, serialized_name: 'time', type: { name: 'String' } }, utc_offset: { client_side_validation: true, required: true, serialized_name: 'utcOffset', type: { name: 'String' } } } } } end