|
@@ -76,11 +76,18 @@ func (client *Client) CreateApiGroupWithCallback(request *CreateApiGroupRequest,
|
|
|
// CreateApiGroupRequest is the request struct for api CreateApiGroup
|
|
// CreateApiGroupRequest is the request struct for api CreateApiGroup
|
|
|
type CreateApiGroupRequest struct {
|
|
type CreateApiGroupRequest struct {
|
|
|
*requests.RpcRequest
|
|
*requests.RpcRequest
|
|
|
- InstanceId string `position:"Query" name:"InstanceId"`
|
|
|
|
|
- SecurityToken string `position:"Query" name:"SecurityToken"`
|
|
|
|
|
- Description string `position:"Query" name:"Description"`
|
|
|
|
|
- Source string `position:"Query" name:"Source"`
|
|
|
|
|
- GroupName string `position:"Query" name:"GroupName"`
|
|
|
|
|
|
|
+ InstanceId string `position:"Query" name:"InstanceId"`
|
|
|
|
|
+ SecurityToken string `position:"Query" name:"SecurityToken"`
|
|
|
|
|
+ Description string `position:"Query" name:"Description"`
|
|
|
|
|
+ Source string `position:"Query" name:"Source"`
|
|
|
|
|
+ Tag *[]CreateApiGroupTag `position:"Query" name:"Tag" type:"Repeated"`
|
|
|
|
|
+ GroupName string `position:"Query" name:"GroupName"`
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
|
|
+// CreateApiGroupTag is a repeated param struct in CreateApiGroupRequest
|
|
|
|
|
+type CreateApiGroupTag struct {
|
|
|
|
|
+ Value string `name:"Value"`
|
|
|
|
|
+ Key string `name:"Key"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// CreateApiGroupResponse is the response struct for api CreateApiGroup
|
|
// CreateApiGroupResponse is the response struct for api CreateApiGroup
|
|
@@ -93,6 +100,7 @@ type CreateApiGroupResponse struct {
|
|
|
Description string `json:"Description" xml:"Description"`
|
|
Description string `json:"Description" xml:"Description"`
|
|
|
InstanceId string `json:"InstanceId" xml:"InstanceId"`
|
|
InstanceId string `json:"InstanceId" xml:"InstanceId"`
|
|
|
InstanceType string `json:"InstanceType" xml:"InstanceType"`
|
|
InstanceType string `json:"InstanceType" xml:"InstanceType"`
|
|
|
|
|
+ TagStatus bool `json:"TagStatus" xml:"TagStatus"`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// CreateCreateApiGroupRequest creates a request to invoke CreateApiGroup API
|
|
// CreateCreateApiGroupRequest creates a request to invoke CreateApiGroup API
|