Class: Sentdm::Models::WebhookRotateSecretResponse::Data

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/sentdm/models/webhook_rotate_secret_response.rb,
sig/sentdm/models/webhook_rotate_secret_response.rbs

Overview

See Also:

  • Sentdm::Models::WebhookRotateSecretResponse#data

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(signing_secret: nil) ⇒ Data

The response data (null if error)

Parameters:

  • signing_secret (String) (defaults to: nil)
  • signing_secret: (String) (defaults to: nil)


# File 'lib/sentdm/models/webhook_rotate_secret_response.rb', line 49

Instance Attribute Details

#signing_secretString?

Parameters:

  • (String)

Returns:

  • (String, nil)


47
# File 'lib/sentdm/models/webhook_rotate_secret_response.rb', line 47

optional :signing_secret, String

Instance Method Details

#to_hash{ signing_secret: String }

Returns:

  • ({ signing_secret: String })


47
# File 'sig/sentdm/models/webhook_rotate_secret_response.rbs', line 47

def to_hash: -> { signing_secret: String }