CreateNicsOutput output object
This commit is contained in:
parent
b48b1915ab
commit
8571159211
|
@ -150,10 +150,10 @@ func (v *CreateNicsInput) Validate() error {
|
|||
}
|
||||
|
||||
type CreateNicsOutput struct {
|
||||
Message *string `json:"message" name:"message"`
|
||||
Action *string `json:"action" name:"action" location:"elements"`
|
||||
Nics []interface{} `json:"nics" name:"nics" location:"elements"`
|
||||
RetCode *int `json:"ret_code" name:"ret_code" location:"elements"`
|
||||
Message *string `json:"message" name:"message"`
|
||||
Action *string `json:"action" name:"action" location:"elements"`
|
||||
Nics []*NICIP `json:"nics" name:"nics" location:"elements"`
|
||||
RetCode *int `json:"ret_code" name:"ret_code" location:"elements"`
|
||||
}
|
||||
|
||||
// Documentation URL: https://docs.qingcloud.com/api/nic/delete_nics.html
|
||||
|
|
|
@ -1504,6 +1504,16 @@ func (v *NIC) Validate() error {
|
|||
return nil
|
||||
}
|
||||
|
||||
type NICIP struct {
|
||||
NICID *string `json:"nic_id" name:"nic_id"`
|
||||
PrivateIP *string `json:"private_ip" name:"private_ip"`
|
||||
}
|
||||
|
||||
func (v *NICIP) Validate() error {
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
type RDB struct {
|
||||
// AlarmStatus's available values: ok, alarm, insufficient
|
||||
AlarmStatus *string `json:"alarm_status" name:"alarm_status"`
|
||||
|
|
Loading…
Reference in New Issue