Class: HubSpotSDK::Models::Auth::SignedAccessToken

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/hubspot_sdk/models/auth/signed_access_token.rb

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(app_id:, expires_at:, hub_id:, hublet:, installing_user_id:, is_private_distribution:, is_service_account:, is_user_level:, new_signature:, scopes:, scope_to_scope_group_pks:, signature:, trial_scopes:, trial_scope_to_scope_group_pks:, user_id:) ⇒ Object

Parameters:

  • app_id (Integer)
  • expires_at (Integer)
  • hub_id (Integer)
  • hublet (String)
  • installing_user_id (Integer)
  • is_private_distribution (Boolean)
  • is_service_account (Boolean)
  • is_user_level (Boolean)
  • new_signature (String)
  • scopes (String)
  • scope_to_scope_group_pks (String)
  • signature (String)
  • trial_scopes (String)
  • trial_scope_to_scope_group_pks (String)
  • user_id (Integer)


# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 84

Instance Attribute Details

#app_idInteger

Returns:

  • (Integer)


10
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 10

required :app_id, Integer, api_name: :appId

#expires_atInteger

Returns:

  • (Integer)


15
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 15

required :expires_at, Integer, api_name: :expiresAt

#hub_idInteger

Returns:

  • (Integer)


20
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 20

required :hub_id, Integer, api_name: :hubId

#hubletString

Returns:

  • (String)


25
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 25

required :hublet, String

#installing_user_idInteger

Returns:

  • (Integer)


30
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 30

required :installing_user_id, Integer, api_name: :installingUserId

#is_private_distributionBoolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 35

required :is_private_distribution,
HubSpotSDK::Internal::Type::Boolean,
api_name: :isPrivateDistribution

#is_service_accountBoolean

Returns:

  • (Boolean)


42
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 42

required :is_service_account, HubSpotSDK::Internal::Type::Boolean, api_name: :isServiceAccount

#is_user_levelBoolean

Returns:

  • (Boolean)


47
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 47

required :is_user_level, HubSpotSDK::Internal::Type::Boolean, api_name: :isUserLevel

#new_signatureString

Returns:

  • (String)


52
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 52

required :new_signature, String, api_name: :newSignature

#scope_to_scope_group_pksString

Returns:

  • (String)


62
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 62

required :scope_to_scope_group_pks, String, api_name: :scopeToScopeGroupPks

#scopesString

Returns:

  • (String)


57
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 57

required :scopes, String

#signatureString

Returns:

  • (String)


67
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 67

required :signature, String

#trial_scope_to_scope_group_pksString

Returns:

  • (String)


77
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 77

required :trial_scope_to_scope_group_pks, String, api_name: :trialScopeToScopeGroupPks

#trial_scopesString

Returns:

  • (String)


72
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 72

required :trial_scopes, String, api_name: :trialScopes

#user_idInteger

Returns:

  • (Integer)


82
# File 'lib/hubspot_sdk/models/auth/signed_access_token.rb', line 82

required :user_id, Integer, api_name: :userId