CreateNicsOutput output object
This commit is contained in:
parent
b48b1915ab
commit
8571159211
|
@ -152,7 +152,7 @@ func (v *CreateNicsInput) Validate() error {
|
||||||
type CreateNicsOutput struct {
|
type CreateNicsOutput struct {
|
||||||
Message *string `json:"message" name:"message"`
|
Message *string `json:"message" name:"message"`
|
||||||
Action *string `json:"action" name:"action" location:"elements"`
|
Action *string `json:"action" name:"action" location:"elements"`
|
||||||
Nics []interface{} `json:"nics" name:"nics" location:"elements"`
|
Nics []*NICIP `json:"nics" name:"nics" location:"elements"`
|
||||||
RetCode *int `json:"ret_code" name:"ret_code" location:"elements"`
|
RetCode *int `json:"ret_code" name:"ret_code" location:"elements"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1504,6 +1504,16 @@ func (v *NIC) Validate() error {
|
||||||
return nil
|
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 {
|
type RDB struct {
|
||||||
// AlarmStatus's available values: ok, alarm, insufficient
|
// AlarmStatus's available values: ok, alarm, insufficient
|
||||||
AlarmStatus *string `json:"alarm_status" name:"alarm_status"`
|
AlarmStatus *string `json:"alarm_status" name:"alarm_status"`
|
||||||
|
|
Loading…
Reference in New Issue