Class: Knockapi::Models::Users::FeedListItemsResponse::Source

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/knockapi/models/users/feed_list_items_response.rb,
sig/knockapi/models/users/feed_list_items_response.rbs

Overview

See Also:

  • Knockapi::Models::Users::FeedListItemsResponse#source

Instance Attribute Summary collapse

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(_typename:, categories:, key:, version_id:) ⇒ Object

Source information for the feed item.

Parameters:

  • _typename (String) —

    The typename of the schema.

  • categories (Array<String>) —

    Categories this workflow belongs to.

  • key (String) —

    The key of the workflow.

  • version_id (String) —

    The workflow version ID.



# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 196

Instance Attribute Details

#_typename ⇒ String

The typename of the schema.

Parameters:

  • value (String)

Returns:

  • (String)


176
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 176

required :_typename, String, api_name: :__typename

#categories ⇒ Array<String>

Categories this workflow belongs to.

Parameters:

  • value (::Array[String])

Returns:

  • (Array<String>)


182
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 182

required :categories, Knockapi::Internal::Type::ArrayOf[String]

#key ⇒ String

The key of the workflow.

Parameters:

  • value (String)

Returns:

  • (String)


188
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 188

required :key, String

#version_id ⇒ String

The workflow version ID.

Parameters:

  • value (String)

Returns:

  • (String)


194
# File 'lib/knockapi/models/users/feed_list_items_response.rb', line 194

required :version_id, String

Instance Method Details

#to_hash ⇒ {

Returns:

  • ({)


139
# File 'sig/knockapi/models/users/feed_list_items_response.rbs', line 139

def to_hash: -> {