-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #170 from harness/add-env-yaml
[feat]: [CDS-39942]: added yaml in environement request
- Loading branch information
Showing
1 changed file
with
26 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,32 @@ | ||
/* | ||
* 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: [email protected] | ||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) | ||
* 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 | ||
* | ||
* API version: 3.0 | ||
* Contact: [email protected] | ||
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) | ||
*/ | ||
package nextgen | ||
|
||
// This is the EnvironmentRequest entity defined in Harness | ||
// This is the Environment entity defined in Harness | ||
type EnvironmentRequest struct { | ||
OrgIdentifier string `json:"orgIdentifier,omitempty"` | ||
ProjectIdentifier string `json:"projectIdentifier,omitempty"` | ||
Identifier string `json:"identifier,omitempty"` | ||
Tags map[string]string `json:"tags,omitempty"` | ||
Name string `json:"name,omitempty"` | ||
Description string `json:"description,omitempty"` | ||
Color string `json:"color,omitempty"` | ||
Type_ EnvironmentType `json:"type,omitempty"` | ||
// Organization Identifier for the Entity. | ||
OrgIdentifier string `json:"orgIdentifier,omitempty"` | ||
// Project Identifier for the Entity. | ||
ProjectIdentifier string `json:"projectIdentifier,omitempty"` | ||
// Identifier of the Environment. | ||
Identifier string `json:"identifier,omitempty"` | ||
// Tags | ||
Tags map[string]string `json:"tags,omitempty"` | ||
// Name of the Environment. | ||
Name string `json:"name,omitempty"` | ||
// Description of the entity | ||
Description string `json:"description,omitempty"` | ||
// Color of the Environment. | ||
Color string `json:"color,omitempty"` | ||
// Specify the environment type whether production or Preproduction. | ||
Type_ string `json:"type,omitempty"` | ||
// Yaml of this entity. | ||
Yaml string `json:"yaml,omitempty"` | ||
} |