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)


512
513
514
# File 'sig/peddler/apis/notifications_v1.rbs', line 512

def payload_version
  @payload_version
end

#test_scenarioString? (readonly)

Returns the value of attribute test_scenario.

Returns:

  • (String, nil)


513
514
515
# File 'sig/peddler/apis/notifications_v1.rbs', line 513

def test_scenario
  @test_scenario
end

Class Method Details

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

Overloads:



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

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 ])


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

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

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

Overloads:



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

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:



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

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 ])


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

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

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

Returns:

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


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

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