Class: Peddler::APIs::NotificationsV1::GetDestinationResponse

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:



279
280
281
# File 'sig/peddler/apis/notifications_v1.rbs', line 279

def errors
  @errors
end

#payloadPeddler::APIs::NotificationsV1::Destination? (readonly)

Returns the value of attribute payload.



280
281
282
# File 'sig/peddler/apis/notifications_v1.rbs', line 280

def payload
  @payload
end

Class Method Details

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



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

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

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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

.parsePeddler::APIs::NotificationsV1::GetDestinationResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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