Files
autoglue/sdk/go/docs/DtoUpdateServerRequest.md
2025-11-02 13:19:30 +00:00

5.8 KiB

DtoUpdateServerRequest

Properties

Name Type Description Notes
Hostname Pointer to string [optional]
PrivateIpAddress Pointer to string [optional]
PublicIpAddress Pointer to string [optional]
Role Pointer to string [optional]
SshKeyId Pointer to string [optional]
SshUser Pointer to string [optional]
Status Pointer to string [optional]

Methods

NewDtoUpdateServerRequest

func NewDtoUpdateServerRequest() *DtoUpdateServerRequest

NewDtoUpdateServerRequest instantiates a new DtoUpdateServerRequest 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

NewDtoUpdateServerRequestWithDefaults

func NewDtoUpdateServerRequestWithDefaults() *DtoUpdateServerRequest

NewDtoUpdateServerRequestWithDefaults instantiates a new DtoUpdateServerRequest 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

GetHostname

func (o *DtoUpdateServerRequest) GetHostname() string

GetHostname returns the Hostname field if non-nil, zero value otherwise.

GetHostnameOk

func (o *DtoUpdateServerRequest) GetHostnameOk() (*string, bool)

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

SetHostname

func (o *DtoUpdateServerRequest) SetHostname(v string)

SetHostname sets Hostname field to given value.

HasHostname

func (o *DtoUpdateServerRequest) HasHostname() bool

HasHostname returns a boolean if a field has been set.

GetPrivateIpAddress

func (o *DtoUpdateServerRequest) GetPrivateIpAddress() string

GetPrivateIpAddress returns the PrivateIpAddress field if non-nil, zero value otherwise.

GetPrivateIpAddressOk

func (o *DtoUpdateServerRequest) GetPrivateIpAddressOk() (*string, bool)

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

SetPrivateIpAddress

func (o *DtoUpdateServerRequest) SetPrivateIpAddress(v string)

SetPrivateIpAddress sets PrivateIpAddress field to given value.

HasPrivateIpAddress

func (o *DtoUpdateServerRequest) HasPrivateIpAddress() bool

HasPrivateIpAddress returns a boolean if a field has been set.

GetPublicIpAddress

func (o *DtoUpdateServerRequest) GetPublicIpAddress() string

GetPublicIpAddress returns the PublicIpAddress field if non-nil, zero value otherwise.

GetPublicIpAddressOk

func (o *DtoUpdateServerRequest) GetPublicIpAddressOk() (*string, bool)

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

SetPublicIpAddress

func (o *DtoUpdateServerRequest) SetPublicIpAddress(v string)

SetPublicIpAddress sets PublicIpAddress field to given value.

HasPublicIpAddress

func (o *DtoUpdateServerRequest) HasPublicIpAddress() bool

HasPublicIpAddress returns a boolean if a field has been set.

GetRole

func (o *DtoUpdateServerRequest) GetRole() string

GetRole returns the Role field if non-nil, zero value otherwise.

GetRoleOk

func (o *DtoUpdateServerRequest) GetRoleOk() (*string, bool)

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

SetRole

func (o *DtoUpdateServerRequest) SetRole(v string)

SetRole sets Role field to given value.

HasRole

func (o *DtoUpdateServerRequest) HasRole() bool

HasRole returns a boolean if a field has been set.

GetSshKeyId

func (o *DtoUpdateServerRequest) GetSshKeyId() string

GetSshKeyId returns the SshKeyId field if non-nil, zero value otherwise.

GetSshKeyIdOk

func (o *DtoUpdateServerRequest) GetSshKeyIdOk() (*string, bool)

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

SetSshKeyId

func (o *DtoUpdateServerRequest) SetSshKeyId(v string)

SetSshKeyId sets SshKeyId field to given value.

HasSshKeyId

func (o *DtoUpdateServerRequest) HasSshKeyId() bool

HasSshKeyId returns a boolean if a field has been set.

GetSshUser

func (o *DtoUpdateServerRequest) GetSshUser() string

GetSshUser returns the SshUser field if non-nil, zero value otherwise.

GetSshUserOk

func (o *DtoUpdateServerRequest) GetSshUserOk() (*string, bool)

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

SetSshUser

func (o *DtoUpdateServerRequest) SetSshUser(v string)

SetSshUser sets SshUser field to given value.

HasSshUser

func (o *DtoUpdateServerRequest) HasSshUser() bool

HasSshUser returns a boolean if a field has been set.

GetStatus

func (o *DtoUpdateServerRequest) GetStatus() string

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *DtoUpdateServerRequest) GetStatusOk() (*string, bool)

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

SetStatus

func (o *DtoUpdateServerRequest) SetStatus(v string)

SetStatus sets Status field to given value.

HasStatus

func (o *DtoUpdateServerRequest) HasStatus() bool

HasStatus returns a boolean if a field has been set.

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