fix: add missing json and params attributes, fix typo in GuestAgentCommandInfo.enabled
This commit is contained in:
11
commands.v
11
commands.v
@ -168,6 +168,7 @@ pub:
|
|||||||
eof bool
|
eof bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@[params]
|
||||||
pub struct GuestFileWriteParams {
|
pub struct GuestFileWriteParams {
|
||||||
pub:
|
pub:
|
||||||
is_encoded bool
|
is_encoded bool
|
||||||
@ -282,9 +283,9 @@ pub fn (mut c Client) get_cpustats() ![]GuestCpuStats {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub struct GuestDeviceInfo {
|
pub struct GuestDeviceInfo {
|
||||||
driver_name string
|
driver_name string @[json: 'driver-name']
|
||||||
driver_data ?string
|
driver_data ?string @[json: 'driver-data']
|
||||||
driver_version ?string
|
driver_version ?string @[json: 'driver-version']
|
||||||
id ?GuestDeviceId
|
id ?GuestDeviceId
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -323,7 +324,7 @@ pub:
|
|||||||
unit int
|
unit int
|
||||||
serial ?string
|
serial ?string
|
||||||
dev ?string
|
dev ?string
|
||||||
ccw_address ?GuestCCWAddress
|
ccw_address ?GuestCCWAddress @[json: 'ccw-address']
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct GuestPCIAddress {
|
pub struct GuestPCIAddress {
|
||||||
@ -556,7 +557,7 @@ pub:
|
|||||||
pub struct GuestAgentCommandInfo {
|
pub struct GuestAgentCommandInfo {
|
||||||
pub:
|
pub:
|
||||||
name string
|
name string
|
||||||
enbled bool
|
enabled bool
|
||||||
success_response bool @[json: 'success-response']
|
success_response bool @[json: 'success-response']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user