Class: Zavudev::Models::MessageContent::Section::Row
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, title:, description: nil) ⇒ Object
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
|
# File 'lib/zavudev/models/message_content.rb', line 485
class Row < Zavudev::Internal::Type::BaseModel
required :id, String
required :title, String
optional :description, String
end
|
Instance Attribute Details
#description ⇒ String?
499
|
# File 'lib/zavudev/models/message_content.rb', line 499
optional :description, String
|
#id ⇒ String
489
|
# File 'lib/zavudev/models/message_content.rb', line 489
required :id, String
|
#title ⇒ String
494
|
# File 'lib/zavudev/models/message_content.rb', line 494
required :title, String
|
Instance Method Details
#to_hash ⇒ { id: String, title: String, description: String }
424
|
# File 'sig/zavudev/models/message_content.rbs', line 424
def to_hash: -> { id: String, title: String, description: String }
|