/
model_api_key.go
34 lines (33 loc) · 1.4 KB
/
model_api_key.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* Harness NextGen Software Delivery Platform API Reference
*
* This is the Open Api Spec 3 for the NextGen Manager. This is under active development. Beware of the breaking change with respect to the generated code stub # Authentication <!-- ReDoc-Inject: <security-definitions> -->
*
* API version: 3.0
* Contact: contact@harness.io
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nextgen
// This has API Key details defined in Harness.
type ApiKey struct {
// Identifier of the API Key
Identifier string `json:"identifier,omitempty"`
// Name of the API Key
Name string `json:"name,omitempty"`
// Description of the API Key
Description string `json:"description,omitempty"`
// Tags for the API Key
Tags map[string]string `json:"tags,omitempty"`
// Type of the API Key
ApiKeyType string `json:"apiKeyType,omitempty"`
// Parent Entity Identifier of the API Key
ParentIdentifier string `json:"parentIdentifier,omitempty"`
// Default expiration time of the Token within API Key.
DefaultTimeToExpireToken int64 `json:"defaultTimeToExpireToken,omitempty"`
// Account Identifier for the Entity.
AccountIdentifier string `json:"accountIdentifier,omitempty"`
// Project Identifier for the Entity.
ProjectIdentifier string `json:"projectIdentifier,omitempty"`
// Organization Identifier for the Entity.
OrgIdentifier string `json:"orgIdentifier,omitempty"`
}