Class: Cadenya::Models::AccountInfo

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

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(challenge_token: nil, global_api_key: nil, webhook_events_hmac_secret: nil) ⇒ Object

Some parameter documentations has been truncated, see Cadenya::Models::AccountInfo for more details.

Server-populated information about the account.

Parameters:

  • challenge_token (String) (defaults to: nil)

    The challenge token Cadenya sends in the X-Cadenya-Challenge-Token header

  • global_api_key (Cadenya::Models::APIKey) (defaults to: nil)

    An API key for the account. Use workspace-association RPCs to grant the

  • webhook_events_hmac_secret (String) (defaults to: nil)

    The generated secret that will sign all webhooks that are sent to your configure



# File 'lib/cadenya/models/account_info.rb', line 34

Instance Attribute Details

#challenge_tokenString? (readonly)

Returns the value of attribute challenge_token.

Returns:

  • (String, nil)


11
12
13
# File 'sig/cadenya/models/account_info.rbs', line 11

def challenge_token
  @challenge_token
end

#global_api_keyCadenya::APIKey? (readonly)

Returns the value of attribute global_api_key.

Returns:



15
16
17
# File 'sig/cadenya/models/account_info.rbs', line 15

def global_api_key
  @global_api_key
end

#webhook_events_hmac_secretString? (readonly)

Returns the value of attribute webhook_events_hmac_secret.

Returns:

  • (String, nil)


19
20
21
# File 'sig/cadenya/models/account_info.rbs', line 19

def webhook_events_hmac_secret
  @webhook_events_hmac_secret
end

Instance Method Details

#challenge_token=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


13
# File 'sig/cadenya/models/account_info.rbs', line 13

def challenge_token=: (String) -> String

#global_api_key=Cadenya::APIKey (readonly)

Parameters:

Returns:



17
# File 'sig/cadenya/models/account_info.rbs', line 17

def global_api_key=: (Cadenya::APIKey) -> Cadenya::APIKey

#to_hash{

Returns:

  • ({)


29
# File 'sig/cadenya/models/account_info.rbs', line 29

def to_hash: -> {

#webhook_events_hmac_secret=String (readonly)

Parameters:

  • (String)

Returns:

  • (String)


21
# File 'sig/cadenya/models/account_info.rbs', line 21

def webhook_events_hmac_secret=: (String) -> String