Class: Peddler::APIs::NotificationsV1::Destination
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::NotificationsV1::Destination
- Defined in:
- sig/peddler/apis/notifications_v1.rbs
Instance Attribute Summary collapse
-
#destination_id ⇒ String
readonly
Returns the value of attribute destination_id.
-
#name ⇒ String
readonly
Returns the value of attribute name.
-
#resource ⇒ Peddler::APIs::NotificationsV1::DestinationResource
readonly
Returns the value of attribute resource.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :destination_id, :name, :resource ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::NotificationsV1::Destination
Instance Method Summary collapse
-
#members ⇒ [ :destination_id, :name, :resource ]
-
#to_h ⇒ { destination_id: String, name: String, resource: Peddler::APIs::NotificationsV1::DestinationResource }
Instance Attribute Details
#destination_id ⇒ String (readonly)
Returns the value of attribute destination_id.
147 148 149 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 147 def destination_id @destination_id end |
#name ⇒ String (readonly)
Returns the value of attribute name.
148 149 150 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 148 def name @name end |
#resource ⇒ Peddler::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
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 ]
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
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
|
.parse ⇒ Peddler::APIs::NotificationsV1::Destination
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 ]
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 }
152 |
# File 'sig/peddler/apis/notifications_v1.rbs', line 152
def to_h: () -> { destination_id: String, name: String, resource: Peddler::APIs::NotificationsV1::DestinationResource }
|