Class: Peddler::APIs::NotificationsV1::SendTestNotificationResponse

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

#errorsArray[Peddler::APIs::NotificationsV1::Error]? (readonly)

Returns the value of attribute errors.

Returns:



456
457
458
# File 'sig/peddler/apis/notifications_v1.rbs', line 456

def errors
  @errors
end

#payloadString? (readonly)

Returns the value of attribute payload.

Returns:

  • (String, nil)


457
458
459
# File 'sig/peddler/apis/notifications_v1.rbs', line 457

def payload
  @payload
end

Class Method Details

.[](errors:, payload:) ⇒ Peddler::APIs::NotificationsV1::SendTestNotificationResponse .[](arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::SendTestNotificationResponse



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

def self.[]: (?errors: Array[Peddler::APIs::NotificationsV1::Error]?, ?payload: String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
| (Array[Peddler::APIs::NotificationsV1::Error]?, String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

def self.members: () -> [ :errors, :payload ]

.new(errors:, payload:) ⇒ Peddler::APIs::NotificationsV1::SendTestNotificationResponse .new(arg0, arg1) ⇒ Peddler::APIs::NotificationsV1::SendTestNotificationResponse



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

def self.new: (?errors: Array[Peddler::APIs::NotificationsV1::Error]?, ?payload: String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse
| (Array[Peddler::APIs::NotificationsV1::Error]?, String?) -> Peddler::APIs::NotificationsV1::SendTestNotificationResponse

.parsePeddler::APIs::NotificationsV1::SendTestNotificationResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

def members: () -> [ :errors, :payload ]

#to_h{ errors: Array[Peddler::APIs::NotificationsV1::Error]?, payload: String? }

Returns:



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

def to_h: () -> { errors: Array[Peddler::APIs::NotificationsV1::Error]?, payload: String? }