docs/Token.md in launchdarkly_api-5.4.0 vs docs/Token.md in launchdarkly_api-6.0.0
- old
+ new
@@ -1,22 +1,48 @@
# LaunchDarklyApi::Token
## Properties
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**_links** | [**Links**](Links.md) | | [optional]
-**_id** | [**Id**](Id.md) | | [optional]
-**owner_id** | [**Id**](Id.md) | | [optional]
-**member_id** | [**Id**](Id.md) | | [optional]
-**_member** | [**Member**](Member.md) | | [optional]
-**creation_date** | **Integer** | A unix epoch time in milliseconds specifying the creation time of this access token. | [optional]
-**last_modified** | **Integer** | A unix epoch time in milliseconds specifying the last time this access token was modified. | [optional]
-**last_used** | **Integer** | A unix epoch time in milliseconds specifying the last time this access token was used to authorize access to the LaunchDarkly REST API. | [optional]
-**token** | **String** | The last 4 digits of the unique secret key for this access token. If creating or resetting the token, this will be the full token secret. | [optional]
-**name** | **String** | A human-friendly name for the access token | [optional]
-**role** | **String** | The name of a built-in role for the token | [optional]
-**custom_role_ids** | **Array<String>** | A list of custom role IDs to use as access limits for the access token | [optional]
-**inline_role** | [**Array<Statement>**](Statement.md) | | [optional]
-**service_token** | **BOOLEAN** | Whether the token will be a service token https://docs.launchdarkly.com/home/account-security/api-access-tokens#service-tokens | [optional]
-**default_api_version** | **Integer** | The default API version for this token | [optional]
+| Name | Type | Description | Notes |
+| ---- | ---- | ----------- | ----- |
+| **_id** | **String** | | |
+| **owner_id** | **String** | | |
+| **member_id** | **String** | | |
+| **_member** | [**MemberSummaryRep**](MemberSummaryRep.md) | | [optional] |
+| **name** | **String** | | [optional] |
+| **description** | **String** | | [optional] |
+| **creation_date** | **Integer** | | |
+| **last_modified** | **Integer** | | |
+| **custom_role_ids** | **Array<String>** | | [optional] |
+| **inline_role** | [**Array<StatementRep>**](StatementRep.md) | | [optional] |
+| **role** | **String** | | [optional] |
+| **token** | **String** | | [optional] |
+| **service_token** | **Boolean** | | [optional] |
+| **_links** | [**Hash<String, Link>**](Link.md) | | |
+| **default_api_version** | **Integer** | | [optional] |
+| **last_used** | **Integer** | | [optional] |
+
+## Example
+
+```ruby
+require 'launchdarkly_api'
+
+instance = LaunchDarklyApi::Token.new(
+ _id: null,
+ owner_id: null,
+ member_id: null,
+ _member: null,
+ name: null,
+ description: null,
+ creation_date: null,
+ last_modified: null,
+ custom_role_ids: null,
+ inline_role: null,
+ role: reader,
+ token: api-deadbeef-dead-beef-dead-beefdeadbeef,
+ service_token: null,
+ _links: {"parent":{"href":"/api/v2/tokens","type":"application/json"},"self":{"href":"/api/v2/tokens/61095542756dba551110ae21","type":"application/json"}},
+ default_api_version: null,
+ last_used: null
+)
+```