|
1 | 1 | /*
|
2 | 2 | * ConfigCat Public Management API
|
3 | 3 | *
|
4 |
| - * **Base API URL**: https://api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). <!-- ReDoc-Inject: <security-definitions> --> # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. |
| 4 | + * **Base API URL**: https://api.configcat.com If you prefer the swagger documentation, you can find it here: [Swagger UI](https://api.configcat.com/swagger). The purpose of this API is to access the ConfigCat platform programmatically. You can **Create**, **Read**, **Update** and **Delete** any entities like **Feature Flags, Configs, Environments** or **Products** within ConfigCat. The API is based on HTTP REST, uses resource-oriented URLs, status codes and supports JSON and JSON+HAL format. Do not use this API for accessing and evaluating feature flag values. Use the [SDKs instead](https://configcat.com/docs/sdk-reference/overview). # OpenAPI Specification The complete specification is publicly available here: [swagger.json](v1/swagger.json). You can use it to generate client libraries in various languages with [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) or [Swagger Codegen](https://swagger.io/tools/swagger-codegen/) to interact with this API. # Authentication This API uses the [Basic HTTP Authentication Scheme](https://en.wikipedia.org/wiki/Basic_access_authentication). <!-- ReDoc-Inject: <security-definitions> --> # Throttling and rate limits All the rate limited API calls are returning information about the current rate limit period in the following HTTP headers: | Header | Description | | :- | :- | | X-Rate-Limit-Remaining | The maximum number of requests remaining in the current rate limit period. | | X-Rate-Limit-Reset | The time when the current rate limit period resets. | When the rate limit is exceeded by a request, the API returns with a `HTTP 429 - Too many requests` status along with a `Retry-After` HTTP header. |
5 | 5 | *
|
6 | 6 | * API version: v1
|
7 | 7 | * Contact: support@configcat.com
|
8 | 8 | * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
|
9 | 9 | */
|
10 | 10 | package configcatpublicapi
|
11 |
| -import ( |
12 |
| - "time" |
13 |
| -) |
14 | 11 |
|
15 | 12 | type SettingDataModel struct {
|
16 |
| - SettingId int32 `json:"settingId,omitempty"` |
17 |
| - Key string `json:"key,omitempty"` |
18 |
| - Name string `json:"name,omitempty"` |
19 |
| - Hint string `json:"hint,omitempty"` |
20 |
| - SettingType *SettingType `json:"settingType,omitempty"` |
21 |
| - CreatedAt time.Time `json:"createdAt,omitempty"` |
22 |
| - CreatorEmail string `json:"creatorEmail,omitempty"` |
23 |
| - CreatorFullName string `json:"creatorFullName,omitempty"` |
24 |
| - OwnerFullName string `json:"ownerFullName,omitempty"` |
25 |
| - OwnerEmail string `json:"ownerEmail,omitempty"` |
26 |
| - ExpirationWarningAt time.Time `json:"expirationWarningAt,omitempty"` |
| 13 | + SettingId int32 `json:"settingId,omitempty"` |
| 14 | + Key string `json:"key,omitempty"` |
| 15 | + Name string `json:"name,omitempty"` |
| 16 | + Hint string `json:"hint,omitempty"` |
| 17 | + SettingType *SettingType `json:"settingType,omitempty"` |
| 18 | + CreatorEmail string `json:"creatorEmail,omitempty"` |
| 19 | + CreatorFullName string `json:"creatorFullName,omitempty"` |
| 20 | + OwnerFullName string `json:"ownerFullName,omitempty"` |
| 21 | + OwnerEmail string `json:"ownerEmail,omitempty"` |
27 | 22 | }
|
0 commit comments