Name | Type | Description | Notes |
---|---|---|---|
File | string | ||
Size | Pointer to int64 | [optional] | |
Iommu | Pointer to bool | [optional] [default to false] | |
DiscardWrites | Pointer to bool | [optional] [default to false] | |
PciSegment | Pointer to int32 | [optional] | |
Id | Pointer to string | [optional] |
func NewPmemConfig(file string, ) *PmemConfig
NewPmemConfig instantiates a new PmemConfig 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 NewPmemConfigWithDefaults() *PmemConfig
NewPmemConfigWithDefaults instantiates a new PmemConfig 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 *PmemConfig) GetFile() string
GetFile returns the File field if non-nil, zero value otherwise.
func (o *PmemConfig) GetFileOk() (*string, bool)
GetFileOk returns a tuple with the File field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PmemConfig) SetFile(v string)
SetFile sets File field to given value.
func (o *PmemConfig) GetSize() int64
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *PmemConfig) GetSizeOk() (*int64, bool)
GetSizeOk returns a tuple with the Size field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PmemConfig) SetSize(v int64)
SetSize sets Size field to given value.
func (o *PmemConfig) HasSize() bool
HasSize returns a boolean if a field has been set.
func (o *PmemConfig) GetIommu() bool
GetIommu returns the Iommu field if non-nil, zero value otherwise.
func (o *PmemConfig) GetIommuOk() (*bool, bool)
GetIommuOk returns a tuple with the Iommu field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PmemConfig) SetIommu(v bool)
SetIommu sets Iommu field to given value.
func (o *PmemConfig) HasIommu() bool
HasIommu returns a boolean if a field has been set.
func (o *PmemConfig) GetDiscardWrites() bool
GetDiscardWrites returns the DiscardWrites field if non-nil, zero value otherwise.
func (o *PmemConfig) GetDiscardWritesOk() (*bool, bool)
GetDiscardWritesOk returns a tuple with the DiscardWrites field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PmemConfig) SetDiscardWrites(v bool)
SetDiscardWrites sets DiscardWrites field to given value.
func (o *PmemConfig) HasDiscardWrites() bool
HasDiscardWrites returns a boolean if a field has been set.
func (o *PmemConfig) GetPciSegment() int32
GetPciSegment returns the PciSegment field if non-nil, zero value otherwise.
func (o *PmemConfig) GetPciSegmentOk() (*int32, bool)
GetPciSegmentOk returns a tuple with the PciSegment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PmemConfig) SetPciSegment(v int32)
SetPciSegment sets PciSegment field to given value.
func (o *PmemConfig) HasPciSegment() bool
HasPciSegment returns a boolean if a field has been set.
func (o *PmemConfig) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *PmemConfig) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PmemConfig) SetId(v string)
SetId sets Id field to given value.
func (o *PmemConfig) HasId() bool
HasId returns a boolean if a field has been set.