Class: Peddler::APIs::NotificationsV1::CreateDestinationResponse

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:



63
64
65
# File 'sig/peddler/apis/notifications_v1.rbs', line 63

def errors
  @errors
end

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

Returns the value of attribute payload.



64
65
66
# File 'sig/peddler/apis/notifications_v1.rbs', line 64

def payload
  @payload
end

Class Method Details

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



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

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

.members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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

.parsePeddler::APIs::NotificationsV1::CreateDestinationResponse

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :errors, :payload ]

Returns:

  • ([ :errors, :payload ])


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

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

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



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

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