Class: PostForMe::Models::PinterestConfigurationDto
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- PostForMe::Models::PinterestConfigurationDto
- Defined in:
- lib/post_for_me/models/pinterest_configuration_dto.rb,
sig/post_for_me/models/pinterest_configuration_dto.rbs
Instance Attribute Summary collapse
-
#board_ids ⇒ Array<String>?
Pinterest board IDs.
-
#caption ⇒ Object?
Overrides the
captionfrom the post. -
#link ⇒ String?
Pinterest post link.
-
#media ⇒ Array<PostForMe::Models::SocialPostMedia>?
Overrides the
mediafrom the post. -
#title ⇒ String?
Overrides the
titlefrom the post for Pinterest.
Instance Method Summary collapse
- #initialize(board_ids: nil, caption: nil, link: nil, media: nil, title: nil) ⇒ Object constructor
- #to_hash ⇒ {
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(board_ids: nil, caption: nil, link: nil, media: nil, title: nil) ⇒ Object
|
|
# File 'lib/post_for_me/models/pinterest_configuration_dto.rb', line 36
|
Instance Attribute Details
#board_ids ⇒ Array<String>?
Pinterest board IDs
10 |
# File 'lib/post_for_me/models/pinterest_configuration_dto.rb', line 10 optional :board_ids, PostForMe::Internal::Type::ArrayOf[String], nil?: true |
#caption ⇒ Object?
Overrides the caption from the post
16 |
# File 'lib/post_for_me/models/pinterest_configuration_dto.rb', line 16 optional :caption, PostForMe::Internal::Type::Unknown, nil?: true |
#link ⇒ String?
Pinterest post link
22 |
# File 'lib/post_for_me/models/pinterest_configuration_dto.rb', line 22 optional :link, String, nil?: true |
#media ⇒ Array<PostForMe::Models::SocialPostMedia>?
Overrides the media from the post
28 |
# File 'lib/post_for_me/models/pinterest_configuration_dto.rb', line 28 optional :media, -> { PostForMe::Internal::Type::ArrayOf[PostForMe::SocialPostMedia] }, nil?: true |
#title ⇒ String?
Overrides the title from the post for Pinterest
34 |
# File 'lib/post_for_me/models/pinterest_configuration_dto.rb', line 34 optional :title, String, nil?: true |
Instance Method Details
#to_hash ⇒ {
31 |
# File 'sig/post_for_me/models/pinterest_configuration_dto.rbs', line 31
def to_hash: -> {
|