Class: Peddler::APIs::NotificationsV1::SendTestNotificationRequest

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

#destination_idString? (readonly)

Returns the value of attribute destination_id.

Returns:

  • (String, nil)


439
440
441
# File 'sig/peddler/apis/notifications_v1.rbs', line 439

def destination_id
  @destination_id
end

#test_notificationPeddler::APIs::NotificationsV1::TestNotification? (readonly)

Returns the value of attribute test_notification.



440
441
442
# File 'sig/peddler/apis/notifications_v1.rbs', line 440

def test_notification
  @test_notification
end

Class Method Details

.[](destination_id:, test_notification:) ⇒ Peddler::APIs::NotificationsV1::SendTestNotificationRequest .[](arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::SendTestNotificationRequest



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

def self.[]: (?destination_id: String?, ?test_notification: Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
| (String?, Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest

.members[ :destination_id, :test_notification ]

Returns:

  • ([ :destination_id, :test_notification ])


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

def self.members: () -> [ :destination_id, :test_notification ]

.new(destination_id:, test_notification:) ⇒ Peddler::APIs::NotificationsV1::SendTestNotificationRequest .new(arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::SendTestNotificationRequest



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

def self.new: (?destination_id: String?, ?test_notification: Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest
| (String?, Peddler::APIs::NotificationsV1::TestNotification?) -> Peddler::APIs::NotificationsV1::SendTestNotificationRequest

.parsePeddler::APIs::NotificationsV1::SendTestNotificationRequest

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :destination_id, :test_notification ]

Returns:

  • ([ :destination_id, :test_notification ])


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

def members: () -> [ :destination_id, :test_notification ]

#to_h{ destination_id: String?, test_notification: Peddler::APIs::NotificationsV1::TestNotification? }

Returns:



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

def to_h: () -> { destination_id: String?, test_notification: Peddler::APIs::NotificationsV1::TestNotification? }