Class: Peddler::APIs::NotificationsV1::Destination

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

#destination_idString (readonly)

Returns the value of attribute destination_id.

Returns:

  • (String)


147
148
149
# File 'sig/peddler/apis/notifications_v1.rbs', line 147

def destination_id
  @destination_id
end

#nameString (readonly)

Returns the value of attribute name.

Returns:

  • (String)


148
149
150
# File 'sig/peddler/apis/notifications_v1.rbs', line 148

def name
  @name
end

#resourcePeddler::APIs::NotificationsV1::DestinationResource (readonly)

Returns the value of attribute resource.



149
150
151
# File 'sig/peddler/apis/notifications_v1.rbs', line 149

def resource
  @resource
end

Class Method Details

.[](destination_id:, name:, resource:) ⇒ Peddler::APIs::NotificationsV1::Destination .[](arg0, arg1, arg2) ⇒ Peddler::APIs::NotificationsV1::Destination

Overloads:



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

def self.[]: (destination_id: String, name: String, resource: Peddler::APIs::NotificationsV1::DestinationResource) -> Peddler::APIs::NotificationsV1::Destination
| (String, String, Peddler::APIs::NotificationsV1::DestinationResource) -> Peddler::APIs::NotificationsV1::Destination

.members[ :destination_id, :name, :resource ]

Returns:

  • ([ :destination_id, :name, :resource ])


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

def self.members: () -> [ :destination_id, :name, :resource ]

.new(destination_id:, name:, resource:) ⇒ Peddler::APIs::NotificationsV1::Destination .new(arg0, arg1, arg2) ⇒ Peddler::APIs::NotificationsV1::Destination

Overloads:



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

def self.new: (destination_id: String, name: String, resource: Peddler::APIs::NotificationsV1::DestinationResource) -> Peddler::APIs::NotificationsV1::Destination
| (String, String, Peddler::APIs::NotificationsV1::DestinationResource) -> Peddler::APIs::NotificationsV1::Destination

.parsePeddler::APIs::NotificationsV1::Destination

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :destination_id, :name, :resource ]

Returns:

  • ([ :destination_id, :name, :resource ])


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

def members: () -> [ :destination_id, :name, :resource ]

#to_h{ destination_id: String, name: String, resource: Peddler::APIs::NotificationsV1::DestinationResource }

Returns:



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

def to_h: () -> { destination_id: String, name: String, resource: Peddler::APIs::NotificationsV1::DestinationResource }