Skip to content

Commit

Permalink
Merge pull request #170 from harness/add-env-yaml
Browse files Browse the repository at this point in the history
[feat]: [CDS-39942]: added yaml in environement request
  • Loading branch information
tchaurasiya authored Oct 6, 2022
2 parents 6b7f946 + 4b01f6e commit 2ea5884
Showing 1 changed file with 26 additions and 16 deletions.
42 changes: 26 additions & 16 deletions harness/nextgen/model_environment_request.go
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"`
}

0 comments on commit 2ea5884

Please sign in to comment.