Class: Knockapi::Models::Users::GuideGetChannelResponse::Entry::Step

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

Defined Under Namespace

Classes: Message

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(content: nil, message: nil, ref: nil, schema_key: nil, schema_semver: nil, schema_variant_key: nil) ⇒ Object

Parameters:



# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 255

Instance Attribute Details

#contentHash{Symbol=>Object}?

Parameters:

  • (::Hash[Symbol, top])

Returns:



228
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 228

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

#messageKnockapi::Models::Users::GuideGetChannelResponse::Entry::Step::Message?



233
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 233

optional :message, -> { Knockapi::Models::Users::GuideGetChannelResponse::Entry::Step::Message }

#refString?

Parameters:

  • (String)

Returns:

  • (String, nil)


238
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 238

optional :ref, String

#schema_keyString?

Parameters:

  • (String)

Returns:

  • (String, nil)


243
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 243

optional :schema_key, String

#schema_semverString?

Parameters:

  • (String)

Returns:

  • (String, nil)


248
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 248

optional :schema_semver, String

#schema_variant_keyString?

Parameters:

  • (String)

Returns:

  • (String, nil)


253
# File 'lib/knockapi/models/users/guide_get_channel_response.rb', line 253

optional :schema_variant_key, String

Instance Method Details

#to_hash{

Returns:

  • ({)


265
# File 'sig/knockapi/models/users/guide_get_channel_response.rbs', line 265

def to_hash: -> {