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:



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

def errors
  @errors
end

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

Returns the value of attribute payload.



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

def payload
  @payload
end

Class Method Details

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



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

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


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

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

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



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

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:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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