Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.4 KB

File metadata and controls

38 lines (32 loc) · 1.4 KB

Invoicetronic_Sdk::SubKeyWithSecrets

Properties

Name Type Description Notes
id Integer Unique identifier. [optional]
created Time Creation date. [optional][readonly]
version Integer Row version, for optimistic concurrency. [optional][readonly]
description String Human-readable label. [optional]
active Boolean Whether the key can authenticate. [optional]
permissions Permissions [optional]
company_ids Array<Integer> Companies the key can access. Empty means all the companies of the account. [optional]
cors_origins Array<String> Browser origins allowed to call the API with this key (CORS). [optional]
previous_key_expires_at Time When the secrets replaced by the last roll stop working; null when there are none still valid. [optional]
test_key String Sandbox secret. [optional]
live_key String Production secret. [optional]

Example

require 'invoicetronic_sdk'

instance = Invoicetronic_Sdk::SubKeyWithSecrets.new(
  id: null,
  created: null,
  version: null,
  description: null,
  active: null,
  permissions: null,
  company_ids: null,
  cors_origins: null,
  previous_key_expires_at: null,
  test_key: null,
  live_key: null
)