Class: Peddler::APIs::NotificationsV1::CreateSubscriptionRequest

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)


80
81
82
# File 'sig/peddler/apis/notifications_v1.rbs', line 80

def destination_id
  @destination_id
end

#payload_versionString (readonly)

Returns the value of attribute payload_version.

Returns:

  • (String)


81
82
83
# File 'sig/peddler/apis/notifications_v1.rbs', line 81

def payload_version
  @payload_version
end

#processing_directivePeddler::APIs::NotificationsV1::ProcessingDirective? (readonly)

Returns the value of attribute processing_directive.



82
83
84
# File 'sig/peddler/apis/notifications_v1.rbs', line 82

def processing_directive
  @processing_directive
end

Class Method Details

.[](destination_id:, payload_version:, processing_directive:) ⇒ Peddler::APIs::NotificationsV1::CreateSubscriptionRequest .[](arg0, arg1, arg2) ⇒ Peddler::APIs::NotificationsV1::CreateSubscriptionRequest

Overloads:



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

def self.[]: (destination_id: String, payload_version: String, ?processing_directive: Peddler::APIs::NotificationsV1::ProcessingDirective?) -> Peddler::APIs::NotificationsV1::CreateSubscriptionRequest
| (String, String, Peddler::APIs::NotificationsV1::ProcessingDirective?) -> Peddler::APIs::NotificationsV1::CreateSubscriptionRequest

.members[ :destination_id, :payload_version, :processing_directive ]

Returns:

  • ([ :destination_id, :payload_version, :processing_directive ])


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

def self.members: () -> [ :destination_id, :payload_version, :processing_directive ]

.new(destination_id:, payload_version:, processing_directive:) ⇒ Peddler::APIs::NotificationsV1::CreateSubscriptionRequest .new(arg0, arg1, arg2) ⇒ Peddler::APIs::NotificationsV1::CreateSubscriptionRequest

Overloads:



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

def self.new: (destination_id: String, payload_version: String, ?processing_directive: Peddler::APIs::NotificationsV1::ProcessingDirective?) -> Peddler::APIs::NotificationsV1::CreateSubscriptionRequest
| (String, String, Peddler::APIs::NotificationsV1::ProcessingDirective?) -> Peddler::APIs::NotificationsV1::CreateSubscriptionRequest

.parsePeddler::APIs::NotificationsV1::CreateSubscriptionRequest

Parameters:

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

Returns:



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

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

Instance Method Details

#members[ :destination_id, :payload_version, :processing_directive ]

Returns:

  • ([ :destination_id, :payload_version, :processing_directive ])


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

def members: () -> [ :destination_id, :payload_version, :processing_directive ]

#to_h{ destination_id: String, payload_version: String, processing_directive: Peddler::APIs::NotificationsV1::ProcessingDirective? }

Returns:



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

def to_h: () -> { destination_id: String, payload_version: String, processing_directive: Peddler::APIs::NotificationsV1::ProcessingDirective? }