Class: Knockapi::Models::Objects::BulkDeleteSubscriptionsParams::Subscription
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::Objects::BulkDeleteSubscriptionsParams::Subscription
- Defined in:
- lib/knockapi/models/objects/bulk_delete_subscriptions_params.rb
Instance Attribute Summary collapse
-
#id ⇒ String
Unique identifier for the object.
-
#recipients ⇒ Array<String, Knockapi::Models::RecipientReference::ObjectReference>
The recipients of the subscription.
Instance Method Summary collapse
-
#initialize(id:, recipients:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Subscription for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, recipients:) ⇒ Object
Some parameter documentations has been truncated, see Knockapi::Models::Objects::BulkDeleteSubscriptionsParams::Subscription for more details.
A list of subscriptions. 1 subscribed-to id, and N subscriber recipients.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
# File 'lib/knockapi/models/objects/bulk_delete_subscriptions_params.rb', line 23 class Subscription < Knockapi::Internal::Type::BaseModel # @!attribute id # Unique identifier for the object. # # @return [String] required :id, String # @!attribute recipients # The recipients of the subscription. You can subscribe up to 100 recipients to an # object at a time. # # @return [Array<String, Knockapi::Models::RecipientReference::ObjectReference>] required :recipients, -> { Knockapi::Internal::Type::ArrayOf[union: Knockapi::RecipientReference] } # @!method initialize(id:, recipients:) # Some parameter documentations has been truncated, see # {Knockapi::Models::Objects::BulkDeleteSubscriptionsParams::Subscription} for # more details. # # A list of subscriptions. 1 subscribed-to id, and N subscriber recipients. # # @param id [String] Unique identifier for the object. # # @param recipients [Array<String, Knockapi::Models::RecipientReference::ObjectReference>] The recipients of the subscription. You can subscribe up to 100 recipients to an end |
Instance Attribute Details
#id ⇒ String
Unique identifier for the object.
28 |
# File 'lib/knockapi/models/objects/bulk_delete_subscriptions_params.rb', line 28 required :id, String |
#recipients ⇒ Array<String, Knockapi::Models::RecipientReference::ObjectReference>
The recipients of the subscription. You can subscribe up to 100 recipients to an object at a time.
35 |
# File 'lib/knockapi/models/objects/bulk_delete_subscriptions_params.rb', line 35 required :recipients, -> { Knockapi::Internal::Type::ArrayOf[union: Knockapi::RecipientReference] } |