5.8 KiB
DtoCreateServerRequest
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
NewDtoCreateServerRequest
func NewDtoCreateServerRequest() *DtoCreateServerRequest
NewDtoCreateServerRequest instantiates a new DtoCreateServerRequest 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
NewDtoCreateServerRequestWithDefaults
func NewDtoCreateServerRequestWithDefaults() *DtoCreateServerRequest
NewDtoCreateServerRequestWithDefaults instantiates a new DtoCreateServerRequest 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 *DtoCreateServerRequest) GetHostname() string
GetHostname returns the Hostname field if non-nil, zero value otherwise.
GetHostnameOk
func (o *DtoCreateServerRequest) 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 *DtoCreateServerRequest) SetHostname(v string)
SetHostname sets Hostname field to given value.
HasHostname
func (o *DtoCreateServerRequest) HasHostname() bool
HasHostname returns a boolean if a field has been set.
GetPrivateIpAddress
func (o *DtoCreateServerRequest) GetPrivateIpAddress() string
GetPrivateIpAddress returns the PrivateIpAddress field if non-nil, zero value otherwise.
GetPrivateIpAddressOk
func (o *DtoCreateServerRequest) 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 *DtoCreateServerRequest) SetPrivateIpAddress(v string)
SetPrivateIpAddress sets PrivateIpAddress field to given value.
HasPrivateIpAddress
func (o *DtoCreateServerRequest) HasPrivateIpAddress() bool
HasPrivateIpAddress returns a boolean if a field has been set.
GetPublicIpAddress
func (o *DtoCreateServerRequest) GetPublicIpAddress() string
GetPublicIpAddress returns the PublicIpAddress field if non-nil, zero value otherwise.
GetPublicIpAddressOk
func (o *DtoCreateServerRequest) 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 *DtoCreateServerRequest) SetPublicIpAddress(v string)
SetPublicIpAddress sets PublicIpAddress field to given value.
HasPublicIpAddress
func (o *DtoCreateServerRequest) HasPublicIpAddress() bool
HasPublicIpAddress returns a boolean if a field has been set.
GetRole
func (o *DtoCreateServerRequest) GetRole() string
GetRole returns the Role field if non-nil, zero value otherwise.
GetRoleOk
func (o *DtoCreateServerRequest) 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 *DtoCreateServerRequest) SetRole(v string)
SetRole sets Role field to given value.
HasRole
func (o *DtoCreateServerRequest) HasRole() bool
HasRole returns a boolean if a field has been set.
GetSshKeyId
func (o *DtoCreateServerRequest) GetSshKeyId() string
GetSshKeyId returns the SshKeyId field if non-nil, zero value otherwise.
GetSshKeyIdOk
func (o *DtoCreateServerRequest) 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 *DtoCreateServerRequest) SetSshKeyId(v string)
SetSshKeyId sets SshKeyId field to given value.
HasSshKeyId
func (o *DtoCreateServerRequest) HasSshKeyId() bool
HasSshKeyId returns a boolean if a field has been set.
GetSshUser
func (o *DtoCreateServerRequest) GetSshUser() string
GetSshUser returns the SshUser field if non-nil, zero value otherwise.
GetSshUserOk
func (o *DtoCreateServerRequest) 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 *DtoCreateServerRequest) SetSshUser(v string)
SetSshUser sets SshUser field to given value.
HasSshUser
func (o *DtoCreateServerRequest) HasSshUser() bool
HasSshUser returns a boolean if a field has been set.
GetStatus
func (o *DtoCreateServerRequest) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
GetStatusOk
func (o *DtoCreateServerRequest) 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 *DtoCreateServerRequest) SetStatus(v string)
SetStatus sets Status field to given value.
HasStatus
func (o *DtoCreateServerRequest) HasStatus() bool
HasStatus returns a boolean if a field has been set.