Class: Peddler::APIs::Support20250201::Participant

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/support_2025_02_01.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#display_name ⇒ String (readonly)

Returns the value of attribute display_name.

Returns:

  • (String)


297
298
299
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 297

def display_name
  @display_name
end

#role ⇒ String (readonly)

Returns the value of attribute role.

Returns:

  • (String)


298
299
300
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 298

def role
  @role
end

Class Method Details

.[](display_name:, role:) ⇒ Peddler::APIs::Support20250201::Participant .[](arg0, arg1) ⇒ Peddler::APIs::Support20250201::Participant

Overloads:



290
291
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 290

def self.[]: (display_name: String, role: String) -> Peddler::APIs::Support20250201::Participant
| (String, String) -> Peddler::APIs::Support20250201::Participant

.members ⇒ [ :display_name, :role ]

Returns:

  • ([ :display_name, :role ])


293
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 293

def self.members: () -> [ :display_name, :role ]

.new(display_name:, role:) ⇒ Peddler::APIs::Support20250201::Participant .new(arg0, arg1) ⇒ Peddler::APIs::Support20250201::Participant

Overloads:



288
289
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 288

def self.new: (display_name: String, role: String) -> Peddler::APIs::Support20250201::Participant
| (String, String) -> Peddler::APIs::Support20250201::Participant

.parse ⇒ Peddler::APIs::Support20250201::Participant

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



295
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 295

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Support20250201::Participant

Instance Method Details

#members ⇒ [ :display_name, :role ]

Returns:

  • ([ :display_name, :role ])


300
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 300

def members: () -> [ :display_name, :role ]

#to_h ⇒ { display_name: String, role: String }

Returns:

  • ({ display_name: String, role: String })


301
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 301

def to_h: () -> { display_name: String, role: String }