class Google::Apis::QpxExpressV1::AircraftData

The make, model, and type of an aircraft.

Attributes

code[RW]

The aircraft code. For example, for a Boeing 777 the code would be 777. Corresponds to the JSON property `code` @return [String]

kind[RW]

Identifies this as an aircraftData object. Value: the fixed string qpxexpress# aircraftData Corresponds to the JSON property `kind` @return [String]

name[RW]

The name of an aircraft, for example Boeing 777. Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/qpx_express_v1/classes.rb, line 45
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 50
def update!(**args)
  @code = args[:code] if args.key?(:code)
  @kind = args[:kind] if args.key?(:kind)
  @name = args[:name] if args.key?(:name)
end