class Google::Apis::QpxExpressV1::CarrierData

Information about a carrier (ie. an airline, bus line, railroad, etc) that might be useful to display to an end-user.

Attributes

code[RW]

The IATA designator of a carrier (airline, etc). For example, for American Airlines, the code is AA. Corresponds to the JSON property `code` @return [String]

kind[RW]

Identifies this as a kind of carrier (ie. an airline, bus line, railroad, etc). Value: the fixed string qpxexpress#carrierData. Corresponds to the JSON property `kind` @return [String]

name[RW]

The long, full name of a carrier. For example: American Airlines. 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 163
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 168
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