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

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

Overview

See Also:

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 319


Instance Attribute Details

#_typenameString

The typename of the schema.

Returns:

  • (String)


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

required :_typename, String, api_name: :__typename

#categoriesArray<String>

Categories this workflow belongs to.

Returns:

  • (Array<String>)


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

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

#keyString

The key of the workflow.

Returns:

  • (String)


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

required :key, String

#version_idString

The workflow version ID.

Returns:

  • (String)


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

required :version_id, String