/
model_git_sync_error.go
40 lines (39 loc) · 1.62 KB
/
model_git_sync_error.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
35
36
37
38
39
40
/*
* 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 contains Git Sync Error Details
type GitSyncError struct {
// Account Identifier for the Entity.
AccountIdentifier string `json:"accountIdentifier,omitempty"`
// URL of the repository.
RepoUrl string `json:"repoUrl,omitempty"`
// Git Sync Config Id.
RepoId string `json:"repoId,omitempty"`
// Name of the branch.
BranchName string `json:"branchName,omitempty"`
// List of scope of the Git Sync Error
Scopes []Scope `json:"scopes,omitempty"`
// Type of operation done in file
ChangeType string `json:"changeType,omitempty"`
// Complete File Path of the Entity
CompleteFilePath string `json:"completeFilePath,omitempty"`
// Entity Type.
EntityType string `json:"entityType,omitempty"`
// Error Message
FailureReason string `json:"failureReason,omitempty"`
// Status of Git Sync Error
Status string `json:"status,omitempty"`
// Type of Git Sync Error
ErrorType string `json:"errorType,omitempty"`
AdditionalErrorDetails *GitSyncErrorDetails `json:"additionalErrorDetails,omitempty"`
RepoProvider string `json:"repoProvider,omitempty"`
// Time at which the Git Sync error was logged
CreatedAt int64 `json:"createdAt,omitempty"`
}