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:



421
422
423
# File 'sig/peddler/apis/notifications_v1.rbs', line 421

def errors
  @errors
end

#payloadString? (readonly)

Returns the value of attribute payload.

Returns:

  • (String, nil)


422
423
424
# File 'sig/peddler/apis/notifications_v1.rbs', line 422

def payload
  @payload
end

Class Method Details

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



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

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


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

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

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



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

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:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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

Returns:



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

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