class Google::Apis::DfareportingV3_5::Flight
Attributes
end_date[RW]
Corresponds to the JSON property `endDate` @return [Date]
rate_or_cost[RW]
Rate or cost of this flight. Corresponds to the JSON property `rateOrCost` @return [Fixnum]
start_date[RW]
Corresponds to the JSON property `startDate` @return [Date]
units[RW]
Units of this flight. Corresponds to the JSON property `units` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 5811 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 5816 def update!(**args) @end_date = args[:end_date] if args.key?(:end_date) @rate_or_cost = args[:rate_or_cost] if args.key?(:rate_or_cost) @start_date = args[:start_date] if args.key?(:start_date) @units = args[:units] if args.key?(:units) end