# 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::CognitiveServices::WebSearch::V1_0
  module Models
    #
    # Defines a date and time for a geographical location.
    #
    class TimeZoneTimeZoneInformation

      include MsRestAzure

      # @return [String] The name of the geographical location.For example,
      # County; City; City, State; City, State, Country; or Time Zone.
      attr_accessor :location

      # @return [String] The data and time specified in the form,
      # YYYY-MM-DDThh;mm:ss.ssssssZ.
      attr_accessor :time

      # @return [String] The offset from UTC. For example, UTC-7.
      attr_accessor :utc_offset


      #
      # Mapper for TimeZoneTimeZoneInformation class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end
