Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.86 KB

File metadata and controls

98 lines (53 loc) · 2.86 KB

ServerInfo

Properties

Name Type Description Notes
Version ServerVersion
DeploymentMode string
PlatformVersion Pointer to string The version value is a semantic version, based on the official Semantic Versioning spec (https://semver.org/). [optional]

Methods

NewServerInfo

func NewServerInfo(version ServerVersion, deploymentMode string, ) *ServerInfo

NewServerInfo instantiates a new ServerInfo 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

NewServerInfoWithDefaults

func NewServerInfoWithDefaults() *ServerInfo

NewServerInfoWithDefaults instantiates a new ServerInfo 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 *ServerInfo) GetVersion() ServerVersion

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

GetVersionOk

func (o *ServerInfo) GetVersionOk() (*ServerVersion, 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 *ServerInfo) SetVersion(v ServerVersion)

SetVersion sets Version field to given value.

GetDeploymentMode

func (o *ServerInfo) GetDeploymentMode() string

GetDeploymentMode returns the DeploymentMode field if non-nil, zero value otherwise.

GetDeploymentModeOk

func (o *ServerInfo) GetDeploymentModeOk() (*string, bool)

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

SetDeploymentMode

func (o *ServerInfo) SetDeploymentMode(v string)

SetDeploymentMode sets DeploymentMode field to given value.

GetPlatformVersion

func (o *ServerInfo) GetPlatformVersion() string

GetPlatformVersion returns the PlatformVersion field if non-nil, zero value otherwise.

GetPlatformVersionOk

func (o *ServerInfo) GetPlatformVersionOk() (*string, bool)

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

SetPlatformVersion

func (o *ServerInfo) SetPlatformVersion(v string)

SetPlatformVersion sets PlatformVersion field to given value.

HasPlatformVersion

func (o *ServerInfo) HasPlatformVersion() bool

HasPlatformVersion returns a boolean if a field has been set.

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