fix: adapt to different parameter types for pipeline

Signed-off-by: shaowenchen <mail@chenshaowen.com>
This commit is contained in:
shaowenchen
2020-10-30 15:13:36 +08:00
parent b4ab781439
commit 635de6da45

View File

@@ -890,9 +890,9 @@ type BranchPipeline struct {
Parameters []struct {
Class string `json:"_class,omitempty" description:"Its a fully qualified name and is an identifier of the producer of this resource's capability."`
DefaultParameterValue struct {
Class string `json:"_class,omitempty" description:"Its a fully qualified name and is an identifier of the producer of this resource's capability."`
Name string `json:"name,omitempty" description:"name"`
Value string `json:"value,omitempty" description:"value"`
Class string `json:"_class,omitempty" description:"Its a fully qualified name and is an identifier of the producer of this resource's capability."`
Name string `json:"name,omitempty" description:"name"`
Value interface{} `json:"value,omitempty" description:"value, string or bool type"`
} `json:"defaultParameterValue,omitempty" description:""`
Description string `json:"description,omitempty" description:"description"`
Name string `json:"name,omitempty" description:"name"`