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)


404
405
406
# File 'sig/peddler/apis/notifications_v1.rbs', line 404

def destination_id
  @destination_id
end

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

Returns the value of attribute test_notification.



405
406
407
# File 'sig/peddler/apis/notifications_v1.rbs', line 405

def test_notification
  @test_notification
end

Class Method Details

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



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

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


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

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

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



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

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:



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

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


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

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

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

Returns:



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

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