Class: Google::Apis::WalletobjectsV1::InfoModuleData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/walletobjects_v1/classes.rb,
lib/google/apis/walletobjects_v1/representations.rb,
lib/google/apis/walletobjects_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InfoModuleData

Returns a new instance of InfoModuleData.



4209
4210
4211
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4209

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#label_value_rowsArray<Google::Apis::WalletobjectsV1::LabelValueRow>

A list of collections of labels and values. These will be displayed one after the other in a singular column. Corresponds to the JSON property labelValueRows



4201
4202
4203
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4201

def label_value_rows
  @label_value_rows
end

#show_last_update_timeBoolean Also known as: show_last_update_time?

Corresponds to the JSON property showLastUpdateTime

Returns:

  • (Boolean)


4206
4207
4208
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4206

def show_last_update_time
  @show_last_update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4214
4215
4216
4217
# File 'lib/google/apis/walletobjects_v1/classes.rb', line 4214

def update!(**args)
  @label_value_rows = args[:label_value_rows] if args.key?(:label_value_rows)
  @show_last_update_time = args[:show_last_update_time] if args.key?(:show_last_update_time)
end