SystemInfoResponse Model
SystemInfoResponse Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Version | Pointer to string | [optional] | |
| Major | int32 | ||
| Minor | int32 | ||
| Patch | int32 | ||
| Dirty | bool | ||
| GitCommit | Pointer to string | [optional] | |
| GitDescribe | Pointer to string | [optional] | |
| BuildTime | Pointer to time.Time | [optional] | |
| Capabilities | Pointer to map[string]string | [optional] |
Methods
NewSystemInfoResponse
func NewSystemInfoResponse(major int32, minor int32, patch int32, dirty bool, ) *SystemInfoResponse
NewSystemInfoResponse instantiates a new SystemInfoResponse 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
NewSystemInfoResponseWithDefaults
func NewSystemInfoResponseWithDefaults() *SystemInfoResponse
NewSystemInfoResponseWithDefaults instantiates a new SystemInfoResponse 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
GetVersion
func (o *SystemInfoResponse) GetVersion() string
GetVersion returns the Version field if non-nil, zero value otherwise.
GetVersionOk
func (o *SystemInfoResponse) 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 *SystemInfoResponse) SetVersion(v string)
SetVersion sets Version field to given value.
HasVersion
func (o *SystemInfoResponse) HasVersion() bool
HasVersion returns a boolean if a field has been set.
GetMajor
func (o *SystemInfoResponse) GetMajor() int32
GetMajor returns the Major field if non-nil, zero value otherwise.
GetMajorOk
func (o *SystemInfoResponse) GetMajorOk() (*int32, bool)
GetMajorOk returns a tuple with the Major field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMajor
func (o *SystemInfoResponse) SetMajor(v int32)
SetMajor sets Major field to given value.
GetMinor
func (o *SystemInfoResponse) GetMinor() int32
GetMinor returns the Minor field if non-nil, zero value otherwise.
GetMinorOk
func (o *SystemInfoResponse) GetMinorOk() (*int32, bool)
GetMinorOk returns a tuple with the Minor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMinor
func (o *SystemInfoResponse) SetMinor(v int32)
SetMinor sets Minor field to given value.
GetPatch
func (o *SystemInfoResponse) GetPatch() int32
GetPatch returns the Patch field if non-nil, zero value otherwise.
GetPatchOk
func (o *SystemInfoResponse) GetPatchOk() (*int32, bool)
GetPatchOk returns a tuple with the Patch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPatch
func (o *SystemInfoResponse) SetPatch(v int32)
SetPatch sets Patch field to given value.
GetDirty
func (o *SystemInfoResponse) GetDirty() bool
GetDirty returns the Dirty field if non-nil, zero value otherwise.
GetDirtyOk
func (o *SystemInfoResponse) GetDirtyOk() (*bool, bool)
GetDirtyOk returns a tuple with the Dirty field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetDirty
func (o *SystemInfoResponse) SetDirty(v bool)
SetDirty sets Dirty field to given value.
GetGitCommit
func (o *SystemInfoResponse) GetGitCommit() string
GetGitCommit returns the GitCommit field if non-nil, zero value otherwise.
GetGitCommitOk
func (o *SystemInfoResponse) GetGitCommitOk() (*string, bool)
GetGitCommitOk returns a tuple with the GitCommit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGitCommit
func (o *SystemInfoResponse) SetGitCommit(v string)
SetGitCommit sets GitCommit field to given value.
HasGitCommit
func (o *SystemInfoResponse) HasGitCommit() bool
HasGitCommit returns a boolean if a field has been set.
GetGitDescribe
func (o *SystemInfoResponse) GetGitDescribe() string
GetGitDescribe returns the GitDescribe field if non-nil, zero value otherwise.
GetGitDescribeOk
func (o *SystemInfoResponse) GetGitDescribeOk() (*string, bool)
GetGitDescribeOk returns a tuple with the GitDescribe field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGitDescribe
func (o *SystemInfoResponse) SetGitDescribe(v string)
SetGitDescribe sets GitDescribe field to given value.
HasGitDescribe
func (o *SystemInfoResponse) HasGitDescribe() bool
HasGitDescribe returns a boolean if a field has been set.
GetBuildTime
func (o *SystemInfoResponse) GetBuildTime() time.Time
GetBuildTime returns the BuildTime field if non-nil, zero value otherwise.
GetBuildTimeOk
func (o *SystemInfoResponse) GetBuildTimeOk() (*time.Time, bool)
GetBuildTimeOk returns a tuple with the BuildTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetBuildTime
func (o *SystemInfoResponse) SetBuildTime(v time.Time)
SetBuildTime sets BuildTime field to given value.
HasBuildTime
func (o *SystemInfoResponse) HasBuildTime() bool
HasBuildTime returns a boolean if a field has been set.
GetCapabilities
func (o *SystemInfoResponse) GetCapabilities() map[string]string
GetCapabilities returns the Capabilities field if non-nil, zero value otherwise.
GetCapabilitiesOk
func (o *SystemInfoResponse) GetCapabilitiesOk() (*map[string]string, bool)
GetCapabilitiesOk returns a tuple with the Capabilities field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCapabilities
func (o *SystemInfoResponse) SetCapabilities(v map[string]string)
SetCapabilities sets Capabilities field to given value.
HasCapabilities
func (o *SystemInfoResponse) HasCapabilities() bool
HasCapabilities returns a boolean if a field has been set.