Class: Knockapi::Models::Users::GuideMarkMessageAsArchivedParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/knockapi/models/users/guide_mark_message_as_archived_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(channel_id:, guide_id:, guide_key:, guide_step_ref:, content: nil, data: nil, is_final: nil, metadata: nil, tenant: nil, request_options: {}) ⇒ Object

Parameters:

  • channel_id (String)

    The unique identifier for the channel.

  • guide_id (String)

    The unique identifier for the guide.

  • guide_key (String)

    The key of the guide.

  • guide_step_ref (String)

    The step reference of the guide.

  • content (Hash{Symbol=>Object}) (defaults to: nil)

    The content of the guide.

  • data (Hash{Symbol=>Object}) (defaults to: nil)

    The data of the guide.

  • is_final (Boolean) (defaults to: nil)

    Whether the guide is final.

  • metadata (Hash{Symbol=>Object}) (defaults to: nil)

    The metadata of the guide.

  • tenant (String, nil) (defaults to: nil)

    The tenant ID of the guide.

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


# File 'lib/knockapi/models/users/guide_mark_message_as_archived_params.rb', line 65


Instance Attribute Details

#channel_idString

The unique identifier for the channel.

Returns:

  • (String)


15
# File 'lib/knockapi/models/users/guide_mark_message_as_archived_params.rb', line 15

required :channel_id, String

#contentHash{Symbol=>Object}?

The content of the guide.

Returns:



39
# File 'lib/knockapi/models/users/guide_mark_message_as_archived_params.rb', line 39

optional :content, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown]

#dataHash{Symbol=>Object}?

The data of the guide.

Returns:



45
# File 'lib/knockapi/models/users/guide_mark_message_as_archived_params.rb', line 45

optional :data, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown]

#guide_idString

The unique identifier for the guide.

Returns:

  • (String)


21
# File 'lib/knockapi/models/users/guide_mark_message_as_archived_params.rb', line 21

required :guide_id, String

#guide_keyString

The key of the guide.

Returns:

  • (String)


27
# File 'lib/knockapi/models/users/guide_mark_message_as_archived_params.rb', line 27

required :guide_key, String

#guide_step_refString

The step reference of the guide.

Returns:

  • (String)


33
# File 'lib/knockapi/models/users/guide_mark_message_as_archived_params.rb', line 33

required :guide_step_ref, String

#is_finalBoolean?

Whether the guide is final.

Returns:

  • (Boolean, nil)


51
# File 'lib/knockapi/models/users/guide_mark_message_as_archived_params.rb', line 51

optional :is_final, Knockapi::Internal::Type::Boolean

#metadataHash{Symbol=>Object}?

The metadata of the guide.

Returns:



57
# File 'lib/knockapi/models/users/guide_mark_message_as_archived_params.rb', line 57

optional :metadata, Knockapi::Internal::Type::HashOf[Knockapi::Internal::Type::Unknown]

#tenantString?

The tenant ID of the guide.

Returns:

  • (String, nil)


63
# File 'lib/knockapi/models/users/guide_mark_message_as_archived_params.rb', line 63

optional :tenant, String, nil?: true