Class: Peddler::APIs::NotificationsV1::GetDestinationsResponse

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:



296
297
298
# File 'sig/peddler/apis/notifications_v1.rbs', line 296

def errors
  @errors
end

#payloadArray[Peddler::APIs::NotificationsV1::Destination]? (readonly)

Returns the value of attribute payload.



297
298
299
# File 'sig/peddler/apis/notifications_v1.rbs', line 297

def payload
  @payload
end

Class Method Details

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



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

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

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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

.parsePeddler::APIs::NotificationsV1::GetDestinationsResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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