Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 3.46 KB

File metadata and controls

129 lines (70 loc) · 3.46 KB

OperatingSystem

Properties

Name Type Description Notes
Family DeviceFactsOSFamily
Name Pointer to string Operating System name, such as 'Server 2022' or 'Ubuntu' [optional]
Version Pointer to string Operating System version, must always be the version number but may contain build name [optional]
Arch Pointer to string [optional]

Methods

NewOperatingSystem

func NewOperatingSystem(family DeviceFactsOSFamily, ) *OperatingSystem

NewOperatingSystem instantiates a new OperatingSystem 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

NewOperatingSystemWithDefaults

func NewOperatingSystemWithDefaults() *OperatingSystem

NewOperatingSystemWithDefaults instantiates a new OperatingSystem 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

GetFamily

func (o *OperatingSystem) GetFamily() DeviceFactsOSFamily

GetFamily returns the Family field if non-nil, zero value otherwise.

GetFamilyOk

func (o *OperatingSystem) GetFamilyOk() (*DeviceFactsOSFamily, bool)

GetFamilyOk returns a tuple with the Family field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFamily

func (o *OperatingSystem) SetFamily(v DeviceFactsOSFamily)

SetFamily sets Family field to given value.

GetName

func (o *OperatingSystem) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *OperatingSystem) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *OperatingSystem) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *OperatingSystem) HasName() bool

HasName returns a boolean if a field has been set.

GetVersion

func (o *OperatingSystem) GetVersion() string

GetVersion returns the Version field if non-nil, zero value otherwise.

GetVersionOk

func (o *OperatingSystem) GetVersionOk() (*string, bool)

GetVersionOk returns a tuple with the Version field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetVersion

func (o *OperatingSystem) SetVersion(v string)

SetVersion sets Version field to given value.

HasVersion

func (o *OperatingSystem) HasVersion() bool

HasVersion returns a boolean if a field has been set.

GetArch

func (o *OperatingSystem) GetArch() string

GetArch returns the Arch field if non-nil, zero value otherwise.

GetArchOk

func (o *OperatingSystem) GetArchOk() (*string, bool)

GetArchOk returns a tuple with the Arch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetArch

func (o *OperatingSystem) SetArch(v string)

SetArch sets Arch field to given value.

HasArch

func (o *OperatingSystem) HasArch() bool

HasArch returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]