class Google::Apis::QpxExpressV1::BagDescriptor

Information about an item of baggage.

Attributes

commercial_name[RW]

Provides the commercial name for an optional service. Corresponds to the JSON property `commercialName` @return [String]

count[RW]

How many of this type of bag will be checked on this flight. Corresponds to the JSON property `count` @return [Fixnum]

description[RW]

A description of the baggage. Corresponds to the JSON property `description` @return [Array<String>]

kind[RW]

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

subcode[RW]

The standard IATA subcode used to identify this optional service. Corresponds to the JSON property `subcode` @return [String]

Public Class Methods

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