Class: DatadogAPIClient::V2::PersonalAccessTokenCreateAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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_atObject

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

#nameObject

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

#scopesObject

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