Class: Peddler::APIs::NotificationsV1::TestNotification

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

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#payload_versionString (readonly)

Returns the value of attribute payload_version.

Returns:

  • (String)


473
474
475
# File 'sig/peddler/apis/notifications_v1.rbs', line 473

def payload_version
  @payload_version
end

#test_scenarioString? (readonly)

Returns the value of attribute test_scenario.

Returns:

  • (String, nil)


474
475
476
# File 'sig/peddler/apis/notifications_v1.rbs', line 474

def test_scenario
  @test_scenario
end

Class Method Details

.[](payload_version:, test_scenario:) ⇒ Peddler::APIs::NotificationsV1::TestNotification .[](arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::TestNotification

Overloads:



466
467
# File 'sig/peddler/apis/notifications_v1.rbs', line 466

def self.[]: (payload_version: String, ?test_scenario: String?) -> Peddler::APIs::NotificationsV1::TestNotification
| (String, String?) -> Peddler::APIs::NotificationsV1::TestNotification

.members[ :payload_version, :test_scenario ]

Returns:

  • ([ :payload_version, :test_scenario ])


469
# File 'sig/peddler/apis/notifications_v1.rbs', line 469

def self.members: () -> [ :payload_version, :test_scenario ]

.new(payload_version:, test_scenario:) ⇒ Peddler::APIs::NotificationsV1::TestNotification .new(arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::TestNotification

Overloads:



464
465
# File 'sig/peddler/apis/notifications_v1.rbs', line 464

def self.new: (payload_version: String, ?test_scenario: String?) -> Peddler::APIs::NotificationsV1::TestNotification
| (String, String?) -> Peddler::APIs::NotificationsV1::TestNotification

.parsePeddler::APIs::NotificationsV1::TestNotification

Parameters:

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

Returns:



471
# File 'sig/peddler/apis/notifications_v1.rbs', line 471

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

Instance Method Details

#members[ :payload_version, :test_scenario ]

Returns:

  • ([ :payload_version, :test_scenario ])


476
# File 'sig/peddler/apis/notifications_v1.rbs', line 476

def members: () -> [ :payload_version, :test_scenario ]

#to_h{ payload_version: String, test_scenario: String? }

Returns:

  • ({ payload_version: String, test_scenario: String? })


477
# File 'sig/peddler/apis/notifications_v1.rbs', line 477

def to_h: () -> { payload_version: String, test_scenario: String? }