ValidationResults
A collection of validation results.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore"
alicloudroscdkcore.NewValidationResults(results *[]ValidationResult) ValidationResults
| Name | Type | Description |
|---|---|---|
results |
*[]ValidationResult |
No description. |
resultsOptional
- Type: *[]ValidationResult
Methods
| Name | Description |
|---|---|
Collect |
No description. |
ErrorTreeList |
No description. |
Wrap |
Wrap up all validation results into a single tree node. |
Collect
func Collect(result ValidationResult)
- Type: ValidationResult
ErrorTreeList
func ErrorTreeList() *string
Wrap
func Wrap(message *string) ValidationResult
Wrap up all validation results into a single tree node.
If there are failures in the collection, add a message, otherwise return a success.
- Type: *string
Properties
| Name | Type | Description |
|---|---|---|
IsSuccess |
*bool |
No description. |
Results |
*[]ValidationResult |
No description. |
IsSuccessRequired
func IsSuccess() *bool
- Type: *bool
ResultsRequired
func Results() *[]ValidationResult
- Type: *[]ValidationResult