Name | Type | Description | Notes |
---|---|---|---|
Description | Pointer to string | A textual description or comment. | [optional] |
Snapname | string | The name of the snapshot. | |
Vmstate | Pointer to int32 | Save the vmstate | [optional] |
func NewCreateVMSnapshotRequest(snapname string, ) *CreateVMSnapshotRequest
NewCreateVMSnapshotRequest instantiates a new CreateVMSnapshotRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCreateVMSnapshotRequestWithDefaults() *CreateVMSnapshotRequest
NewCreateVMSnapshotRequestWithDefaults instantiates a new CreateVMSnapshotRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *CreateVMSnapshotRequest) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *CreateVMSnapshotRequest) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateVMSnapshotRequest) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *CreateVMSnapshotRequest) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *CreateVMSnapshotRequest) GetSnapname() string
GetSnapname returns the Snapname field if non-nil, zero value otherwise.
func (o *CreateVMSnapshotRequest) GetSnapnameOk() (*string, bool)
GetSnapnameOk returns a tuple with the Snapname field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateVMSnapshotRequest) SetSnapname(v string)
SetSnapname sets Snapname field to given value.
func (o *CreateVMSnapshotRequest) GetVmstate() int32
GetVmstate returns the Vmstate field if non-nil, zero value otherwise.
func (o *CreateVMSnapshotRequest) GetVmstateOk() (*int32, bool)
GetVmstateOk returns a tuple with the Vmstate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateVMSnapshotRequest) SetVmstate(v int32)
SetVmstate sets Vmstate field to given value.
func (o *CreateVMSnapshotRequest) HasVmstate() bool
HasVmstate returns a boolean if a field has been set.