Module: PostForMe::Models::SocialAccountFeedListParams::Expand

Extended by:
Internal::Type::Enum
Defined in:
lib/post_for_me/models/social_account_feed_list_params.rb,
sig/post_for_me/models/social_account_feed_list_params.rbs

Constant Summary collapse

METRICS =

Returns:

  • (:metrics)
:metrics

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/post_for_me/models/social_account_feed_list_params.rb', line 83

Instance Method Details

#initialize(social_account_id:, cursor: nil, expand: nil, external_post_id: nil, limit: nil, platform_post_id: nil, social_post_id: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see PostForMe::Models::SocialAccountFeedListParams for more details.

Parameters:

  • social_account_id (String)
  • cursor (String) (defaults to: nil)

    Cursor identifying next page of results

  • expand (Array<Symbol, PostForMe::Models::SocialAccountFeedListParams::Expand>) (defaults to: nil)

    Expand additional data in the response. Currently supports: "metrics" to include

  • external_post_id (Array<String>) (defaults to: nil)

    Filter by Post for Me Social Postexternal ID. Multiple values imply OR logic (e.

  • limit (Float) (defaults to: nil)

    Number of items to return; Note: some platforms will have different max limits,

  • platform_post_id (Array<String>) (defaults to: nil)

    Filter by the platform's id(s). Multiple values imply OR logic (e.g., ?social_po

  • social_post_id (Array<String>) (defaults to: nil)

    Filter by Post for Me Social Post id(s). Multiple values imply OR logic (e.g., ?

  • request_options (PostForMe::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


78
79
80
81
82
83
84
85
# File 'lib/post_for_me/models/social_account_feed_list_params.rb', line 78

module Expand
  extend PostForMe::Internal::Type::Enum

  METRICS = :metrics

  # @!method self.values
  #   @return [Array<Symbol>]
end

#self?.values::Array[PostForMe::Models::SocialAccountFeedListParams::expand]

Returns:

  • (::Array[PostForMe::Models::SocialAccountFeedListParams::expand])


76
# File 'sig/post_for_me/models/social_account_feed_list_params.rbs', line 76

def self?.values: -> ::Array[PostForMe::Models::SocialAccountFeedListParams::expand]