Class: DatadogAPIClient::V2::PersonalAccessTokenCreateAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::PersonalAccessTokenCreateAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/personal_access_token_create_attributes.rb
Overview
Attributes used to create a personal access token.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#expires_at ⇒ Object
readonly
Expiration date of the personal access token.
-
#name ⇒ Object
readonly
Name of the personal access token.
-
#scopes ⇒ Object
readonly
Array of scopes to grant the personal access token.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/personal_access_token_create_attributes.rb', line 33 def additional_properties @additional_properties end |
#expires_at ⇒ Object
Expiration date of the personal access token. Must be at least 24 hours in the future.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/personal_access_token_create_attributes.rb', line 25 def expires_at @expires_at end |
#name ⇒ Object
Name of the personal access token.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/personal_access_token_create_attributes.rb', line 28 def name @name end |
#scopes ⇒ Object
Array of scopes to grant the personal access token.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/personal_access_token_create_attributes.rb', line 31 def scopes @scopes end |