Class: Trycourier::Models::Audience
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Trycourier::Models::Audience
- Defined in:
- lib/trycourier/models/audience.rb
Overview
Instance Attribute Summary collapse
- #created_at ⇒ String
-
#description ⇒ String
A description of the audience.
-
#filter ⇒ Trycourier::Models::Filter
A single filter to use for filtering.
-
#id ⇒ String
A unique identifier representing the audience_id.
-
#name ⇒ String
The name of the audience.
- #updated_at ⇒ String
Instance Method Summary collapse
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:, created_at:, description:, filter:, name:, updated_at:) ⇒ Object
|
|
# File 'lib/trycourier/models/audience.rb', line 41
|
Instance Attribute Details
#created_at ⇒ String
16 |
# File 'lib/trycourier/models/audience.rb', line 16 required :created_at, String |
#description ⇒ String
A description of the audience
22 |
# File 'lib/trycourier/models/audience.rb', line 22 required :description, String |
#filter ⇒ Trycourier::Models::Filter
A single filter to use for filtering
28 |
# File 'lib/trycourier/models/audience.rb', line 28 required :filter, -> { Trycourier::Filter } |
#id ⇒ String
A unique identifier representing the audience_id
11 |
# File 'lib/trycourier/models/audience.rb', line 11 required :id, String |
#name ⇒ String
The name of the audience
34 |
# File 'lib/trycourier/models/audience.rb', line 34 required :name, String |
#updated_at ⇒ String
39 |
# File 'lib/trycourier/models/audience.rb', line 39 required :updated_at, String |