class Google::Apis::QpxExpressV1::TimeOfDayRange

Two times in a single day defining a time range.

Attributes

earliest_time[RW]

The earliest time of day in HH:MM format. Corresponds to the JSON property `earliestTime` @return [String]

kind[RW]

Identifies this as a time of day range object, representing two times in a single day defining a time range. Value: the fixed string qpxexpress# timeOfDayRange. Corresponds to the JSON property `kind` @return [String]

latest_time[RW]

The latest time of day in HH:MM format. Corresponds to the JSON property `latestTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/qpx_express_v1/classes.rb, line 1066
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/qpx_express_v1/classes.rb, line 1071
def update!(**args)
  @earliest_time = args[:earliest_time] if args.key?(:earliest_time)
  @kind = args[:kind] if args.key?(:kind)
  @latest_time = args[:latest_time] if args.key?(:latest_time)
end