Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ApiCreateCronJobRequest
- type ApiCreateDatasetRequest
- type ApiCreateGroupRequest
- type ApiCreateShareNFSRequest
- type ApiCreateShareSMBRequest
- type ApiCreateUserRequest
- type ApiCreateVMRequest
- type ApiDeleteCronJobRequest
- type ApiDeleteDatasetRequest
- type ApiDeleteGroupRequest
- type ApiDeleteUserRequest
- type ApiDeleteVMRequest
- type ApiGetCronJobRequest
- func (r ApiGetCronJobRequest) Count(count bool) ApiGetCronJobRequest
- func (r ApiGetCronJobRequest) Execute() (*CronJob, *http.Response, error)
- func (r ApiGetCronJobRequest) Limit(limit int32) ApiGetCronJobRequest
- func (r ApiGetCronJobRequest) Offset(offset int32) ApiGetCronJobRequest
- func (r ApiGetCronJobRequest) Sort(sort string) ApiGetCronJobRequest
- type ApiGetDatasetRequest
- func (r ApiGetDatasetRequest) Count(count bool) ApiGetDatasetRequest
- func (r ApiGetDatasetRequest) Execute() (*Dataset, *http.Response, error)
- func (r ApiGetDatasetRequest) Limit(limit int32) ApiGetDatasetRequest
- func (r ApiGetDatasetRequest) Offset(offset int32) ApiGetDatasetRequest
- func (r ApiGetDatasetRequest) Sort(sort string) ApiGetDatasetRequest
- type ApiGetGroupRequest
- func (r ApiGetGroupRequest) Count(count bool) ApiGetGroupRequest
- func (r ApiGetGroupRequest) Execute() (*Group, *http.Response, error)
- func (r ApiGetGroupRequest) Limit(limit int32) ApiGetGroupRequest
- func (r ApiGetGroupRequest) Offset(offset int32) ApiGetGroupRequest
- func (r ApiGetGroupRequest) Sort(sort string) ApiGetGroupRequest
- type ApiGetNetworkConfigurationRequest
- type ApiGetNetworkSummaryRequest
- type ApiGetServiceRequest
- func (r ApiGetServiceRequest) Count(count bool) ApiGetServiceRequest
- func (r ApiGetServiceRequest) Execute() (*Service, *http.Response, error)
- func (r ApiGetServiceRequest) Limit(limit int32) ApiGetServiceRequest
- func (r ApiGetServiceRequest) Offset(offset int32) ApiGetServiceRequest
- func (r ApiGetServiceRequest) Sort(sort string) ApiGetServiceRequest
- type ApiGetShareNFSRequest
- func (r ApiGetShareNFSRequest) Count(count bool) ApiGetShareNFSRequest
- func (r ApiGetShareNFSRequest) Execute() (*ShareNFS, *http.Response, error)
- func (r ApiGetShareNFSRequest) Limit(limit int32) ApiGetShareNFSRequest
- func (r ApiGetShareNFSRequest) Offset(offset int32) ApiGetShareNFSRequest
- func (r ApiGetShareNFSRequest) Sort(sort string) ApiGetShareNFSRequest
- type ApiGetShareSMBRequest
- func (r ApiGetShareSMBRequest) Count(count bool) ApiGetShareSMBRequest
- func (r ApiGetShareSMBRequest) Execute() (*ShareSMB, *http.Response, error)
- func (r ApiGetShareSMBRequest) Limit(limit int32) ApiGetShareSMBRequest
- func (r ApiGetShareSMBRequest) Offset(offset int32) ApiGetShareSMBRequest
- func (r ApiGetShareSMBRequest) Sort(sort string) ApiGetShareSMBRequest
- type ApiGetUserRequest
- func (r ApiGetUserRequest) Count(count bool) ApiGetUserRequest
- func (r ApiGetUserRequest) Execute() (*User, *http.Response, error)
- func (r ApiGetUserRequest) Limit(limit int32) ApiGetUserRequest
- func (r ApiGetUserRequest) Offset(offset int32) ApiGetUserRequest
- func (r ApiGetUserRequest) Sort(sort string) ApiGetUserRequest
- type ApiGetUserShellChoicesRequest
- type ApiGetVMRequest
- func (r ApiGetVMRequest) Count(count bool) ApiGetVMRequest
- func (r ApiGetVMRequest) Execute() (*VM, *http.Response, error)
- func (r ApiGetVMRequest) Limit(limit int32) ApiGetVMRequest
- func (r ApiGetVMRequest) Offset(offset int32) ApiGetVMRequest
- func (r ApiGetVMRequest) Sort(sort string) ApiGetVMRequest
- type ApiListDatasetsRequest
- func (r ApiListDatasetsRequest) Count(count bool) ApiListDatasetsRequest
- func (r ApiListDatasetsRequest) Execute() ([]Dataset, *http.Response, error)
- func (r ApiListDatasetsRequest) Limit(limit int32) ApiListDatasetsRequest
- func (r ApiListDatasetsRequest) Offset(offset int32) ApiListDatasetsRequest
- func (r ApiListDatasetsRequest) Sort(sort string) ApiListDatasetsRequest
- type ApiListGroupsRequest
- func (r ApiListGroupsRequest) Count(count bool) ApiListGroupsRequest
- func (r ApiListGroupsRequest) Execute() (*http.Response, error)
- func (r ApiListGroupsRequest) Limit(limit int32) ApiListGroupsRequest
- func (r ApiListGroupsRequest) Offset(offset int32) ApiListGroupsRequest
- func (r ApiListGroupsRequest) Sort(sort string) ApiListGroupsRequest
- type ApiListPoolsRequest
- func (r ApiListPoolsRequest) Count(count bool) ApiListPoolsRequest
- func (r ApiListPoolsRequest) Execute() ([]Pool, *http.Response, error)
- func (r ApiListPoolsRequest) Limit(limit int32) ApiListPoolsRequest
- func (r ApiListPoolsRequest) Offset(offset int32) ApiListPoolsRequest
- func (r ApiListPoolsRequest) Sort(sort string) ApiListPoolsRequest
- type ApiListSharesNFSRequest
- func (r ApiListSharesNFSRequest) Count(count bool) ApiListSharesNFSRequest
- func (r ApiListSharesNFSRequest) Execute() ([]ShareNFS, *http.Response, error)
- func (r ApiListSharesNFSRequest) Limit(limit int32) ApiListSharesNFSRequest
- func (r ApiListSharesNFSRequest) Offset(offset int32) ApiListSharesNFSRequest
- func (r ApiListSharesNFSRequest) Sort(sort string) ApiListSharesNFSRequest
- type ApiListSharesSMBRequest
- func (r ApiListSharesSMBRequest) Count(count bool) ApiListSharesSMBRequest
- func (r ApiListSharesSMBRequest) Execute() ([]ShareSMB, *http.Response, error)
- func (r ApiListSharesSMBRequest) Limit(limit int32) ApiListSharesSMBRequest
- func (r ApiListSharesSMBRequest) Offset(offset int32) ApiListSharesSMBRequest
- func (r ApiListSharesSMBRequest) Sort(sort string) ApiListSharesSMBRequest
- type ApiListUsersRequest
- func (r ApiListUsersRequest) Count(count bool) ApiListUsersRequest
- func (r ApiListUsersRequest) Execute() ([]User, *http.Response, error)
- func (r ApiListUsersRequest) Limit(limit int32) ApiListUsersRequest
- func (r ApiListUsersRequest) Offset(offset int32) ApiListUsersRequest
- func (r ApiListUsersRequest) Sort(sort string) ApiListUsersRequest
- type ApiListVMSRequest
- func (r ApiListVMSRequest) Count(count bool) ApiListVMSRequest
- func (r ApiListVMSRequest) Execute() ([]VM, *http.Response, error)
- func (r ApiListVMSRequest) Limit(limit int32) ApiListVMSRequest
- func (r ApiListVMSRequest) Offset(offset int32) ApiListVMSRequest
- func (r ApiListVMSRequest) Sort(sort string) ApiListVMSRequest
- type ApiRemoveShareNFSRequest
- type ApiRemoveShareSMBRequest
- type ApiUpdateCronJobRequest
- type ApiUpdateDatasetRequest
- type ApiUpdateGroupRequest
- type ApiUpdateShareNFSRequest
- type ApiUpdateShareSMBRequest
- type ApiUpdateUserRequest
- type ApiUpdateVMRequest
- type BasicAuth
- type CompositeValue
- func (o *CompositeValue) GetRawvalue() string
- func (o *CompositeValue) GetRawvalueOk() (*string, bool)
- func (o *CompositeValue) GetSource() string
- func (o *CompositeValue) GetSourceOk() (*string, bool)
- func (o *CompositeValue) GetValue() string
- func (o *CompositeValue) GetValueOk() (*string, bool)
- func (o *CompositeValue) HasSource() bool
- func (o *CompositeValue) HasValue() bool
- func (o CompositeValue) MarshalJSON() ([]byte, error)
- func (o *CompositeValue) SetRawvalue(v string)
- func (o *CompositeValue) SetSource(v string)
- func (o *CompositeValue) SetValue(v string)
- func (o *CompositeValue) UnmarshalJSON(bytes []byte) (err error)
- type Configuration
- type CreateCronjobParams
- func (o *CreateCronjobParams) GetCommand() string
- func (o *CreateCronjobParams) GetCommandOk() (*string, bool)
- func (o *CreateCronjobParams) GetDescription() string
- func (o *CreateCronjobParams) GetDescriptionOk() (*string, bool)
- func (o *CreateCronjobParams) GetEnabled() bool
- func (o *CreateCronjobParams) GetEnabledOk() (*bool, bool)
- func (o *CreateCronjobParams) GetSchedule() CronJobSchedule
- func (o *CreateCronjobParams) GetScheduleOk() (*CronJobSchedule, bool)
- func (o *CreateCronjobParams) GetStderr() bool
- func (o *CreateCronjobParams) GetStderrOk() (*bool, bool)
- func (o *CreateCronjobParams) GetStdout() bool
- func (o *CreateCronjobParams) GetStdoutOk() (*bool, bool)
- func (o *CreateCronjobParams) GetUser() string
- func (o *CreateCronjobParams) GetUserOk() (*string, bool)
- func (o *CreateCronjobParams) HasDescription() bool
- func (o *CreateCronjobParams) HasEnabled() bool
- func (o *CreateCronjobParams) HasSchedule() bool
- func (o *CreateCronjobParams) HasStderr() bool
- func (o *CreateCronjobParams) HasStdout() bool
- func (o CreateCronjobParams) MarshalJSON() ([]byte, error)
- func (o *CreateCronjobParams) SetCommand(v string)
- func (o *CreateCronjobParams) SetDescription(v string)
- func (o *CreateCronjobParams) SetEnabled(v bool)
- func (o *CreateCronjobParams) SetSchedule(v CronJobSchedule)
- func (o *CreateCronjobParams) SetStderr(v bool)
- func (o *CreateCronjobParams) SetStdout(v bool)
- func (o *CreateCronjobParams) SetUser(v string)
- func (o *CreateCronjobParams) UnmarshalJSON(bytes []byte) (err error)
- type CreateDatasetParams
- func (o *CreateDatasetParams) GetAclmode() string
- func (o *CreateDatasetParams) GetAclmodeOk() (*string, bool)
- func (o *CreateDatasetParams) GetAtime() string
- func (o *CreateDatasetParams) GetAtimeOk() (*string, bool)
- func (o *CreateDatasetParams) GetCasesensitivity() string
- func (o *CreateDatasetParams) GetCasesensitivityOk() (*string, bool)
- func (o *CreateDatasetParams) GetComments() string
- func (o *CreateDatasetParams) GetCommentsOk() (*string, bool)
- func (o *CreateDatasetParams) GetCompression() string
- func (o *CreateDatasetParams) GetCompressionOk() (*string, bool)
- func (o *CreateDatasetParams) GetCopies() int32
- func (o *CreateDatasetParams) GetCopiesOk() (*int32, bool)
- func (o *CreateDatasetParams) GetDeduplication() string
- func (o *CreateDatasetParams) GetDeduplicationOk() (*string, bool)
- func (o *CreateDatasetParams) GetEncryption() bool
- func (o *CreateDatasetParams) GetEncryptionOk() (*bool, bool)
- func (o *CreateDatasetParams) GetEncryptionOptions() CreateDatasetParamsEncryptionOptions
- func (o *CreateDatasetParams) GetEncryptionOptionsOk() (*CreateDatasetParamsEncryptionOptions, bool)
- func (o *CreateDatasetParams) GetExec() string
- func (o *CreateDatasetParams) GetExecOk() (*string, bool)
- func (o *CreateDatasetParams) GetForceSize() bool
- func (o *CreateDatasetParams) GetForceSizeOk() (*bool, bool)
- func (o *CreateDatasetParams) GetInheritEncryption() bool
- func (o *CreateDatasetParams) GetInheritEncryptionOk() (*bool, bool)
- func (o *CreateDatasetParams) GetName() string
- func (o *CreateDatasetParams) GetNameOk() (*string, bool)
- func (o *CreateDatasetParams) GetQuota() int64
- func (o *CreateDatasetParams) GetQuotaCritical() int64
- func (o *CreateDatasetParams) GetQuotaCriticalOk() (*int64, bool)
- func (o *CreateDatasetParams) GetQuotaOk() (*int64, bool)
- func (o *CreateDatasetParams) GetQuotaWarning() int64
- func (o *CreateDatasetParams) GetQuotaWarningOk() (*int64, bool)
- func (o *CreateDatasetParams) GetReadonly() string
- func (o *CreateDatasetParams) GetReadonlyOk() (*string, bool)
- func (o *CreateDatasetParams) GetRecordsize() string
- func (o *CreateDatasetParams) GetRecordsizeOk() (*string, bool)
- func (o *CreateDatasetParams) GetRefquota() int64
- func (o *CreateDatasetParams) GetRefquotaCritical() int64
- func (o *CreateDatasetParams) GetRefquotaCriticalOk() (*int64, bool)
- func (o *CreateDatasetParams) GetRefquotaOk() (*int64, bool)
- func (o *CreateDatasetParams) GetRefquotaWarning() int64
- func (o *CreateDatasetParams) GetRefquotaWarningOk() (*int64, bool)
- func (o *CreateDatasetParams) GetRefreservation() int64
- func (o *CreateDatasetParams) GetRefreservationOk() (*int64, bool)
- func (o *CreateDatasetParams) GetReservation() int64
- func (o *CreateDatasetParams) GetReservationOk() (*int64, bool)
- func (o *CreateDatasetParams) GetShareType() string
- func (o *CreateDatasetParams) GetShareTypeOk() (*string, bool)
- func (o *CreateDatasetParams) GetSnapdir() string
- func (o *CreateDatasetParams) GetSnapdirOk() (*string, bool)
- func (o *CreateDatasetParams) GetSync() string
- func (o *CreateDatasetParams) GetSyncOk() (*string, bool)
- func (o *CreateDatasetParams) GetType() string
- func (o *CreateDatasetParams) GetTypeOk() (*string, bool)
- func (o *CreateDatasetParams) GetVolblocksize() string
- func (o *CreateDatasetParams) GetVolblocksizeOk() (*string, bool)
- func (o *CreateDatasetParams) GetVolsize() int64
- func (o *CreateDatasetParams) GetVolsizeOk() (*int64, bool)
- func (o *CreateDatasetParams) HasAclmode() bool
- func (o *CreateDatasetParams) HasAtime() bool
- func (o *CreateDatasetParams) HasCasesensitivity() bool
- func (o *CreateDatasetParams) HasComments() bool
- func (o *CreateDatasetParams) HasCompression() bool
- func (o *CreateDatasetParams) HasCopies() bool
- func (o *CreateDatasetParams) HasDeduplication() bool
- func (o *CreateDatasetParams) HasEncryption() bool
- func (o *CreateDatasetParams) HasEncryptionOptions() bool
- func (o *CreateDatasetParams) HasExec() bool
- func (o *CreateDatasetParams) HasForceSize() bool
- func (o *CreateDatasetParams) HasInheritEncryption() bool
- func (o *CreateDatasetParams) HasQuota() bool
- func (o *CreateDatasetParams) HasQuotaCritical() bool
- func (o *CreateDatasetParams) HasQuotaWarning() bool
- func (o *CreateDatasetParams) HasReadonly() bool
- func (o *CreateDatasetParams) HasRecordsize() bool
- func (o *CreateDatasetParams) HasRefquota() bool
- func (o *CreateDatasetParams) HasRefquotaCritical() bool
- func (o *CreateDatasetParams) HasRefquotaWarning() bool
- func (o *CreateDatasetParams) HasRefreservation() bool
- func (o *CreateDatasetParams) HasReservation() bool
- func (o *CreateDatasetParams) HasShareType() bool
- func (o *CreateDatasetParams) HasSnapdir() bool
- func (o *CreateDatasetParams) HasSync() bool
- func (o *CreateDatasetParams) HasType() bool
- func (o *CreateDatasetParams) HasVolblocksize() bool
- func (o *CreateDatasetParams) HasVolsize() bool
- func (o CreateDatasetParams) MarshalJSON() ([]byte, error)
- func (o *CreateDatasetParams) SetAclmode(v string)
- func (o *CreateDatasetParams) SetAtime(v string)
- func (o *CreateDatasetParams) SetCasesensitivity(v string)
- func (o *CreateDatasetParams) SetComments(v string)
- func (o *CreateDatasetParams) SetCompression(v string)
- func (o *CreateDatasetParams) SetCopies(v int32)
- func (o *CreateDatasetParams) SetDeduplication(v string)
- func (o *CreateDatasetParams) SetEncryption(v bool)
- func (o *CreateDatasetParams) SetEncryptionOptions(v CreateDatasetParamsEncryptionOptions)
- func (o *CreateDatasetParams) SetExec(v string)
- func (o *CreateDatasetParams) SetForceSize(v bool)
- func (o *CreateDatasetParams) SetInheritEncryption(v bool)
- func (o *CreateDatasetParams) SetName(v string)
- func (o *CreateDatasetParams) SetQuota(v int64)
- func (o *CreateDatasetParams) SetQuotaCritical(v int64)
- func (o *CreateDatasetParams) SetQuotaWarning(v int64)
- func (o *CreateDatasetParams) SetReadonly(v string)
- func (o *CreateDatasetParams) SetRecordsize(v string)
- func (o *CreateDatasetParams) SetRefquota(v int64)
- func (o *CreateDatasetParams) SetRefquotaCritical(v int64)
- func (o *CreateDatasetParams) SetRefquotaWarning(v int64)
- func (o *CreateDatasetParams) SetRefreservation(v int64)
- func (o *CreateDatasetParams) SetReservation(v int64)
- func (o *CreateDatasetParams) SetShareType(v string)
- func (o *CreateDatasetParams) SetSnapdir(v string)
- func (o *CreateDatasetParams) SetSync(v string)
- func (o *CreateDatasetParams) SetType(v string)
- func (o *CreateDatasetParams) SetVolblocksize(v string)
- func (o *CreateDatasetParams) SetVolsize(v int64)
- func (o *CreateDatasetParams) UnmarshalJSON(bytes []byte) (err error)
- type CreateDatasetParamsEncryptionOptions
- func (o *CreateDatasetParamsEncryptionOptions) GetAlgorithm() string
- func (o *CreateDatasetParamsEncryptionOptions) GetAlgorithmOk() (*string, bool)
- func (o *CreateDatasetParamsEncryptionOptions) GetGenerateKey() bool
- func (o *CreateDatasetParamsEncryptionOptions) GetGenerateKeyOk() (*bool, bool)
- func (o *CreateDatasetParamsEncryptionOptions) GetKey() string
- func (o *CreateDatasetParamsEncryptionOptions) GetKeyOk() (*string, bool)
- func (o *CreateDatasetParamsEncryptionOptions) GetPassphrase() string
- func (o *CreateDatasetParamsEncryptionOptions) GetPassphraseOk() (*string, bool)
- func (o *CreateDatasetParamsEncryptionOptions) HasAlgorithm() bool
- func (o *CreateDatasetParamsEncryptionOptions) HasGenerateKey() bool
- func (o *CreateDatasetParamsEncryptionOptions) HasKey() bool
- func (o *CreateDatasetParamsEncryptionOptions) HasPassphrase() bool
- func (o CreateDatasetParamsEncryptionOptions) MarshalJSON() ([]byte, error)
- func (o *CreateDatasetParamsEncryptionOptions) SetAlgorithm(v string)
- func (o *CreateDatasetParamsEncryptionOptions) SetGenerateKey(v bool)
- func (o *CreateDatasetParamsEncryptionOptions) SetKey(v string)
- func (o *CreateDatasetParamsEncryptionOptions) SetPassphrase(v string)
- func (o *CreateDatasetParamsEncryptionOptions) UnmarshalJSON(bytes []byte) (err error)
- type CreateGroupParams
- func (o *CreateGroupParams) GetAllowDuplicateGid() bool
- func (o *CreateGroupParams) GetAllowDuplicateGidOk() (*bool, bool)
- func (o *CreateGroupParams) GetGid() int32
- func (o *CreateGroupParams) GetGidOk() (*int32, bool)
- func (o *CreateGroupParams) GetName() string
- func (o *CreateGroupParams) GetNameOk() (*string, bool)
- func (o *CreateGroupParams) GetSmb() bool
- func (o *CreateGroupParams) GetSmbOk() (*bool, bool)
- func (o *CreateGroupParams) GetSudo() bool
- func (o *CreateGroupParams) GetSudoCommands() []string
- func (o *CreateGroupParams) GetSudoCommandsOk() ([]string, bool)
- func (o *CreateGroupParams) GetSudoNopasswd() bool
- func (o *CreateGroupParams) GetSudoNopasswdOk() (*bool, bool)
- func (o *CreateGroupParams) GetSudoOk() (*bool, bool)
- func (o *CreateGroupParams) GetUsers() []int32
- func (o *CreateGroupParams) GetUsersOk() ([]int32, bool)
- func (o *CreateGroupParams) HasAllowDuplicateGid() bool
- func (o *CreateGroupParams) HasGid() bool
- func (o *CreateGroupParams) HasSmb() bool
- func (o *CreateGroupParams) HasSudo() bool
- func (o *CreateGroupParams) HasSudoCommands() bool
- func (o *CreateGroupParams) HasSudoNopasswd() bool
- func (o *CreateGroupParams) HasUsers() bool
- func (o CreateGroupParams) MarshalJSON() ([]byte, error)
- func (o *CreateGroupParams) SetAllowDuplicateGid(v bool)
- func (o *CreateGroupParams) SetGid(v int32)
- func (o *CreateGroupParams) SetName(v string)
- func (o *CreateGroupParams) SetSmb(v bool)
- func (o *CreateGroupParams) SetSudo(v bool)
- func (o *CreateGroupParams) SetSudoCommands(v []string)
- func (o *CreateGroupParams) SetSudoNopasswd(v bool)
- func (o *CreateGroupParams) SetUsers(v []int32)
- func (o *CreateGroupParams) UnmarshalJSON(bytes []byte) (err error)
- type CreateShareNFSParams
- func (o *CreateShareNFSParams) GetAlldirs() bool
- func (o *CreateShareNFSParams) GetAlldirsOk() (*bool, bool)
- func (o *CreateShareNFSParams) GetComment() string
- func (o *CreateShareNFSParams) GetCommentOk() (*string, bool)
- func (o *CreateShareNFSParams) GetEnabled() bool
- func (o *CreateShareNFSParams) GetEnabledOk() (*bool, bool)
- func (o *CreateShareNFSParams) GetHosts() []string
- func (o *CreateShareNFSParams) GetHostsOk() ([]string, bool)
- func (o *CreateShareNFSParams) GetMapallGroup() string
- func (o *CreateShareNFSParams) GetMapallGroupOk() (*string, bool)
- func (o *CreateShareNFSParams) GetMapallUser() string
- func (o *CreateShareNFSParams) GetMapallUserOk() (*string, bool)
- func (o *CreateShareNFSParams) GetMaprootGroup() string
- func (o *CreateShareNFSParams) GetMaprootGroupOk() (*string, bool)
- func (o *CreateShareNFSParams) GetMaprootUser() string
- func (o *CreateShareNFSParams) GetMaprootUserOk() (*string, bool)
- func (o *CreateShareNFSParams) GetNetworks() []string
- func (o *CreateShareNFSParams) GetNetworksOk() ([]string, bool)
- func (o *CreateShareNFSParams) GetPaths() []string
- func (o *CreateShareNFSParams) GetPathsOk() ([]string, bool)
- func (o *CreateShareNFSParams) GetQuiet() bool
- func (o *CreateShareNFSParams) GetQuietOk() (*bool, bool)
- func (o *CreateShareNFSParams) GetRo() bool
- func (o *CreateShareNFSParams) GetRoOk() (*bool, bool)
- func (o *CreateShareNFSParams) GetSecurity() []string
- func (o *CreateShareNFSParams) GetSecurityOk() ([]string, bool)
- func (o *CreateShareNFSParams) HasAlldirs() bool
- func (o *CreateShareNFSParams) HasComment() bool
- func (o *CreateShareNFSParams) HasEnabled() bool
- func (o *CreateShareNFSParams) HasHosts() bool
- func (o *CreateShareNFSParams) HasMapallGroup() bool
- func (o *CreateShareNFSParams) HasMapallUser() bool
- func (o *CreateShareNFSParams) HasMaprootGroup() bool
- func (o *CreateShareNFSParams) HasMaprootUser() bool
- func (o *CreateShareNFSParams) HasNetworks() bool
- func (o *CreateShareNFSParams) HasQuiet() bool
- func (o *CreateShareNFSParams) HasRo() bool
- func (o *CreateShareNFSParams) HasSecurity() bool
- func (o CreateShareNFSParams) MarshalJSON() ([]byte, error)
- func (o *CreateShareNFSParams) SetAlldirs(v bool)
- func (o *CreateShareNFSParams) SetComment(v string)
- func (o *CreateShareNFSParams) SetEnabled(v bool)
- func (o *CreateShareNFSParams) SetHosts(v []string)
- func (o *CreateShareNFSParams) SetMapallGroup(v string)
- func (o *CreateShareNFSParams) SetMapallUser(v string)
- func (o *CreateShareNFSParams) SetMaprootGroup(v string)
- func (o *CreateShareNFSParams) SetMaprootUser(v string)
- func (o *CreateShareNFSParams) SetNetworks(v []string)
- func (o *CreateShareNFSParams) SetPaths(v []string)
- func (o *CreateShareNFSParams) SetQuiet(v bool)
- func (o *CreateShareNFSParams) SetRo(v bool)
- func (o *CreateShareNFSParams) SetSecurity(v []string)
- func (o *CreateShareNFSParams) UnmarshalJSON(bytes []byte) (err error)
- type CreateShareSMBParams
- func (o *CreateShareSMBParams) GetAaplNameMangling() bool
- func (o *CreateShareSMBParams) GetAaplNameManglingOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetAbe() bool
- func (o *CreateShareSMBParams) GetAbeOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetAcl() bool
- func (o *CreateShareSMBParams) GetAclOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetAuxsmbconf() string
- func (o *CreateShareSMBParams) GetAuxsmbconfOk() (*string, bool)
- func (o *CreateShareSMBParams) GetBrowsable() bool
- func (o *CreateShareSMBParams) GetBrowsableOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetComment() string
- func (o *CreateShareSMBParams) GetCommentOk() (*string, bool)
- func (o *CreateShareSMBParams) GetDurablehandle() bool
- func (o *CreateShareSMBParams) GetDurablehandleOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetEnabled() bool
- func (o *CreateShareSMBParams) GetEnabledOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetFsrvp() bool
- func (o *CreateShareSMBParams) GetFsrvpOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetGuestok() bool
- func (o *CreateShareSMBParams) GetGuestokOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetHome() bool
- func (o *CreateShareSMBParams) GetHomeOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetHostsallow() []string
- func (o *CreateShareSMBParams) GetHostsallowOk() ([]string, bool)
- func (o *CreateShareSMBParams) GetHostsdeny() []string
- func (o *CreateShareSMBParams) GetHostsdenyOk() ([]string, bool)
- func (o *CreateShareSMBParams) GetName() string
- func (o *CreateShareSMBParams) GetNameOk() (*string, bool)
- func (o *CreateShareSMBParams) GetPath() string
- func (o *CreateShareSMBParams) GetPathOk() (*string, bool)
- func (o *CreateShareSMBParams) GetPathSuffix() string
- func (o *CreateShareSMBParams) GetPathSuffixOk() (*string, bool)
- func (o *CreateShareSMBParams) GetPurpose() string
- func (o *CreateShareSMBParams) GetPurposeOk() (*string, bool)
- func (o *CreateShareSMBParams) GetRecyclebin() bool
- func (o *CreateShareSMBParams) GetRecyclebinOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetRo() bool
- func (o *CreateShareSMBParams) GetRoOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetShadowcopy() bool
- func (o *CreateShareSMBParams) GetShadowcopyOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetStreams() bool
- func (o *CreateShareSMBParams) GetStreamsOk() (*bool, bool)
- func (o *CreateShareSMBParams) GetTimemachine() bool
- func (o *CreateShareSMBParams) GetTimemachineOk() (*bool, bool)
- func (o *CreateShareSMBParams) HasAaplNameMangling() bool
- func (o *CreateShareSMBParams) HasAbe() bool
- func (o *CreateShareSMBParams) HasAcl() bool
- func (o *CreateShareSMBParams) HasAuxsmbconf() bool
- func (o *CreateShareSMBParams) HasBrowsable() bool
- func (o *CreateShareSMBParams) HasComment() bool
- func (o *CreateShareSMBParams) HasDurablehandle() bool
- func (o *CreateShareSMBParams) HasEnabled() bool
- func (o *CreateShareSMBParams) HasFsrvp() bool
- func (o *CreateShareSMBParams) HasGuestok() bool
- func (o *CreateShareSMBParams) HasHome() bool
- func (o *CreateShareSMBParams) HasHostsallow() bool
- func (o *CreateShareSMBParams) HasHostsdeny() bool
- func (o *CreateShareSMBParams) HasName() bool
- func (o *CreateShareSMBParams) HasPathSuffix() bool
- func (o *CreateShareSMBParams) HasPurpose() bool
- func (o *CreateShareSMBParams) HasRecyclebin() bool
- func (o *CreateShareSMBParams) HasRo() bool
- func (o *CreateShareSMBParams) HasShadowcopy() bool
- func (o *CreateShareSMBParams) HasStreams() bool
- func (o *CreateShareSMBParams) HasTimemachine() bool
- func (o CreateShareSMBParams) MarshalJSON() ([]byte, error)
- func (o *CreateShareSMBParams) SetAaplNameMangling(v bool)
- func (o *CreateShareSMBParams) SetAbe(v bool)
- func (o *CreateShareSMBParams) SetAcl(v bool)
- func (o *CreateShareSMBParams) SetAuxsmbconf(v string)
- func (o *CreateShareSMBParams) SetBrowsable(v bool)
- func (o *CreateShareSMBParams) SetComment(v string)
- func (o *CreateShareSMBParams) SetDurablehandle(v bool)
- func (o *CreateShareSMBParams) SetEnabled(v bool)
- func (o *CreateShareSMBParams) SetFsrvp(v bool)
- func (o *CreateShareSMBParams) SetGuestok(v bool)
- func (o *CreateShareSMBParams) SetHome(v bool)
- func (o *CreateShareSMBParams) SetHostsallow(v []string)
- func (o *CreateShareSMBParams) SetHostsdeny(v []string)
- func (o *CreateShareSMBParams) SetName(v string)
- func (o *CreateShareSMBParams) SetPath(v string)
- func (o *CreateShareSMBParams) SetPathSuffix(v string)
- func (o *CreateShareSMBParams) SetPurpose(v string)
- func (o *CreateShareSMBParams) SetRecyclebin(v bool)
- func (o *CreateShareSMBParams) SetRo(v bool)
- func (o *CreateShareSMBParams) SetShadowcopy(v bool)
- func (o *CreateShareSMBParams) SetStreams(v bool)
- func (o *CreateShareSMBParams) SetTimemachine(v bool)
- func (o *CreateShareSMBParams) UnmarshalJSON(bytes []byte) (err error)
- type CreateUserParams
- func (o *CreateUserParams) GetAttributes() map[string]interface{}
- func (o *CreateUserParams) GetAttributesOk() (map[string]interface{}, bool)
- func (o *CreateUserParams) GetEmail() string
- func (o *CreateUserParams) GetEmailOk() (*string, bool)
- func (o *CreateUserParams) GetFullName() string
- func (o *CreateUserParams) GetFullNameOk() (*string, bool)
- func (o *CreateUserParams) GetGroup() int32
- func (o *CreateUserParams) GetGroupCreate() bool
- func (o *CreateUserParams) GetGroupCreateOk() (*bool, bool)
- func (o *CreateUserParams) GetGroupOk() (*int32, bool)
- func (o *CreateUserParams) GetGroups() []int32
- func (o *CreateUserParams) GetGroupsOk() ([]int32, bool)
- func (o *CreateUserParams) GetHome() string
- func (o *CreateUserParams) GetHomeMode() string
- func (o *CreateUserParams) GetHomeModeOk() (*string, bool)
- func (o *CreateUserParams) GetHomeOk() (*string, bool)
- func (o *CreateUserParams) GetLocked() bool
- func (o *CreateUserParams) GetLockedOk() (*bool, bool)
- func (o *CreateUserParams) GetMicrosoftAccount() bool
- func (o *CreateUserParams) GetMicrosoftAccountOk() (*bool, bool)
- func (o *CreateUserParams) GetPassword() string
- func (o *CreateUserParams) GetPasswordDisabled() bool
- func (o *CreateUserParams) GetPasswordDisabledOk() (*bool, bool)
- func (o *CreateUserParams) GetPasswordOk() (*string, bool)
- func (o *CreateUserParams) GetShell() string
- func (o *CreateUserParams) GetShellOk() (*string, bool)
- func (o *CreateUserParams) GetSmb() bool
- func (o *CreateUserParams) GetSmbOk() (*bool, bool)
- func (o *CreateUserParams) GetSshpubkey() string
- func (o *CreateUserParams) GetSshpubkeyOk() (*string, bool)
- func (o *CreateUserParams) GetSudo() bool
- func (o *CreateUserParams) GetSudoCommands() []string
- func (o *CreateUserParams) GetSudoCommandsOk() ([]string, bool)
- func (o *CreateUserParams) GetSudoNopasswd() bool
- func (o *CreateUserParams) GetSudoNopasswdOk() (*bool, bool)
- func (o *CreateUserParams) GetSudoOk() (*bool, bool)
- func (o *CreateUserParams) GetUid() int32
- func (o *CreateUserParams) GetUidOk() (*int32, bool)
- func (o *CreateUserParams) GetUsername() string
- func (o *CreateUserParams) GetUsernameOk() (*string, bool)
- func (o *CreateUserParams) HasAttributes() bool
- func (o *CreateUserParams) HasEmail() bool
- func (o *CreateUserParams) HasGroup() bool
- func (o *CreateUserParams) HasGroupCreate() bool
- func (o *CreateUserParams) HasGroups() bool
- func (o *CreateUserParams) HasHome() bool
- func (o *CreateUserParams) HasHomeMode() bool
- func (o *CreateUserParams) HasLocked() bool
- func (o *CreateUserParams) HasMicrosoftAccount() bool
- func (o *CreateUserParams) HasPassword() bool
- func (o *CreateUserParams) HasPasswordDisabled() bool
- func (o *CreateUserParams) HasShell() bool
- func (o *CreateUserParams) HasSmb() bool
- func (o *CreateUserParams) HasSshpubkey() bool
- func (o *CreateUserParams) HasSudo() bool
- func (o *CreateUserParams) HasSudoCommands() bool
- func (o *CreateUserParams) HasSudoNopasswd() bool
- func (o *CreateUserParams) HasUid() bool
- func (o CreateUserParams) MarshalJSON() ([]byte, error)
- func (o *CreateUserParams) SetAttributes(v map[string]interface{})
- func (o *CreateUserParams) SetEmail(v string)
- func (o *CreateUserParams) SetEmailNil()
- func (o *CreateUserParams) SetFullName(v string)
- func (o *CreateUserParams) SetGroup(v int32)
- func (o *CreateUserParams) SetGroupCreate(v bool)
- func (o *CreateUserParams) SetGroups(v []int32)
- func (o *CreateUserParams) SetHome(v string)
- func (o *CreateUserParams) SetHomeMode(v string)
- func (o *CreateUserParams) SetLocked(v bool)
- func (o *CreateUserParams) SetMicrosoftAccount(v bool)
- func (o *CreateUserParams) SetPassword(v string)
- func (o *CreateUserParams) SetPasswordDisabled(v bool)
- func (o *CreateUserParams) SetShell(v string)
- func (o *CreateUserParams) SetSmb(v bool)
- func (o *CreateUserParams) SetSshpubkey(v string)
- func (o *CreateUserParams) SetSshpubkeyNil()
- func (o *CreateUserParams) SetSudo(v bool)
- func (o *CreateUserParams) SetSudoCommands(v []string)
- func (o *CreateUserParams) SetSudoNopasswd(v bool)
- func (o *CreateUserParams) SetUid(v int32)
- func (o *CreateUserParams) SetUsername(v string)
- func (o *CreateUserParams) UnmarshalJSON(bytes []byte) (err error)
- func (o *CreateUserParams) UnsetEmail()
- func (o *CreateUserParams) UnsetSshpubkey()
- type CreateVMParams
- func (o *CreateVMParams) GetArchType() string
- func (o *CreateVMParams) GetArchTypeOk() (*string, bool)
- func (o *CreateVMParams) GetAutostart() bool
- func (o *CreateVMParams) GetAutostartOk() (*bool, bool)
- func (o *CreateVMParams) GetBootloader() string
- func (o *CreateVMParams) GetBootloaderOk() (*string, bool)
- func (o *CreateVMParams) GetCommandLineArgs() string
- func (o *CreateVMParams) GetCommandLineArgsOk() (*string, bool)
- func (o *CreateVMParams) GetCores() int32
- func (o *CreateVMParams) GetCoresOk() (*int32, bool)
- func (o *CreateVMParams) GetCpuMode() string
- func (o *CreateVMParams) GetCpuModeOk() (*string, bool)
- func (o *CreateVMParams) GetCpuModel() string
- func (o *CreateVMParams) GetCpuModelOk() (*string, bool)
- func (o *CreateVMParams) GetCpuset() string
- func (o *CreateVMParams) GetCpusetOk() (*string, bool)
- func (o *CreateVMParams) GetDescription() string
- func (o *CreateVMParams) GetDescriptionOk() (*string, bool)
- func (o *CreateVMParams) GetEnsureDisplayDevice() bool
- func (o *CreateVMParams) GetEnsureDisplayDeviceOk() (*bool, bool)
- func (o *CreateVMParams) GetHideFromMsr() bool
- func (o *CreateVMParams) GetHideFromMsrOk() (*bool, bool)
- func (o *CreateVMParams) GetHypervEnlightenments() bool
- func (o *CreateVMParams) GetHypervEnlightenmentsOk() (*bool, bool)
- func (o *CreateVMParams) GetMachineType() string
- func (o *CreateVMParams) GetMachineTypeOk() (*string, bool)
- func (o *CreateVMParams) GetMemory() int64
- func (o *CreateVMParams) GetMemoryOk() (*int64, bool)
- func (o *CreateVMParams) GetMinMemory() int64
- func (o *CreateVMParams) GetMinMemoryOk() (*int64, bool)
- func (o *CreateVMParams) GetName() string
- func (o *CreateVMParams) GetNameOk() (*string, bool)
- func (o *CreateVMParams) GetNodeset() string
- func (o *CreateVMParams) GetNodesetOk() (*string, bool)
- func (o *CreateVMParams) GetPinVcpus() bool
- func (o *CreateVMParams) GetPinVcpusOk() (*bool, bool)
- func (o *CreateVMParams) GetShutdownTimeout() int32
- func (o *CreateVMParams) GetShutdownTimeoutOk() (*int32, bool)
- func (o *CreateVMParams) GetSuspendOnSnapshot() bool
- func (o *CreateVMParams) GetSuspendOnSnapshotOk() (*bool, bool)
- func (o *CreateVMParams) GetThreads() int32
- func (o *CreateVMParams) GetThreadsOk() (*int32, bool)
- func (o *CreateVMParams) GetTime() string
- func (o *CreateVMParams) GetTimeOk() (*string, bool)
- func (o *CreateVMParams) GetUuid() string
- func (o *CreateVMParams) GetUuidOk() (*string, bool)
- func (o *CreateVMParams) GetVcpus() int32
- func (o *CreateVMParams) GetVcpusOk() (*int32, bool)
- func (o *CreateVMParams) HasArchType() bool
- func (o *CreateVMParams) HasAutostart() bool
- func (o *CreateVMParams) HasBootloader() bool
- func (o *CreateVMParams) HasCommandLineArgs() bool
- func (o *CreateVMParams) HasCores() bool
- func (o *CreateVMParams) HasCpuMode() bool
- func (o *CreateVMParams) HasCpuModel() bool
- func (o *CreateVMParams) HasCpuset() bool
- func (o *CreateVMParams) HasDescription() bool
- func (o *CreateVMParams) HasEnsureDisplayDevice() bool
- func (o *CreateVMParams) HasHideFromMsr() bool
- func (o *CreateVMParams) HasHypervEnlightenments() bool
- func (o *CreateVMParams) HasMachineType() bool
- func (o *CreateVMParams) HasMemory() bool
- func (o *CreateVMParams) HasMinMemory() bool
- func (o *CreateVMParams) HasName() bool
- func (o *CreateVMParams) HasNodeset() bool
- func (o *CreateVMParams) HasPinVcpus() bool
- func (o *CreateVMParams) HasShutdownTimeout() bool
- func (o *CreateVMParams) HasSuspendOnSnapshot() bool
- func (o *CreateVMParams) HasThreads() bool
- func (o *CreateVMParams) HasTime() bool
- func (o *CreateVMParams) HasUuid() bool
- func (o *CreateVMParams) HasVcpus() bool
- func (o CreateVMParams) MarshalJSON() ([]byte, error)
- func (o *CreateVMParams) SetArchType(v string)
- func (o *CreateVMParams) SetArchTypeNil()
- func (o *CreateVMParams) SetAutostart(v bool)
- func (o *CreateVMParams) SetBootloader(v string)
- func (o *CreateVMParams) SetCommandLineArgs(v string)
- func (o *CreateVMParams) SetCores(v int32)
- func (o *CreateVMParams) SetCpuMode(v string)
- func (o *CreateVMParams) SetCpuModel(v string)
- func (o *CreateVMParams) SetCpuModelNil()
- func (o *CreateVMParams) SetCpuset(v string)
- func (o *CreateVMParams) SetCpusetNil()
- func (o *CreateVMParams) SetDescription(v string)
- func (o *CreateVMParams) SetEnsureDisplayDevice(v bool)
- func (o *CreateVMParams) SetHideFromMsr(v bool)
- func (o *CreateVMParams) SetHypervEnlightenments(v bool)
- func (o *CreateVMParams) SetMachineType(v string)
- func (o *CreateVMParams) SetMachineTypeNil()
- func (o *CreateVMParams) SetMemory(v int64)
- func (o *CreateVMParams) SetMinMemory(v int64)
- func (o *CreateVMParams) SetMinMemoryNil()
- func (o *CreateVMParams) SetName(v string)
- func (o *CreateVMParams) SetNodeset(v string)
- func (o *CreateVMParams) SetNodesetNil()
- func (o *CreateVMParams) SetPinVcpus(v bool)
- func (o *CreateVMParams) SetShutdownTimeout(v int32)
- func (o *CreateVMParams) SetSuspendOnSnapshot(v bool)
- func (o *CreateVMParams) SetThreads(v int32)
- func (o *CreateVMParams) SetTime(v string)
- func (o *CreateVMParams) SetUuid(v string)
- func (o *CreateVMParams) SetUuidNil()
- func (o *CreateVMParams) SetVcpus(v int32)
- func (o *CreateVMParams) UnsetArchType()
- func (o *CreateVMParams) UnsetCpuModel()
- func (o *CreateVMParams) UnsetCpuset()
- func (o *CreateVMParams) UnsetMachineType()
- func (o *CreateVMParams) UnsetMinMemory()
- func (o *CreateVMParams) UnsetNodeset()
- func (o *CreateVMParams) UnsetUuid()
- type CronJob
- func (o *CronJob) GetCommand() string
- func (o *CronJob) GetCommandOk() (*string, bool)
- func (o *CronJob) GetDescription() string
- func (o *CronJob) GetDescriptionOk() (*string, bool)
- func (o *CronJob) GetEnabled() bool
- func (o *CronJob) GetEnabledOk() (*bool, bool)
- func (o *CronJob) GetId() int32
- func (o *CronJob) GetIdOk() (*int32, bool)
- func (o *CronJob) GetSchedule() CronJobSchedule
- func (o *CronJob) GetScheduleOk() (*CronJobSchedule, bool)
- func (o *CronJob) GetStderr() bool
- func (o *CronJob) GetStderrOk() (*bool, bool)
- func (o *CronJob) GetStdout() bool
- func (o *CronJob) GetStdoutOk() (*bool, bool)
- func (o *CronJob) GetUser() string
- func (o *CronJob) GetUserOk() (*string, bool)
- func (o *CronJob) HasCommand() bool
- func (o *CronJob) HasDescription() bool
- func (o *CronJob) HasEnabled() bool
- func (o *CronJob) HasId() bool
- func (o *CronJob) HasSchedule() bool
- func (o *CronJob) HasStderr() bool
- func (o *CronJob) HasStdout() bool
- func (o *CronJob) HasUser() bool
- func (o CronJob) MarshalJSON() ([]byte, error)
- func (o *CronJob) SetCommand(v string)
- func (o *CronJob) SetDescription(v string)
- func (o *CronJob) SetEnabled(v bool)
- func (o *CronJob) SetId(v int32)
- func (o *CronJob) SetSchedule(v CronJobSchedule)
- func (o *CronJob) SetStderr(v bool)
- func (o *CronJob) SetStdout(v bool)
- func (o *CronJob) SetUser(v string)
- func (o *CronJob) UnmarshalJSON(bytes []byte) (err error)
- type CronJobSchedule
- func (o *CronJobSchedule) GetDom() string
- func (o *CronJobSchedule) GetDomOk() (*string, bool)
- func (o *CronJobSchedule) GetDow() string
- func (o *CronJobSchedule) GetDowOk() (*string, bool)
- func (o *CronJobSchedule) GetHour() string
- func (o *CronJobSchedule) GetHourOk() (*string, bool)
- func (o *CronJobSchedule) GetMinute() string
- func (o *CronJobSchedule) GetMinuteOk() (*string, bool)
- func (o *CronJobSchedule) GetMonth() string
- func (o *CronJobSchedule) GetMonthOk() (*string, bool)
- func (o *CronJobSchedule) HasDom() bool
- func (o *CronJobSchedule) HasDow() bool
- func (o *CronJobSchedule) HasHour() bool
- func (o *CronJobSchedule) HasMinute() bool
- func (o *CronJobSchedule) HasMonth() bool
- func (o CronJobSchedule) MarshalJSON() ([]byte, error)
- func (o *CronJobSchedule) SetDom(v string)
- func (o *CronJobSchedule) SetDow(v string)
- func (o *CronJobSchedule) SetHour(v string)
- func (o *CronJobSchedule) SetMinute(v string)
- func (o *CronJobSchedule) SetMonth(v string)
- func (o *CronJobSchedule) UnmarshalJSON(bytes []byte) (err error)
- type CronjobApiService
- func (a *CronjobApiService) CreateCronJob(ctx context.Context) ApiCreateCronJobRequest
- func (a *CronjobApiService) CreateCronJobExecute(r ApiCreateCronJobRequest) (*CronJob, *http.Response, error)
- func (a *CronjobApiService) DeleteCronJob(ctx context.Context, id int32) ApiDeleteCronJobRequest
- func (a *CronjobApiService) DeleteCronJobExecute(r ApiDeleteCronJobRequest) (*http.Response, error)
- func (a *CronjobApiService) GetCronJob(ctx context.Context, id int32) ApiGetCronJobRequest
- func (a *CronjobApiService) GetCronJobExecute(r ApiGetCronJobRequest) (*CronJob, *http.Response, error)
- func (a *CronjobApiService) UpdateCronJob(ctx context.Context, id int32) ApiUpdateCronJobRequest
- func (a *CronjobApiService) UpdateCronJobExecute(r ApiUpdateCronJobRequest) (*CronJob, *http.Response, error)
- type Dataset
- func (o *Dataset) GetAclmode() CompositeValue
- func (o *Dataset) GetAclmodeOk() (*CompositeValue, bool)
- func (o *Dataset) GetAcltype() CompositeValue
- func (o *Dataset) GetAcltypeOk() (*CompositeValue, bool)
- func (o *Dataset) GetAtime() CompositeValue
- func (o *Dataset) GetAtimeOk() (*CompositeValue, bool)
- func (o *Dataset) GetAvailable() CompositeValue
- func (o *Dataset) GetAvailableOk() (*CompositeValue, bool)
- func (o *Dataset) GetCasesensitivity() CompositeValue
- func (o *Dataset) GetCasesensitivityOk() (*CompositeValue, bool)
- func (o *Dataset) GetComments() CompositeValue
- func (o *Dataset) GetCommentsOk() (*CompositeValue, bool)
- func (o *Dataset) GetCompression() CompositeValue
- func (o *Dataset) GetCompressionOk() (*CompositeValue, bool)
- func (o *Dataset) GetCopies() CompositeValue
- func (o *Dataset) GetCopiesOk() (*CompositeValue, bool)
- func (o *Dataset) GetDeduplication() CompositeValue
- func (o *Dataset) GetDeduplicationOk() (*CompositeValue, bool)
- func (o *Dataset) GetEncrypted() bool
- func (o *Dataset) GetEncryptedOk() (*bool, bool)
- func (o *Dataset) GetEncryptionAlgorithm() CompositeValue
- func (o *Dataset) GetEncryptionAlgorithmOk() (*CompositeValue, bool)
- func (o *Dataset) GetEncryptionRoot() string
- func (o *Dataset) GetEncryptionRootOk() (*string, bool)
- func (o *Dataset) GetExec() CompositeValue
- func (o *Dataset) GetExecOk() (*CompositeValue, bool)
- func (o *Dataset) GetId() string
- func (o *Dataset) GetIdOk() (*string, bool)
- func (o *Dataset) GetKeyFormat() CompositeValue
- func (o *Dataset) GetKeyFormatOk() (*CompositeValue, bool)
- func (o *Dataset) GetKeyLoaded() bool
- func (o *Dataset) GetKeyLoadedOk() (*bool, bool)
- func (o *Dataset) GetLocked() bool
- func (o *Dataset) GetLockedOk() (*bool, bool)
- func (o *Dataset) GetManagedby() CompositeValue
- func (o *Dataset) GetManagedbyOk() (*CompositeValue, bool)
- func (o *Dataset) GetMountpoint() string
- func (o *Dataset) GetMountpointOk() (*string, bool)
- func (o *Dataset) GetName() string
- func (o *Dataset) GetNameOk() (*string, bool)
- func (o *Dataset) GetOrigin() CompositeValue
- func (o *Dataset) GetOriginOk() (*CompositeValue, bool)
- func (o *Dataset) GetPbkdf2iters() CompositeValue
- func (o *Dataset) GetPbkdf2itersOk() (*CompositeValue, bool)
- func (o *Dataset) GetPool() string
- func (o *Dataset) GetPoolOk() (*string, bool)
- func (o *Dataset) GetQuota() CompositeValue
- func (o *Dataset) GetQuotaCritical() CompositeValue
- func (o *Dataset) GetQuotaCriticalOk() (*CompositeValue, bool)
- func (o *Dataset) GetQuotaOk() (*CompositeValue, bool)
- func (o *Dataset) GetQuotaWarning() CompositeValue
- func (o *Dataset) GetQuotaWarningOk() (*CompositeValue, bool)
- func (o *Dataset) GetReadonly() CompositeValue
- func (o *Dataset) GetReadonlyOk() (*CompositeValue, bool)
- func (o *Dataset) GetRecordsize() CompositeValue
- func (o *Dataset) GetRecordsizeOk() (*CompositeValue, bool)
- func (o *Dataset) GetRefquota() CompositeValue
- func (o *Dataset) GetRefquotaCritical() CompositeValue
- func (o *Dataset) GetRefquotaCriticalOk() (*CompositeValue, bool)
- func (o *Dataset) GetRefquotaOk() (*CompositeValue, bool)
- func (o *Dataset) GetRefquotaWarning() CompositeValue
- func (o *Dataset) GetRefquotaWarningOk() (*CompositeValue, bool)
- func (o *Dataset) GetRefreservation() CompositeValue
- func (o *Dataset) GetRefreservationOk() (*CompositeValue, bool)
- func (o *Dataset) GetReservation() CompositeValue
- func (o *Dataset) GetReservationOk() (*CompositeValue, bool)
- func (o *Dataset) GetSnapdir() CompositeValue
- func (o *Dataset) GetSnapdirOk() (*CompositeValue, bool)
- func (o *Dataset) GetSync() CompositeValue
- func (o *Dataset) GetSyncOk() (*CompositeValue, bool)
- func (o *Dataset) GetType() string
- func (o *Dataset) GetTypeOk() (*string, bool)
- func (o *Dataset) GetUsed() CompositeValue
- func (o *Dataset) GetUsedOk() (*CompositeValue, bool)
- func (o *Dataset) GetVolblocksize() CompositeValue
- func (o *Dataset) GetVolblocksizeOk() (*CompositeValue, bool)
- func (o *Dataset) GetVolsize() CompositeValue
- func (o *Dataset) GetVolsizeOk() (*CompositeValue, bool)
- func (o *Dataset) GetXattr() CompositeValue
- func (o *Dataset) GetXattrOk() (*CompositeValue, bool)
- func (o *Dataset) HasAclmode() bool
- func (o *Dataset) HasAcltype() bool
- func (o *Dataset) HasAtime() bool
- func (o *Dataset) HasAvailable() bool
- func (o *Dataset) HasCasesensitivity() bool
- func (o *Dataset) HasComments() bool
- func (o *Dataset) HasCompression() bool
- func (o *Dataset) HasCopies() bool
- func (o *Dataset) HasDeduplication() bool
- func (o *Dataset) HasEncrypted() bool
- func (o *Dataset) HasEncryptionAlgorithm() bool
- func (o *Dataset) HasEncryptionRoot() bool
- func (o *Dataset) HasExec() bool
- func (o *Dataset) HasKeyFormat() bool
- func (o *Dataset) HasKeyLoaded() bool
- func (o *Dataset) HasLocked() bool
- func (o *Dataset) HasManagedby() bool
- func (o *Dataset) HasMountpoint() bool
- func (o *Dataset) HasOrigin() bool
- func (o *Dataset) HasPbkdf2iters() bool
- func (o *Dataset) HasQuota() bool
- func (o *Dataset) HasQuotaCritical() bool
- func (o *Dataset) HasQuotaWarning() bool
- func (o *Dataset) HasReadonly() bool
- func (o *Dataset) HasRecordsize() bool
- func (o *Dataset) HasRefquota() bool
- func (o *Dataset) HasRefquotaCritical() bool
- func (o *Dataset) HasRefquotaWarning() bool
- func (o *Dataset) HasRefreservation() bool
- func (o *Dataset) HasReservation() bool
- func (o *Dataset) HasSnapdir() bool
- func (o *Dataset) HasSync() bool
- func (o *Dataset) HasUsed() bool
- func (o *Dataset) HasVolblocksize() bool
- func (o *Dataset) HasVolsize() bool
- func (o *Dataset) HasXattr() bool
- func (o Dataset) MarshalJSON() ([]byte, error)
- func (o *Dataset) SetAclmode(v CompositeValue)
- func (o *Dataset) SetAcltype(v CompositeValue)
- func (o *Dataset) SetAtime(v CompositeValue)
- func (o *Dataset) SetAvailable(v CompositeValue)
- func (o *Dataset) SetCasesensitivity(v CompositeValue)
- func (o *Dataset) SetComments(v CompositeValue)
- func (o *Dataset) SetCompression(v CompositeValue)
- func (o *Dataset) SetCopies(v CompositeValue)
- func (o *Dataset) SetDeduplication(v CompositeValue)
- func (o *Dataset) SetEncrypted(v bool)
- func (o *Dataset) SetEncryptionAlgorithm(v CompositeValue)
- func (o *Dataset) SetEncryptionRoot(v string)
- func (o *Dataset) SetExec(v CompositeValue)
- func (o *Dataset) SetId(v string)
- func (o *Dataset) SetKeyFormat(v CompositeValue)
- func (o *Dataset) SetKeyLoaded(v bool)
- func (o *Dataset) SetLocked(v bool)
- func (o *Dataset) SetManagedby(v CompositeValue)
- func (o *Dataset) SetMountpoint(v string)
- func (o *Dataset) SetName(v string)
- func (o *Dataset) SetOrigin(v CompositeValue)
- func (o *Dataset) SetPbkdf2iters(v CompositeValue)
- func (o *Dataset) SetPool(v string)
- func (o *Dataset) SetQuota(v CompositeValue)
- func (o *Dataset) SetQuotaCritical(v CompositeValue)
- func (o *Dataset) SetQuotaWarning(v CompositeValue)
- func (o *Dataset) SetReadonly(v CompositeValue)
- func (o *Dataset) SetRecordsize(v CompositeValue)
- func (o *Dataset) SetRefquota(v CompositeValue)
- func (o *Dataset) SetRefquotaCritical(v CompositeValue)
- func (o *Dataset) SetRefquotaWarning(v CompositeValue)
- func (o *Dataset) SetRefreservation(v CompositeValue)
- func (o *Dataset) SetReservation(v CompositeValue)
- func (o *Dataset) SetSnapdir(v CompositeValue)
- func (o *Dataset) SetSync(v CompositeValue)
- func (o *Dataset) SetType(v string)
- func (o *Dataset) SetUsed(v CompositeValue)
- func (o *Dataset) SetVolblocksize(v CompositeValue)
- func (o *Dataset) SetVolsize(v CompositeValue)
- func (o *Dataset) SetXattr(v CompositeValue)
- func (o *Dataset) UnmarshalJSON(bytes []byte) (err error)
- type DatasetApiService
- func (a *DatasetApiService) CreateDataset(ctx context.Context) ApiCreateDatasetRequest
- func (a *DatasetApiService) CreateDatasetExecute(r ApiCreateDatasetRequest) (*Dataset, *http.Response, error)
- func (a *DatasetApiService) DeleteDataset(ctx context.Context, id string) ApiDeleteDatasetRequest
- func (a *DatasetApiService) DeleteDatasetExecute(r ApiDeleteDatasetRequest) (*http.Response, error)
- func (a *DatasetApiService) GetDataset(ctx context.Context, id string) ApiGetDatasetRequest
- func (a *DatasetApiService) GetDatasetExecute(r ApiGetDatasetRequest) (*Dataset, *http.Response, error)
- func (a *DatasetApiService) ListDatasets(ctx context.Context) ApiListDatasetsRequest
- func (a *DatasetApiService) ListDatasetsExecute(r ApiListDatasetsRequest) ([]Dataset, *http.Response, error)
- func (a *DatasetApiService) UpdateDataset(ctx context.Context, id string) ApiUpdateDatasetRequest
- func (a *DatasetApiService) UpdateDatasetExecute(r ApiUpdateDatasetRequest) (*Dataset, *http.Response, error)
- type DeleteGroupParams
- func (o *DeleteGroupParams) GetDeleteUsers() bool
- func (o *DeleteGroupParams) GetDeleteUsersOk() (*bool, bool)
- func (o *DeleteGroupParams) HasDeleteUsers() bool
- func (o DeleteGroupParams) MarshalJSON() ([]byte, error)
- func (o *DeleteGroupParams) SetDeleteUsers(v bool)
- func (o *DeleteGroupParams) UnmarshalJSON(bytes []byte) (err error)
- type DeleteUserParams
- func (o *DeleteUserParams) GetDeleteGroup() bool
- func (o *DeleteUserParams) GetDeleteGroupOk() (*bool, bool)
- func (o *DeleteUserParams) HasDeleteGroup() bool
- func (o DeleteUserParams) MarshalJSON() ([]byte, error)
- func (o *DeleteUserParams) SetDeleteGroup(v bool)
- func (o *DeleteUserParams) UnmarshalJSON(bytes []byte) (err error)
- type GenericOpenAPIError
- type Group
- func (o *Group) GetBuiltin() bool
- func (o *Group) GetBuiltinOk() (*bool, bool)
- func (o *Group) GetGid() int32
- func (o *Group) GetGidOk() (*int32, bool)
- func (o *Group) GetGroup() string
- func (o *Group) GetGroupOk() (*string, bool)
- func (o *Group) GetId() int32
- func (o *Group) GetIdOk() (*int32, bool)
- func (o *Group) GetIdTypeBoth() bool
- func (o *Group) GetIdTypeBothOk() (*bool, bool)
- func (o *Group) GetLocal() bool
- func (o *Group) GetLocalOk() (*bool, bool)
- func (o *Group) GetSmb() bool
- func (o *Group) GetSmbOk() (*bool, bool)
- func (o *Group) GetSudo() bool
- func (o *Group) GetSudoCommands() []string
- func (o *Group) GetSudoCommandsOk() ([]string, bool)
- func (o *Group) GetSudoNopasswd() bool
- func (o *Group) GetSudoNopasswdOk() (*bool, bool)
- func (o *Group) GetSudoOk() (*bool, bool)
- func (o *Group) GetUsers() []int32
- func (o *Group) GetUsersOk() ([]int32, bool)
- func (o *Group) HasBuiltin() bool
- func (o *Group) HasGid() bool
- func (o *Group) HasIdTypeBoth() bool
- func (o *Group) HasLocal() bool
- func (o *Group) HasSmb() bool
- func (o *Group) HasSudo() bool
- func (o *Group) HasSudoCommands() bool
- func (o *Group) HasSudoNopasswd() bool
- func (o *Group) HasUsers() bool
- func (o Group) MarshalJSON() ([]byte, error)
- func (o *Group) SetBuiltin(v bool)
- func (o *Group) SetGid(v int32)
- func (o *Group) SetGroup(v string)
- func (o *Group) SetId(v int32)
- func (o *Group) SetIdTypeBoth(v bool)
- func (o *Group) SetLocal(v bool)
- func (o *Group) SetSmb(v bool)
- func (o *Group) SetSudo(v bool)
- func (o *Group) SetSudoCommands(v []string)
- func (o *Group) SetSudoNopasswd(v bool)
- func (o *Group) SetUsers(v []int32)
- func (o *Group) UnmarshalJSON(bytes []byte) (err error)
- type GroupApiService
- func (a *GroupApiService) CreateGroup(ctx context.Context) ApiCreateGroupRequest
- func (a *GroupApiService) CreateGroupExecute(r ApiCreateGroupRequest) (int32, *http.Response, error)
- func (a *GroupApiService) DeleteGroup(ctx context.Context, id int32) ApiDeleteGroupRequest
- func (a *GroupApiService) DeleteGroupExecute(r ApiDeleteGroupRequest) (*http.Response, error)
- func (a *GroupApiService) GetGroup(ctx context.Context, id int32) ApiGetGroupRequest
- func (a *GroupApiService) GetGroupExecute(r ApiGetGroupRequest) (*Group, *http.Response, error)
- func (a *GroupApiService) ListGroups(ctx context.Context) ApiListGroupsRequest
- func (a *GroupApiService) ListGroupsExecute(r ApiListGroupsRequest) (*http.Response, error)
- func (a *GroupApiService) UpdateGroup(ctx context.Context, id int32) ApiUpdateGroupRequest
- func (a *GroupApiService) UpdateGroupExecute(r ApiUpdateGroupRequest) (int32, *http.Response, error)
- type NetworkApiService
- func (a *NetworkApiService) GetNetworkConfiguration(ctx context.Context) ApiGetNetworkConfigurationRequest
- func (a *NetworkApiService) GetNetworkConfigurationExecute(r ApiGetNetworkConfigurationRequest) (*NetworkConfig, *http.Response, error)
- func (a *NetworkApiService) GetNetworkSummary(ctx context.Context) ApiGetNetworkSummaryRequest
- func (a *NetworkApiService) GetNetworkSummaryExecute(r ApiGetNetworkSummaryRequest) (*NetworkSummary, *http.Response, error)
- type NetworkConfig
- func (o *NetworkConfig) GetDomain() string
- func (o *NetworkConfig) GetDomainOk() (*string, bool)
- func (o *NetworkConfig) GetDomains() []string
- func (o *NetworkConfig) GetDomainsOk() ([]string, bool)
- func (o *NetworkConfig) GetHostname() string
- func (o *NetworkConfig) GetHostnameLocal() string
- func (o *NetworkConfig) GetHostnameLocalOk() (*string, bool)
- func (o *NetworkConfig) GetHostnameOk() (*string, bool)
- func (o *NetworkConfig) GetHosts() string
- func (o *NetworkConfig) GetHostsOk() (*string, bool)
- func (o *NetworkConfig) GetHttpproxy() string
- func (o *NetworkConfig) GetHttpproxyOk() (*string, bool)
- func (o *NetworkConfig) GetId() int32
- func (o *NetworkConfig) GetIdOk() (*int32, bool)
- func (o *NetworkConfig) GetIpv4gateway() string
- func (o *NetworkConfig) GetIpv4gatewayOk() (*string, bool)
- func (o *NetworkConfig) GetIpv6gateway() string
- func (o *NetworkConfig) GetIpv6gatewayOk() (*string, bool)
- func (o *NetworkConfig) GetNameserver1() string
- func (o *NetworkConfig) GetNameserver1Ok() (*string, bool)
- func (o *NetworkConfig) GetNameserver2() string
- func (o *NetworkConfig) GetNameserver2Ok() (*string, bool)
- func (o *NetworkConfig) GetNameserver3() string
- func (o *NetworkConfig) GetNameserver3Ok() (*string, bool)
- func (o *NetworkConfig) GetNetwaitEnabled() bool
- func (o *NetworkConfig) GetNetwaitEnabledOk() (*bool, bool)
- func (o *NetworkConfig) GetNetwaitIp() []string
- func (o *NetworkConfig) GetNetwaitIpOk() ([]string, bool)
- func (o *NetworkConfig) GetServiceAnnouncement() NetworkConfigServiceAnnouncement
- func (o *NetworkConfig) GetServiceAnnouncementOk() (*NetworkConfigServiceAnnouncement, bool)
- func (o *NetworkConfig) HasDomain() bool
- func (o *NetworkConfig) HasDomains() bool
- func (o *NetworkConfig) HasHostname() bool
- func (o *NetworkConfig) HasHostnameLocal() bool
- func (o *NetworkConfig) HasHosts() bool
- func (o *NetworkConfig) HasHttpproxy() bool
- func (o *NetworkConfig) HasId() bool
- func (o *NetworkConfig) HasIpv4gateway() bool
- func (o *NetworkConfig) HasIpv6gateway() bool
- func (o *NetworkConfig) HasNameserver1() bool
- func (o *NetworkConfig) HasNameserver2() bool
- func (o *NetworkConfig) HasNameserver3() bool
- func (o *NetworkConfig) HasNetwaitEnabled() bool
- func (o *NetworkConfig) HasNetwaitIp() bool
- func (o *NetworkConfig) HasServiceAnnouncement() bool
- func (o NetworkConfig) MarshalJSON() ([]byte, error)
- func (o *NetworkConfig) SetDomain(v string)
- func (o *NetworkConfig) SetDomains(v []string)
- func (o *NetworkConfig) SetHostname(v string)
- func (o *NetworkConfig) SetHostnameLocal(v string)
- func (o *NetworkConfig) SetHosts(v string)
- func (o *NetworkConfig) SetHttpproxy(v string)
- func (o *NetworkConfig) SetId(v int32)
- func (o *NetworkConfig) SetIpv4gateway(v string)
- func (o *NetworkConfig) SetIpv6gateway(v string)
- func (o *NetworkConfig) SetNameserver1(v string)
- func (o *NetworkConfig) SetNameserver2(v string)
- func (o *NetworkConfig) SetNameserver3(v string)
- func (o *NetworkConfig) SetNetwaitEnabled(v bool)
- func (o *NetworkConfig) SetNetwaitIp(v []string)
- func (o *NetworkConfig) SetServiceAnnouncement(v NetworkConfigServiceAnnouncement)
- func (o *NetworkConfig) UnmarshalJSON(bytes []byte) (err error)
- type NetworkConfigServiceAnnouncement
- func (o *NetworkConfigServiceAnnouncement) GetMdns() bool
- func (o *NetworkConfigServiceAnnouncement) GetMdnsOk() (*bool, bool)
- func (o *NetworkConfigServiceAnnouncement) GetNetbios() bool
- func (o *NetworkConfigServiceAnnouncement) GetNetbiosOk() (*bool, bool)
- func (o *NetworkConfigServiceAnnouncement) GetWsd() bool
- func (o *NetworkConfigServiceAnnouncement) GetWsdOk() (*bool, bool)
- func (o *NetworkConfigServiceAnnouncement) HasMdns() bool
- func (o *NetworkConfigServiceAnnouncement) HasNetbios() bool
- func (o *NetworkConfigServiceAnnouncement) HasWsd() bool
- func (o NetworkConfigServiceAnnouncement) MarshalJSON() ([]byte, error)
- func (o *NetworkConfigServiceAnnouncement) SetMdns(v bool)
- func (o *NetworkConfigServiceAnnouncement) SetNetbios(v bool)
- func (o *NetworkConfigServiceAnnouncement) SetWsd(v bool)
- func (o *NetworkConfigServiceAnnouncement) UnmarshalJSON(bytes []byte) (err error)
- type NetworkSummary
- func (o *NetworkSummary) GetDefaultRoutes() []string
- func (o *NetworkSummary) GetDefaultRoutesOk() ([]string, bool)
- func (o *NetworkSummary) GetIps() map[string]NetworkSummaryIpsValue
- func (o *NetworkSummary) GetIpsOk() (*map[string]NetworkSummaryIpsValue, bool)
- func (o *NetworkSummary) GetNameservers() []string
- func (o *NetworkSummary) GetNameserversOk() ([]string, bool)
- func (o *NetworkSummary) HasDefaultRoutes() bool
- func (o *NetworkSummary) HasIps() bool
- func (o *NetworkSummary) HasNameservers() bool
- func (o NetworkSummary) MarshalJSON() ([]byte, error)
- func (o *NetworkSummary) SetDefaultRoutes(v []string)
- func (o *NetworkSummary) SetIps(v map[string]NetworkSummaryIpsValue)
- func (o *NetworkSummary) SetNameservers(v []string)
- func (o *NetworkSummary) UnmarshalJSON(bytes []byte) (err error)
- type NetworkSummaryIpsValue
- func (o *NetworkSummaryIpsValue) GetIPV4() []string
- func (o *NetworkSummaryIpsValue) GetIPV4Ok() ([]string, bool)
- func (o *NetworkSummaryIpsValue) GetIPV6() []string
- func (o *NetworkSummaryIpsValue) GetIPV6Ok() ([]string, bool)
- func (o *NetworkSummaryIpsValue) HasIPV4() bool
- func (o *NetworkSummaryIpsValue) HasIPV6() bool
- func (o NetworkSummaryIpsValue) MarshalJSON() ([]byte, error)
- func (o *NetworkSummaryIpsValue) SetIPV4(v []string)
- func (o *NetworkSummaryIpsValue) SetIPV6(v []string)
- func (o *NetworkSummaryIpsValue) UnmarshalJSON(bytes []byte) (err error)
- type NullableBool
- type NullableCompositeValue
- func (v NullableCompositeValue) Get() *CompositeValue
- func (v NullableCompositeValue) IsSet() bool
- func (v NullableCompositeValue) MarshalJSON() ([]byte, error)
- func (v *NullableCompositeValue) Set(val *CompositeValue)
- func (v *NullableCompositeValue) UnmarshalJSON(src []byte) error
- func (v *NullableCompositeValue) Unset()
- type NullableCreateCronjobParams
- func (v NullableCreateCronjobParams) Get() *CreateCronjobParams
- func (v NullableCreateCronjobParams) IsSet() bool
- func (v NullableCreateCronjobParams) MarshalJSON() ([]byte, error)
- func (v *NullableCreateCronjobParams) Set(val *CreateCronjobParams)
- func (v *NullableCreateCronjobParams) UnmarshalJSON(src []byte) error
- func (v *NullableCreateCronjobParams) Unset()
- type NullableCreateDatasetParams
- func (v NullableCreateDatasetParams) Get() *CreateDatasetParams
- func (v NullableCreateDatasetParams) IsSet() bool
- func (v NullableCreateDatasetParams) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDatasetParams) Set(val *CreateDatasetParams)
- func (v *NullableCreateDatasetParams) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDatasetParams) Unset()
- type NullableCreateDatasetParamsEncryptionOptions
- func (v NullableCreateDatasetParamsEncryptionOptions) Get() *CreateDatasetParamsEncryptionOptions
- func (v NullableCreateDatasetParamsEncryptionOptions) IsSet() bool
- func (v NullableCreateDatasetParamsEncryptionOptions) MarshalJSON() ([]byte, error)
- func (v *NullableCreateDatasetParamsEncryptionOptions) Set(val *CreateDatasetParamsEncryptionOptions)
- func (v *NullableCreateDatasetParamsEncryptionOptions) UnmarshalJSON(src []byte) error
- func (v *NullableCreateDatasetParamsEncryptionOptions) Unset()
- type NullableCreateGroupParams
- func (v NullableCreateGroupParams) Get() *CreateGroupParams
- func (v NullableCreateGroupParams) IsSet() bool
- func (v NullableCreateGroupParams) MarshalJSON() ([]byte, error)
- func (v *NullableCreateGroupParams) Set(val *CreateGroupParams)
- func (v *NullableCreateGroupParams) UnmarshalJSON(src []byte) error
- func (v *NullableCreateGroupParams) Unset()
- type NullableCreateShareNFSParams
- func (v NullableCreateShareNFSParams) Get() *CreateShareNFSParams
- func (v NullableCreateShareNFSParams) IsSet() bool
- func (v NullableCreateShareNFSParams) MarshalJSON() ([]byte, error)
- func (v *NullableCreateShareNFSParams) Set(val *CreateShareNFSParams)
- func (v *NullableCreateShareNFSParams) UnmarshalJSON(src []byte) error
- func (v *NullableCreateShareNFSParams) Unset()
- type NullableCreateShareSMBParams
- func (v NullableCreateShareSMBParams) Get() *CreateShareSMBParams
- func (v NullableCreateShareSMBParams) IsSet() bool
- func (v NullableCreateShareSMBParams) MarshalJSON() ([]byte, error)
- func (v *NullableCreateShareSMBParams) Set(val *CreateShareSMBParams)
- func (v *NullableCreateShareSMBParams) UnmarshalJSON(src []byte) error
- func (v *NullableCreateShareSMBParams) Unset()
- type NullableCreateUserParams
- func (v NullableCreateUserParams) Get() *CreateUserParams
- func (v NullableCreateUserParams) IsSet() bool
- func (v NullableCreateUserParams) MarshalJSON() ([]byte, error)
- func (v *NullableCreateUserParams) Set(val *CreateUserParams)
- func (v *NullableCreateUserParams) UnmarshalJSON(src []byte) error
- func (v *NullableCreateUserParams) Unset()
- type NullableCreateVMParams
- func (v NullableCreateVMParams) Get() *CreateVMParams
- func (v NullableCreateVMParams) IsSet() bool
- func (v NullableCreateVMParams) MarshalJSON() ([]byte, error)
- func (v *NullableCreateVMParams) Set(val *CreateVMParams)
- func (v *NullableCreateVMParams) UnmarshalJSON(src []byte) error
- func (v *NullableCreateVMParams) Unset()
- type NullableCronJob
- type NullableCronJobSchedule
- func (v NullableCronJobSchedule) Get() *CronJobSchedule
- func (v NullableCronJobSchedule) IsSet() bool
- func (v NullableCronJobSchedule) MarshalJSON() ([]byte, error)
- func (v *NullableCronJobSchedule) Set(val *CronJobSchedule)
- func (v *NullableCronJobSchedule) UnmarshalJSON(src []byte) error
- func (v *NullableCronJobSchedule) Unset()
- type NullableDataset
- type NullableDeleteGroupParams
- func (v NullableDeleteGroupParams) Get() *DeleteGroupParams
- func (v NullableDeleteGroupParams) IsSet() bool
- func (v NullableDeleteGroupParams) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteGroupParams) Set(val *DeleteGroupParams)
- func (v *NullableDeleteGroupParams) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteGroupParams) Unset()
- type NullableDeleteUserParams
- func (v NullableDeleteUserParams) Get() *DeleteUserParams
- func (v NullableDeleteUserParams) IsSet() bool
- func (v NullableDeleteUserParams) MarshalJSON() ([]byte, error)
- func (v *NullableDeleteUserParams) Set(val *DeleteUserParams)
- func (v *NullableDeleteUserParams) UnmarshalJSON(src []byte) error
- func (v *NullableDeleteUserParams) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableGroup
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableNetworkConfig
- func (v NullableNetworkConfig) Get() *NetworkConfig
- func (v NullableNetworkConfig) IsSet() bool
- func (v NullableNetworkConfig) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkConfig) Set(val *NetworkConfig)
- func (v *NullableNetworkConfig) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkConfig) Unset()
- type NullableNetworkConfigServiceAnnouncement
- func (v NullableNetworkConfigServiceAnnouncement) Get() *NetworkConfigServiceAnnouncement
- func (v NullableNetworkConfigServiceAnnouncement) IsSet() bool
- func (v NullableNetworkConfigServiceAnnouncement) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkConfigServiceAnnouncement) Set(val *NetworkConfigServiceAnnouncement)
- func (v *NullableNetworkConfigServiceAnnouncement) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkConfigServiceAnnouncement) Unset()
- type NullableNetworkSummary
- func (v NullableNetworkSummary) Get() *NetworkSummary
- func (v NullableNetworkSummary) IsSet() bool
- func (v NullableNetworkSummary) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkSummary) Set(val *NetworkSummary)
- func (v *NullableNetworkSummary) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkSummary) Unset()
- type NullableNetworkSummaryIpsValue
- func (v NullableNetworkSummaryIpsValue) Get() *NetworkSummaryIpsValue
- func (v NullableNetworkSummaryIpsValue) IsSet() bool
- func (v NullableNetworkSummaryIpsValue) MarshalJSON() ([]byte, error)
- func (v *NullableNetworkSummaryIpsValue) Set(val *NetworkSummaryIpsValue)
- func (v *NullableNetworkSummaryIpsValue) UnmarshalJSON(src []byte) error
- func (v *NullableNetworkSummaryIpsValue) Unset()
- type NullablePool
- type NullableService
- type NullableShareNFS
- type NullableShareSMB
- type NullableString
- type NullableTime
- type NullableUpdateDatasetParams
- func (v NullableUpdateDatasetParams) Get() *UpdateDatasetParams
- func (v NullableUpdateDatasetParams) IsSet() bool
- func (v NullableUpdateDatasetParams) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateDatasetParams) Set(val *UpdateDatasetParams)
- func (v *NullableUpdateDatasetParams) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateDatasetParams) Unset()
- type NullableUpdateUserParams
- func (v NullableUpdateUserParams) Get() *UpdateUserParams
- func (v NullableUpdateUserParams) IsSet() bool
- func (v NullableUpdateUserParams) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateUserParams) Set(val *UpdateUserParams)
- func (v *NullableUpdateUserParams) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateUserParams) Unset()
- type NullableUpdateVMParams
- func (v NullableUpdateVMParams) Get() *UpdateVMParams
- func (v NullableUpdateVMParams) IsSet() bool
- func (v NullableUpdateVMParams) MarshalJSON() ([]byte, error)
- func (v *NullableUpdateVMParams) Set(val *UpdateVMParams)
- func (v *NullableUpdateVMParams) UnmarshalJSON(src []byte) error
- func (v *NullableUpdateVMParams) Unset()
- type NullableUser
- type NullableUserGroup
- type NullableVM
- type NullableVMDevice
- type NullableVMStatus
- type Pool
- func (o *Pool) GetEncryptkeyPath() string
- func (o *Pool) GetEncryptkeyPathOk() (*string, bool)
- func (o *Pool) GetGuid() string
- func (o *Pool) GetGuidOk() (*string, bool)
- func (o *Pool) GetHealthy() bool
- func (o *Pool) GetHealthyOk() (*bool, bool)
- func (o *Pool) GetId() int32
- func (o *Pool) GetIdOk() (*int32, bool)
- func (o *Pool) GetIsDecrypted() bool
- func (o *Pool) GetIsDecryptedOk() (*bool, bool)
- func (o *Pool) GetName() string
- func (o *Pool) GetNameOk() (*string, bool)
- func (o *Pool) GetPath() string
- func (o *Pool) GetPathOk() (*string, bool)
- func (o *Pool) GetStatus() string
- func (o *Pool) GetStatusOk() (*string, bool)
- func (o *Pool) HasEncryptkeyPath() bool
- func (o *Pool) HasGuid() bool
- func (o *Pool) HasHealthy() bool
- func (o *Pool) HasIsDecrypted() bool
- func (o *Pool) HasStatus() bool
- func (o Pool) MarshalJSON() ([]byte, error)
- func (o *Pool) SetEncryptkeyPath(v string)
- func (o *Pool) SetGuid(v string)
- func (o *Pool) SetHealthy(v bool)
- func (o *Pool) SetId(v int32)
- func (o *Pool) SetIsDecrypted(v bool)
- func (o *Pool) SetName(v string)
- func (o *Pool) SetPath(v string)
- func (o *Pool) SetStatus(v string)
- func (o *Pool) UnmarshalJSON(bytes []byte) (err error)
- type PoolApiService
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Service
- func (o *Service) GetEnable() bool
- func (o *Service) GetEnableOk() (*bool, bool)
- func (o *Service) GetId() int32
- func (o *Service) GetIdOk() (*int32, bool)
- func (o *Service) GetPids() []int32
- func (o *Service) GetPidsOk() ([]int32, bool)
- func (o *Service) GetService() string
- func (o *Service) GetServiceOk() (*string, bool)
- func (o *Service) GetState() string
- func (o *Service) GetStateOk() (*string, bool)
- func (o *Service) HasEnable() bool
- func (o *Service) HasPids() bool
- func (o *Service) HasState() bool
- func (o Service) MarshalJSON() ([]byte, error)
- func (o *Service) SetEnable(v bool)
- func (o *Service) SetId(v int32)
- func (o *Service) SetPids(v []int32)
- func (o *Service) SetService(v string)
- func (o *Service) SetState(v string)
- func (o *Service) UnmarshalJSON(bytes []byte) (err error)
- type ServiceApiService
- type ShareNFS
- func (o *ShareNFS) GetAliases() []string
- func (o *ShareNFS) GetAliasesOk() ([]string, bool)
- func (o *ShareNFS) GetAlldirs() bool
- func (o *ShareNFS) GetAlldirsOk() (*bool, bool)
- func (o *ShareNFS) GetComment() string
- func (o *ShareNFS) GetCommentOk() (*string, bool)
- func (o *ShareNFS) GetEnabled() bool
- func (o *ShareNFS) GetEnabledOk() (*bool, bool)
- func (o *ShareNFS) GetHosts() []string
- func (o *ShareNFS) GetHostsOk() ([]string, bool)
- func (o *ShareNFS) GetId() int32
- func (o *ShareNFS) GetIdOk() (*int32, bool)
- func (o *ShareNFS) GetMapallGroup() string
- func (o *ShareNFS) GetMapallGroupOk() (*string, bool)
- func (o *ShareNFS) GetMapallUser() string
- func (o *ShareNFS) GetMapallUserOk() (*string, bool)
- func (o *ShareNFS) GetMaprootGroup() string
- func (o *ShareNFS) GetMaprootGroupOk() (*string, bool)
- func (o *ShareNFS) GetMaprootUser() string
- func (o *ShareNFS) GetMaprootUserOk() (*string, bool)
- func (o *ShareNFS) GetNetworks() []string
- func (o *ShareNFS) GetNetworksOk() ([]string, bool)
- func (o *ShareNFS) GetPath() string
- func (o *ShareNFS) GetPathOk() (*string, bool)
- func (o *ShareNFS) GetQuiet() bool
- func (o *ShareNFS) GetQuietOk() (*bool, bool)
- func (o *ShareNFS) GetRo() bool
- func (o *ShareNFS) GetRoOk() (*bool, bool)
- func (o *ShareNFS) GetSecurity() []string
- func (o *ShareNFS) GetSecurityOk() ([]string, bool)
- func (o *ShareNFS) HasAliases() bool
- func (o *ShareNFS) HasAlldirs() bool
- func (o *ShareNFS) HasComment() bool
- func (o *ShareNFS) HasEnabled() bool
- func (o *ShareNFS) HasHosts() bool
- func (o *ShareNFS) HasMapallGroup() bool
- func (o *ShareNFS) HasMapallUser() bool
- func (o *ShareNFS) HasMaprootGroup() bool
- func (o *ShareNFS) HasMaprootUser() bool
- func (o *ShareNFS) HasNetworks() bool
- func (o *ShareNFS) HasPath() bool
- func (o *ShareNFS) HasQuiet() bool
- func (o *ShareNFS) HasRo() bool
- func (o *ShareNFS) HasSecurity() bool
- func (o ShareNFS) MarshalJSON() ([]byte, error)
- func (o *ShareNFS) SetAliases(v []string)
- func (o *ShareNFS) SetAlldirs(v bool)
- func (o *ShareNFS) SetComment(v string)
- func (o *ShareNFS) SetEnabled(v bool)
- func (o *ShareNFS) SetHosts(v []string)
- func (o *ShareNFS) SetId(v int32)
- func (o *ShareNFS) SetMapallGroup(v string)
- func (o *ShareNFS) SetMapallGroupNil()
- func (o *ShareNFS) SetMapallUser(v string)
- func (o *ShareNFS) SetMapallUserNil()
- func (o *ShareNFS) SetMaprootGroup(v string)
- func (o *ShareNFS) SetMaprootGroupNil()
- func (o *ShareNFS) SetMaprootUser(v string)
- func (o *ShareNFS) SetMaprootUserNil()
- func (o *ShareNFS) SetNetworks(v []string)
- func (o *ShareNFS) SetPath(v string)
- func (o *ShareNFS) SetQuiet(v bool)
- func (o *ShareNFS) SetRo(v bool)
- func (o *ShareNFS) SetSecurity(v []string)
- func (o *ShareNFS) UnmarshalJSON(bytes []byte) (err error)
- func (o *ShareNFS) UnsetMapallGroup()
- func (o *ShareNFS) UnsetMapallUser()
- func (o *ShareNFS) UnsetMaprootGroup()
- func (o *ShareNFS) UnsetMaprootUser()
- type ShareSMB
- func (o *ShareSMB) GetAaplNameMangling() bool
- func (o *ShareSMB) GetAaplNameManglingOk() (*bool, bool)
- func (o *ShareSMB) GetAbe() bool
- func (o *ShareSMB) GetAbeOk() (*bool, bool)
- func (o *ShareSMB) GetAcl() bool
- func (o *ShareSMB) GetAclOk() (*bool, bool)
- func (o *ShareSMB) GetAuxsmbconf() string
- func (o *ShareSMB) GetAuxsmbconfOk() (*string, bool)
- func (o *ShareSMB) GetBrowsable() bool
- func (o *ShareSMB) GetBrowsableOk() (*bool, bool)
- func (o *ShareSMB) GetComment() string
- func (o *ShareSMB) GetCommentOk() (*string, bool)
- func (o *ShareSMB) GetDurablehandle() bool
- func (o *ShareSMB) GetDurablehandleOk() (*bool, bool)
- func (o *ShareSMB) GetEnabled() bool
- func (o *ShareSMB) GetEnabledOk() (*bool, bool)
- func (o *ShareSMB) GetFsrvp() bool
- func (o *ShareSMB) GetFsrvpOk() (*bool, bool)
- func (o *ShareSMB) GetGuestok() bool
- func (o *ShareSMB) GetGuestokOk() (*bool, bool)
- func (o *ShareSMB) GetHome() bool
- func (o *ShareSMB) GetHomeOk() (*bool, bool)
- func (o *ShareSMB) GetHostsallow() []string
- func (o *ShareSMB) GetHostsallowOk() ([]string, bool)
- func (o *ShareSMB) GetHostsdeny() []string
- func (o *ShareSMB) GetHostsdenyOk() ([]string, bool)
- func (o *ShareSMB) GetId() int32
- func (o *ShareSMB) GetIdOk() (*int32, bool)
- func (o *ShareSMB) GetLocked() bool
- func (o *ShareSMB) GetLockedOk() (*bool, bool)
- func (o *ShareSMB) GetName() string
- func (o *ShareSMB) GetNameOk() (*string, bool)
- func (o *ShareSMB) GetPath() string
- func (o *ShareSMB) GetPathOk() (*string, bool)
- func (o *ShareSMB) GetPathSuffix() string
- func (o *ShareSMB) GetPathSuffixOk() (*string, bool)
- func (o *ShareSMB) GetPurpose() string
- func (o *ShareSMB) GetPurposeOk() (*string, bool)
- func (o *ShareSMB) GetRecyclebin() bool
- func (o *ShareSMB) GetRecyclebinOk() (*bool, bool)
- func (o *ShareSMB) GetRo() bool
- func (o *ShareSMB) GetRoOk() (*bool, bool)
- func (o *ShareSMB) GetShadowcopy() bool
- func (o *ShareSMB) GetShadowcopyOk() (*bool, bool)
- func (o *ShareSMB) GetStreams() bool
- func (o *ShareSMB) GetStreamsOk() (*bool, bool)
- func (o *ShareSMB) GetTimemachine() bool
- func (o *ShareSMB) GetTimemachineOk() (*bool, bool)
- func (o *ShareSMB) GetVuid() string
- func (o *ShareSMB) GetVuidOk() (*string, bool)
- func (o *ShareSMB) HasAaplNameMangling() bool
- func (o *ShareSMB) HasAbe() bool
- func (o *ShareSMB) HasAcl() bool
- func (o *ShareSMB) HasAuxsmbconf() bool
- func (o *ShareSMB) HasBrowsable() bool
- func (o *ShareSMB) HasComment() bool
- func (o *ShareSMB) HasDurablehandle() bool
- func (o *ShareSMB) HasEnabled() bool
- func (o *ShareSMB) HasFsrvp() bool
- func (o *ShareSMB) HasGuestok() bool
- func (o *ShareSMB) HasHome() bool
- func (o *ShareSMB) HasHostsallow() bool
- func (o *ShareSMB) HasHostsdeny() bool
- func (o *ShareSMB) HasLocked() bool
- func (o *ShareSMB) HasName() bool
- func (o *ShareSMB) HasPathSuffix() bool
- func (o *ShareSMB) HasPurpose() bool
- func (o *ShareSMB) HasRecyclebin() bool
- func (o *ShareSMB) HasRo() bool
- func (o *ShareSMB) HasShadowcopy() bool
- func (o *ShareSMB) HasStreams() bool
- func (o *ShareSMB) HasTimemachine() bool
- func (o *ShareSMB) HasVuid() bool
- func (o ShareSMB) MarshalJSON() ([]byte, error)
- func (o *ShareSMB) SetAaplNameMangling(v bool)
- func (o *ShareSMB) SetAbe(v bool)
- func (o *ShareSMB) SetAcl(v bool)
- func (o *ShareSMB) SetAuxsmbconf(v string)
- func (o *ShareSMB) SetBrowsable(v bool)
- func (o *ShareSMB) SetComment(v string)
- func (o *ShareSMB) SetDurablehandle(v bool)
- func (o *ShareSMB) SetEnabled(v bool)
- func (o *ShareSMB) SetFsrvp(v bool)
- func (o *ShareSMB) SetGuestok(v bool)
- func (o *ShareSMB) SetHome(v bool)
- func (o *ShareSMB) SetHostsallow(v []string)
- func (o *ShareSMB) SetHostsdeny(v []string)
- func (o *ShareSMB) SetId(v int32)
- func (o *ShareSMB) SetLocked(v bool)
- func (o *ShareSMB) SetName(v string)
- func (o *ShareSMB) SetPath(v string)
- func (o *ShareSMB) SetPathSuffix(v string)
- func (o *ShareSMB) SetPurpose(v string)
- func (o *ShareSMB) SetRecyclebin(v bool)
- func (o *ShareSMB) SetRo(v bool)
- func (o *ShareSMB) SetShadowcopy(v bool)
- func (o *ShareSMB) SetStreams(v bool)
- func (o *ShareSMB) SetTimemachine(v bool)
- func (o *ShareSMB) SetVuid(v string)
- func (o *ShareSMB) UnmarshalJSON(bytes []byte) (err error)
- type SharingApiService
- func (a *SharingApiService) CreateShareNFS(ctx context.Context) ApiCreateShareNFSRequest
- func (a *SharingApiService) CreateShareNFSExecute(r ApiCreateShareNFSRequest) (*ShareNFS, *http.Response, error)
- func (a *SharingApiService) CreateShareSMB(ctx context.Context) ApiCreateShareSMBRequest
- func (a *SharingApiService) CreateShareSMBExecute(r ApiCreateShareSMBRequest) (*ShareSMB, *http.Response, error)
- func (a *SharingApiService) GetShareNFS(ctx context.Context, id int32) ApiGetShareNFSRequest
- func (a *SharingApiService) GetShareNFSExecute(r ApiGetShareNFSRequest) (*ShareNFS, *http.Response, error)
- func (a *SharingApiService) GetShareSMB(ctx context.Context, id int32) ApiGetShareSMBRequest
- func (a *SharingApiService) GetShareSMBExecute(r ApiGetShareSMBRequest) (*ShareSMB, *http.Response, error)
- func (a *SharingApiService) ListSharesNFS(ctx context.Context) ApiListSharesNFSRequest
- func (a *SharingApiService) ListSharesNFSExecute(r ApiListSharesNFSRequest) ([]ShareNFS, *http.Response, error)
- func (a *SharingApiService) ListSharesSMB(ctx context.Context) ApiListSharesSMBRequest
- func (a *SharingApiService) ListSharesSMBExecute(r ApiListSharesSMBRequest) ([]ShareSMB, *http.Response, error)
- func (a *SharingApiService) RemoveShareNFS(ctx context.Context, id int32) ApiRemoveShareNFSRequest
- func (a *SharingApiService) RemoveShareNFSExecute(r ApiRemoveShareNFSRequest) (*http.Response, error)
- func (a *SharingApiService) RemoveShareSMB(ctx context.Context, id int32) ApiRemoveShareSMBRequest
- func (a *SharingApiService) RemoveShareSMBExecute(r ApiRemoveShareSMBRequest) (*http.Response, error)
- func (a *SharingApiService) UpdateShareNFS(ctx context.Context, id int32) ApiUpdateShareNFSRequest
- func (a *SharingApiService) UpdateShareNFSExecute(r ApiUpdateShareNFSRequest) (*ShareNFS, *http.Response, error)
- func (a *SharingApiService) UpdateShareSMB(ctx context.Context, id int32) ApiUpdateShareSMBRequest
- func (a *SharingApiService) UpdateShareSMBExecute(r ApiUpdateShareSMBRequest) (*ShareSMB, *http.Response, error)
- type UpdateDatasetParams
- func (o *UpdateDatasetParams) GetAclmode() string
- func (o *UpdateDatasetParams) GetAclmodeOk() (*string, bool)
- func (o *UpdateDatasetParams) GetAtime() string
- func (o *UpdateDatasetParams) GetAtimeOk() (*string, bool)
- func (o *UpdateDatasetParams) GetComments() string
- func (o *UpdateDatasetParams) GetCommentsOk() (*string, bool)
- func (o *UpdateDatasetParams) GetCompression() string
- func (o *UpdateDatasetParams) GetCompressionOk() (*string, bool)
- func (o *UpdateDatasetParams) GetCopies() int32
- func (o *UpdateDatasetParams) GetCopiesOk() (*int32, bool)
- func (o *UpdateDatasetParams) GetDeduplication() string
- func (o *UpdateDatasetParams) GetDeduplicationOk() (*string, bool)
- func (o *UpdateDatasetParams) GetExec() string
- func (o *UpdateDatasetParams) GetExecOk() (*string, bool)
- func (o *UpdateDatasetParams) GetForceSize() bool
- func (o *UpdateDatasetParams) GetForceSizeOk() (*bool, bool)
- func (o *UpdateDatasetParams) GetQuota() int64
- func (o *UpdateDatasetParams) GetQuotaOk() (*int64, bool)
- func (o *UpdateDatasetParams) GetReadonly() string
- func (o *UpdateDatasetParams) GetReadonlyOk() (*string, bool)
- func (o *UpdateDatasetParams) GetRecordsize() string
- func (o *UpdateDatasetParams) GetRecordsizeOk() (*string, bool)
- func (o *UpdateDatasetParams) GetRefquota() int64
- func (o *UpdateDatasetParams) GetRefquotaOk() (*int64, bool)
- func (o *UpdateDatasetParams) GetRefreservation() int64
- func (o *UpdateDatasetParams) GetRefreservationOk() (*int64, bool)
- func (o *UpdateDatasetParams) GetSnapdir() string
- func (o *UpdateDatasetParams) GetSnapdirOk() (*string, bool)
- func (o *UpdateDatasetParams) GetSync() string
- func (o *UpdateDatasetParams) GetSyncOk() (*string, bool)
- func (o *UpdateDatasetParams) GetVolsize() int64
- func (o *UpdateDatasetParams) GetVolsizeOk() (*int64, bool)
- func (o *UpdateDatasetParams) HasAclmode() bool
- func (o *UpdateDatasetParams) HasAtime() bool
- func (o *UpdateDatasetParams) HasComments() bool
- func (o *UpdateDatasetParams) HasCompression() bool
- func (o *UpdateDatasetParams) HasCopies() bool
- func (o *UpdateDatasetParams) HasDeduplication() bool
- func (o *UpdateDatasetParams) HasExec() bool
- func (o *UpdateDatasetParams) HasForceSize() bool
- func (o *UpdateDatasetParams) HasQuota() bool
- func (o *UpdateDatasetParams) HasReadonly() bool
- func (o *UpdateDatasetParams) HasRecordsize() bool
- func (o *UpdateDatasetParams) HasRefquota() bool
- func (o *UpdateDatasetParams) HasRefreservation() bool
- func (o *UpdateDatasetParams) HasSnapdir() bool
- func (o *UpdateDatasetParams) HasSync() bool
- func (o *UpdateDatasetParams) HasVolsize() bool
- func (o UpdateDatasetParams) MarshalJSON() ([]byte, error)
- func (o *UpdateDatasetParams) SetAclmode(v string)
- func (o *UpdateDatasetParams) SetAtime(v string)
- func (o *UpdateDatasetParams) SetComments(v string)
- func (o *UpdateDatasetParams) SetCompression(v string)
- func (o *UpdateDatasetParams) SetCopies(v int32)
- func (o *UpdateDatasetParams) SetDeduplication(v string)
- func (o *UpdateDatasetParams) SetExec(v string)
- func (o *UpdateDatasetParams) SetForceSize(v bool)
- func (o *UpdateDatasetParams) SetQuota(v int64)
- func (o *UpdateDatasetParams) SetReadonly(v string)
- func (o *UpdateDatasetParams) SetRecordsize(v string)
- func (o *UpdateDatasetParams) SetRefquota(v int64)
- func (o *UpdateDatasetParams) SetRefreservation(v int64)
- func (o *UpdateDatasetParams) SetSnapdir(v string)
- func (o *UpdateDatasetParams) SetSync(v string)
- func (o *UpdateDatasetParams) SetVolsize(v int64)
- func (o *UpdateDatasetParams) UnmarshalJSON(bytes []byte) (err error)
- type UpdateUserParams
- func (o *UpdateUserParams) GetAttributes() map[string]interface{}
- func (o *UpdateUserParams) GetAttributesOk() (map[string]interface{}, bool)
- func (o *UpdateUserParams) GetEmail() string
- func (o *UpdateUserParams) GetEmailOk() (*string, bool)
- func (o *UpdateUserParams) GetFullName() string
- func (o *UpdateUserParams) GetFullNameOk() (*string, bool)
- func (o *UpdateUserParams) GetGroup() int32
- func (o *UpdateUserParams) GetGroupOk() (*int32, bool)
- func (o *UpdateUserParams) GetGroups() []int32
- func (o *UpdateUserParams) GetGroupsOk() ([]int32, bool)
- func (o *UpdateUserParams) GetHome() string
- func (o *UpdateUserParams) GetHomeMode() string
- func (o *UpdateUserParams) GetHomeModeOk() (*string, bool)
- func (o *UpdateUserParams) GetHomeOk() (*string, bool)
- func (o *UpdateUserParams) GetLocked() bool
- func (o *UpdateUserParams) GetLockedOk() (*bool, bool)
- func (o *UpdateUserParams) GetMicrosoftAccount() bool
- func (o *UpdateUserParams) GetMicrosoftAccountOk() (*bool, bool)
- func (o *UpdateUserParams) GetPassword() string
- func (o *UpdateUserParams) GetPasswordDisabled() bool
- func (o *UpdateUserParams) GetPasswordDisabledOk() (*bool, bool)
- func (o *UpdateUserParams) GetPasswordOk() (*string, bool)
- func (o *UpdateUserParams) GetShell() string
- func (o *UpdateUserParams) GetShellOk() (*string, bool)
- func (o *UpdateUserParams) GetSmb() bool
- func (o *UpdateUserParams) GetSmbOk() (*bool, bool)
- func (o *UpdateUserParams) GetSshpubkey() string
- func (o *UpdateUserParams) GetSshpubkeyOk() (*string, bool)
- func (o *UpdateUserParams) GetSudo() bool
- func (o *UpdateUserParams) GetSudoCommands() []string
- func (o *UpdateUserParams) GetSudoCommandsOk() ([]string, bool)
- func (o *UpdateUserParams) GetSudoNopasswd() bool
- func (o *UpdateUserParams) GetSudoNopasswdOk() (*bool, bool)
- func (o *UpdateUserParams) GetSudoOk() (*bool, bool)
- func (o *UpdateUserParams) GetUid() int32
- func (o *UpdateUserParams) GetUidOk() (*int32, bool)
- func (o *UpdateUserParams) GetUsername() string
- func (o *UpdateUserParams) GetUsernameOk() (*string, bool)
- func (o *UpdateUserParams) HasAttributes() bool
- func (o *UpdateUserParams) HasEmail() bool
- func (o *UpdateUserParams) HasFullName() bool
- func (o *UpdateUserParams) HasGroup() bool
- func (o *UpdateUserParams) HasGroups() bool
- func (o *UpdateUserParams) HasHome() bool
- func (o *UpdateUserParams) HasHomeMode() bool
- func (o *UpdateUserParams) HasLocked() bool
- func (o *UpdateUserParams) HasMicrosoftAccount() bool
- func (o *UpdateUserParams) HasPassword() bool
- func (o *UpdateUserParams) HasPasswordDisabled() bool
- func (o *UpdateUserParams) HasShell() bool
- func (o *UpdateUserParams) HasSmb() bool
- func (o *UpdateUserParams) HasSshpubkey() bool
- func (o *UpdateUserParams) HasSudo() bool
- func (o *UpdateUserParams) HasSudoCommands() bool
- func (o *UpdateUserParams) HasSudoNopasswd() bool
- func (o *UpdateUserParams) HasUid() bool
- func (o *UpdateUserParams) HasUsername() bool
- func (o UpdateUserParams) MarshalJSON() ([]byte, error)
- func (o *UpdateUserParams) SetAttributes(v map[string]interface{})
- func (o *UpdateUserParams) SetEmail(v string)
- func (o *UpdateUserParams) SetEmailNil()
- func (o *UpdateUserParams) SetFullName(v string)
- func (o *UpdateUserParams) SetGroup(v int32)
- func (o *UpdateUserParams) SetGroups(v []int32)
- func (o *UpdateUserParams) SetHome(v string)
- func (o *UpdateUserParams) SetHomeMode(v string)
- func (o *UpdateUserParams) SetLocked(v bool)
- func (o *UpdateUserParams) SetMicrosoftAccount(v bool)
- func (o *UpdateUserParams) SetPassword(v string)
- func (o *UpdateUserParams) SetPasswordDisabled(v bool)
- func (o *UpdateUserParams) SetShell(v string)
- func (o *UpdateUserParams) SetSmb(v bool)
- func (o *UpdateUserParams) SetSshpubkey(v string)
- func (o *UpdateUserParams) SetSshpubkeyNil()
- func (o *UpdateUserParams) SetSudo(v bool)
- func (o *UpdateUserParams) SetSudoCommands(v []string)
- func (o *UpdateUserParams) SetSudoNopasswd(v bool)
- func (o *UpdateUserParams) SetUid(v int32)
- func (o *UpdateUserParams) SetUsername(v string)
- func (o *UpdateUserParams) UnmarshalJSON(bytes []byte) (err error)
- func (o *UpdateUserParams) UnsetEmail()
- func (o *UpdateUserParams) UnsetSshpubkey()
- type UpdateVMParams
- func (o *UpdateVMParams) GetArchType() string
- func (o *UpdateVMParams) GetArchTypeOk() (*string, bool)
- func (o *UpdateVMParams) GetAutostart() bool
- func (o *UpdateVMParams) GetAutostartOk() (*bool, bool)
- func (o *UpdateVMParams) GetBootloader() string
- func (o *UpdateVMParams) GetBootloaderOk() (*string, bool)
- func (o *UpdateVMParams) GetCores() int32
- func (o *UpdateVMParams) GetCoresOk() (*int32, bool)
- func (o *UpdateVMParams) GetCpuMode() string
- func (o *UpdateVMParams) GetCpuModeOk() (*string, bool)
- func (o *UpdateVMParams) GetCpuModel() string
- func (o *UpdateVMParams) GetCpuModelOk() (*string, bool)
- func (o *UpdateVMParams) GetDescription() string
- func (o *UpdateVMParams) GetDescriptionOk() (*string, bool)
- func (o *UpdateVMParams) GetDevices() []VMDevice
- func (o *UpdateVMParams) GetDevicesOk() ([]VMDevice, bool)
- func (o *UpdateVMParams) GetEnsureDisplayDevice() bool
- func (o *UpdateVMParams) GetEnsureDisplayDeviceOk() (*bool, bool)
- func (o *UpdateVMParams) GetHideFromMsr() bool
- func (o *UpdateVMParams) GetHideFromMsrOk() (*bool, bool)
- func (o *UpdateVMParams) GetMachineType() string
- func (o *UpdateVMParams) GetMachineTypeOk() (*string, bool)
- func (o *UpdateVMParams) GetMemory() int64
- func (o *UpdateVMParams) GetMemoryOk() (*int64, bool)
- func (o *UpdateVMParams) GetName() string
- func (o *UpdateVMParams) GetNameOk() (*string, bool)
- func (o *UpdateVMParams) GetShutdownTimeout() int32
- func (o *UpdateVMParams) GetShutdownTimeoutOk() (*int32, bool)
- func (o *UpdateVMParams) GetThreads() int32
- func (o *UpdateVMParams) GetThreadsOk() (*int32, bool)
- func (o *UpdateVMParams) GetTime() string
- func (o *UpdateVMParams) GetTimeOk() (*string, bool)
- func (o *UpdateVMParams) GetUuid() string
- func (o *UpdateVMParams) GetUuidOk() (*string, bool)
- func (o *UpdateVMParams) GetVcpus() int32
- func (o *UpdateVMParams) GetVcpusOk() (*int32, bool)
- func (o *UpdateVMParams) HasArchType() bool
- func (o *UpdateVMParams) HasAutostart() bool
- func (o *UpdateVMParams) HasBootloader() bool
- func (o *UpdateVMParams) HasCores() bool
- func (o *UpdateVMParams) HasCpuMode() bool
- func (o *UpdateVMParams) HasCpuModel() bool
- func (o *UpdateVMParams) HasDescription() bool
- func (o *UpdateVMParams) HasDevices() bool
- func (o *UpdateVMParams) HasEnsureDisplayDevice() bool
- func (o *UpdateVMParams) HasHideFromMsr() bool
- func (o *UpdateVMParams) HasMachineType() bool
- func (o *UpdateVMParams) HasMemory() bool
- func (o *UpdateVMParams) HasName() bool
- func (o *UpdateVMParams) HasShutdownTimeout() bool
- func (o *UpdateVMParams) HasThreads() bool
- func (o *UpdateVMParams) HasTime() bool
- func (o *UpdateVMParams) HasUuid() bool
- func (o *UpdateVMParams) HasVcpus() bool
- func (o UpdateVMParams) MarshalJSON() ([]byte, error)
- func (o *UpdateVMParams) SetArchType(v string)
- func (o *UpdateVMParams) SetArchTypeNil()
- func (o *UpdateVMParams) SetAutostart(v bool)
- func (o *UpdateVMParams) SetBootloader(v string)
- func (o *UpdateVMParams) SetCores(v int32)
- func (o *UpdateVMParams) SetCpuMode(v string)
- func (o *UpdateVMParams) SetCpuModel(v string)
- func (o *UpdateVMParams) SetCpuModelNil()
- func (o *UpdateVMParams) SetDescription(v string)
- func (o *UpdateVMParams) SetDevices(v []VMDevice)
- func (o *UpdateVMParams) SetEnsureDisplayDevice(v bool)
- func (o *UpdateVMParams) SetHideFromMsr(v bool)
- func (o *UpdateVMParams) SetMachineType(v string)
- func (o *UpdateVMParams) SetMachineTypeNil()
- func (o *UpdateVMParams) SetMemory(v int64)
- func (o *UpdateVMParams) SetName(v string)
- func (o *UpdateVMParams) SetShutdownTimeout(v int32)
- func (o *UpdateVMParams) SetThreads(v int32)
- func (o *UpdateVMParams) SetTime(v string)
- func (o *UpdateVMParams) SetUuid(v string)
- func (o *UpdateVMParams) SetUuidNil()
- func (o *UpdateVMParams) SetVcpus(v int32)
- func (o *UpdateVMParams) UnmarshalJSON(bytes []byte) (err error)
- func (o *UpdateVMParams) UnsetArchType()
- func (o *UpdateVMParams) UnsetCpuModel()
- func (o *UpdateVMParams) UnsetMachineType()
- func (o *UpdateVMParams) UnsetUuid()
- type User
- func (o *User) GetAttributes() map[string]interface{}
- func (o *User) GetAttributesOk() (map[string]interface{}, bool)
- func (o *User) GetBuiltin() bool
- func (o *User) GetBuiltinOk() (*bool, bool)
- func (o *User) GetEmail() string
- func (o *User) GetEmailOk() (*string, bool)
- func (o *User) GetFullName() string
- func (o *User) GetFullNameOk() (*string, bool)
- func (o *User) GetGroup() UserGroup
- func (o *User) GetGroupOk() (*UserGroup, bool)
- func (o *User) GetGroups() []int32
- func (o *User) GetGroupsOk() ([]int32, bool)
- func (o *User) GetHome() string
- func (o *User) GetHomeOk() (*string, bool)
- func (o *User) GetId() int32
- func (o *User) GetIdOk() (*int32, bool)
- func (o *User) GetIdTypeBoth() bool
- func (o *User) GetIdTypeBothOk() (*bool, bool)
- func (o *User) GetLocal() bool
- func (o *User) GetLocalOk() (*bool, bool)
- func (o *User) GetLocked() bool
- func (o *User) GetLockedOk() (*bool, bool)
- func (o *User) GetMicrosoftAccount() bool
- func (o *User) GetMicrosoftAccountOk() (*bool, bool)
- func (o *User) GetPasswordDisabled() bool
- func (o *User) GetPasswordDisabledOk() (*bool, bool)
- func (o *User) GetShell() string
- func (o *User) GetShellOk() (*string, bool)
- func (o *User) GetSmb() bool
- func (o *User) GetSmbOk() (*bool, bool)
- func (o *User) GetSmbhash() string
- func (o *User) GetSmbhashOk() (*string, bool)
- func (o *User) GetSshpubkey() string
- func (o *User) GetSshpubkeyOk() (*string, bool)
- func (o *User) GetSudo() bool
- func (o *User) GetSudoCommands() []string
- func (o *User) GetSudoCommandsOk() ([]string, bool)
- func (o *User) GetSudoNopasswd() bool
- func (o *User) GetSudoNopasswdOk() (*bool, bool)
- func (o *User) GetSudoOk() (*bool, bool)
- func (o *User) GetUid() int32
- func (o *User) GetUidOk() (*int32, bool)
- func (o *User) GetUnixhash() string
- func (o *User) GetUnixhashOk() (*string, bool)
- func (o *User) GetUsername() string
- func (o *User) GetUsernameOk() (*string, bool)
- func (o *User) HasAttributes() bool
- func (o *User) HasBuiltin() bool
- func (o *User) HasEmail() bool
- func (o *User) HasGroup() bool
- func (o *User) HasGroups() bool
- func (o *User) HasHome() bool
- func (o *User) HasIdTypeBoth() bool
- func (o *User) HasLocal() bool
- func (o *User) HasLocked() bool
- func (o *User) HasMicrosoftAccount() bool
- func (o *User) HasPasswordDisabled() bool
- func (o *User) HasShell() bool
- func (o *User) HasSmb() bool
- func (o *User) HasSmbhash() bool
- func (o *User) HasSshpubkey() bool
- func (o *User) HasSudo() bool
- func (o *User) HasSudoCommands() bool
- func (o *User) HasSudoNopasswd() bool
- func (o *User) HasUid() bool
- func (o *User) HasUnixhash() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetAttributes(v map[string]interface{})
- func (o *User) SetBuiltin(v bool)
- func (o *User) SetEmail(v string)
- func (o *User) SetEmailNil()
- func (o *User) SetFullName(v string)
- func (o *User) SetGroup(v UserGroup)
- func (o *User) SetGroups(v []int32)
- func (o *User) SetHome(v string)
- func (o *User) SetId(v int32)
- func (o *User) SetIdTypeBoth(v bool)
- func (o *User) SetLocal(v bool)
- func (o *User) SetLocked(v bool)
- func (o *User) SetMicrosoftAccount(v bool)
- func (o *User) SetPasswordDisabled(v bool)
- func (o *User) SetShell(v string)
- func (o *User) SetSmb(v bool)
- func (o *User) SetSmbhash(v string)
- func (o *User) SetSshpubkey(v string)
- func (o *User) SetSshpubkeyNil()
- func (o *User) SetSudo(v bool)
- func (o *User) SetSudoCommands(v []string)
- func (o *User) SetSudoNopasswd(v bool)
- func (o *User) SetUid(v int32)
- func (o *User) SetUnixhash(v string)
- func (o *User) SetUsername(v string)
- func (o *User) UnmarshalJSON(bytes []byte) (err error)
- func (o *User) UnsetEmail()
- func (o *User) UnsetSshpubkey()
- type UserApiService
- func (a *UserApiService) CreateUser(ctx context.Context) ApiCreateUserRequest
- func (a *UserApiService) CreateUserExecute(r ApiCreateUserRequest) (int32, *http.Response, error)
- func (a *UserApiService) DeleteUser(ctx context.Context, id int32) ApiDeleteUserRequest
- func (a *UserApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)
- func (a *UserApiService) GetUser(ctx context.Context, id int32) ApiGetUserRequest
- func (a *UserApiService) GetUserExecute(r ApiGetUserRequest) (*User, *http.Response, error)
- func (a *UserApiService) GetUserShellChoices(ctx context.Context) ApiGetUserShellChoicesRequest
- func (a *UserApiService) GetUserShellChoicesExecute(r ApiGetUserShellChoicesRequest) (map[string]string, *http.Response, error)
- func (a *UserApiService) ListUsers(ctx context.Context) ApiListUsersRequest
- func (a *UserApiService) ListUsersExecute(r ApiListUsersRequest) ([]User, *http.Response, error)
- func (a *UserApiService) UpdateUser(ctx context.Context, id int32) ApiUpdateUserRequest
- func (a *UserApiService) UpdateUserExecute(r ApiUpdateUserRequest) (int32, *http.Response, error)
- type UserGroup
- func (o *UserGroup) GetBsdgrpBuiltin() bool
- func (o *UserGroup) GetBsdgrpBuiltinOk() (*bool, bool)
- func (o *UserGroup) GetBsdgrpGid() int32
- func (o *UserGroup) GetBsdgrpGidOk() (*int32, bool)
- func (o *UserGroup) GetBsdgrpGroup() string
- func (o *UserGroup) GetBsdgrpGroupOk() (*string, bool)
- func (o *UserGroup) GetBsdgrpSmb() bool
- func (o *UserGroup) GetBsdgrpSmbOk() (*bool, bool)
- func (o *UserGroup) GetBsdgrpSudo() bool
- func (o *UserGroup) GetBsdgrpSudoCommands() []string
- func (o *UserGroup) GetBsdgrpSudoCommandsOk() ([]string, bool)
- func (o *UserGroup) GetBsdgrpSudoNopasswd() bool
- func (o *UserGroup) GetBsdgrpSudoNopasswdOk() (*bool, bool)
- func (o *UserGroup) GetBsdgrpSudoOk() (*bool, bool)
- func (o *UserGroup) GetId() int32
- func (o *UserGroup) GetIdOk() (*int32, bool)
- func (o *UserGroup) HasBsdgrpBuiltin() bool
- func (o *UserGroup) HasBsdgrpGid() bool
- func (o *UserGroup) HasBsdgrpGroup() bool
- func (o *UserGroup) HasBsdgrpSmb() bool
- func (o *UserGroup) HasBsdgrpSudo() bool
- func (o *UserGroup) HasBsdgrpSudoCommands() bool
- func (o *UserGroup) HasBsdgrpSudoNopasswd() bool
- func (o *UserGroup) HasId() bool
- func (o UserGroup) MarshalJSON() ([]byte, error)
- func (o *UserGroup) SetBsdgrpBuiltin(v bool)
- func (o *UserGroup) SetBsdgrpGid(v int32)
- func (o *UserGroup) SetBsdgrpGroup(v string)
- func (o *UserGroup) SetBsdgrpSmb(v bool)
- func (o *UserGroup) SetBsdgrpSudo(v bool)
- func (o *UserGroup) SetBsdgrpSudoCommands(v []string)
- func (o *UserGroup) SetBsdgrpSudoNopasswd(v bool)
- func (o *UserGroup) SetId(v int32)
- func (o *UserGroup) UnmarshalJSON(bytes []byte) (err error)
- type VM
- func (o *VM) GetArchType() string
- func (o *VM) GetArchTypeOk() (*string, bool)
- func (o *VM) GetAutostart() bool
- func (o *VM) GetAutostartOk() (*bool, bool)
- func (o *VM) GetBootloader() string
- func (o *VM) GetBootloaderOk() (*string, bool)
- func (o *VM) GetCommandLineArgs() string
- func (o *VM) GetCommandLineArgsOk() (*string, bool)
- func (o *VM) GetCores() int32
- func (o *VM) GetCoresOk() (*int32, bool)
- func (o *VM) GetCpuMode() string
- func (o *VM) GetCpuModeOk() (*string, bool)
- func (o *VM) GetCpuModel() string
- func (o *VM) GetCpuModelOk() (*string, bool)
- func (o *VM) GetCpuset() string
- func (o *VM) GetCpusetOk() (*string, bool)
- func (o *VM) GetDescription() string
- func (o *VM) GetDescriptionOk() (*string, bool)
- func (o *VM) GetDevices() []VMDevice
- func (o *VM) GetDevicesOk() ([]VMDevice, bool)
- func (o *VM) GetEnsureDisplayDevice() bool
- func (o *VM) GetEnsureDisplayDeviceOk() (*bool, bool)
- func (o *VM) GetHideFromMsr() bool
- func (o *VM) GetHideFromMsrOk() (*bool, bool)
- func (o *VM) GetHypervEnlightenments() bool
- func (o *VM) GetHypervEnlightenmentsOk() (*bool, bool)
- func (o *VM) GetId() int32
- func (o *VM) GetIdOk() (*int32, bool)
- func (o *VM) GetMachineType() string
- func (o *VM) GetMachineTypeOk() (*string, bool)
- func (o *VM) GetMemory() int64
- func (o *VM) GetMemoryOk() (*int64, bool)
- func (o *VM) GetMinMemory() int64
- func (o *VM) GetMinMemoryOk() (*int64, bool)
- func (o *VM) GetName() string
- func (o *VM) GetNameOk() (*string, bool)
- func (o *VM) GetNodeset() string
- func (o *VM) GetNodesetOk() (*string, bool)
- func (o *VM) GetPinVcpus() bool
- func (o *VM) GetPinVcpusOk() (*bool, bool)
- func (o *VM) GetShutdownTimeout() int32
- func (o *VM) GetShutdownTimeoutOk() (*int32, bool)
- func (o *VM) GetStatus() VMStatus
- func (o *VM) GetStatusOk() (*VMStatus, bool)
- func (o *VM) GetSuspendOnSnapshot() bool
- func (o *VM) GetSuspendOnSnapshotOk() (*bool, bool)
- func (o *VM) GetThreads() int32
- func (o *VM) GetThreadsOk() (*int32, bool)
- func (o *VM) GetTime() string
- func (o *VM) GetTimeOk() (*string, bool)
- func (o *VM) GetUuid() string
- func (o *VM) GetUuidOk() (*string, bool)
- func (o *VM) GetVcpus() int32
- func (o *VM) GetVcpusOk() (*int32, bool)
- func (o *VM) HasArchType() bool
- func (o *VM) HasAutostart() bool
- func (o *VM) HasBootloader() bool
- func (o *VM) HasCommandLineArgs() bool
- func (o *VM) HasCores() bool
- func (o *VM) HasCpuMode() bool
- func (o *VM) HasCpuModel() bool
- func (o *VM) HasCpuset() bool
- func (o *VM) HasDescription() bool
- func (o *VM) HasDevices() bool
- func (o *VM) HasEnsureDisplayDevice() bool
- func (o *VM) HasHideFromMsr() bool
- func (o *VM) HasHypervEnlightenments() bool
- func (o *VM) HasMachineType() bool
- func (o *VM) HasMemory() bool
- func (o *VM) HasMinMemory() bool
- func (o *VM) HasNodeset() bool
- func (o *VM) HasPinVcpus() bool
- func (o *VM) HasShutdownTimeout() bool
- func (o *VM) HasStatus() bool
- func (o *VM) HasSuspendOnSnapshot() bool
- func (o *VM) HasThreads() bool
- func (o *VM) HasTime() bool
- func (o *VM) HasUuid() bool
- func (o *VM) HasVcpus() bool
- func (o VM) MarshalJSON() ([]byte, error)
- func (o *VM) SetArchType(v string)
- func (o *VM) SetAutostart(v bool)
- func (o *VM) SetBootloader(v string)
- func (o *VM) SetCommandLineArgs(v string)
- func (o *VM) SetCores(v int32)
- func (o *VM) SetCpuMode(v string)
- func (o *VM) SetCpuModel(v string)
- func (o *VM) SetCpuset(v string)
- func (o *VM) SetDescription(v string)
- func (o *VM) SetDevices(v []VMDevice)
- func (o *VM) SetEnsureDisplayDevice(v bool)
- func (o *VM) SetHideFromMsr(v bool)
- func (o *VM) SetHypervEnlightenments(v bool)
- func (o *VM) SetId(v int32)
- func (o *VM) SetMachineType(v string)
- func (o *VM) SetMemory(v int64)
- func (o *VM) SetMinMemory(v int64)
- func (o *VM) SetName(v string)
- func (o *VM) SetNodeset(v string)
- func (o *VM) SetPinVcpus(v bool)
- func (o *VM) SetShutdownTimeout(v int32)
- func (o *VM) SetStatus(v VMStatus)
- func (o *VM) SetSuspendOnSnapshot(v bool)
- func (o *VM) SetThreads(v int32)
- func (o *VM) SetTime(v string)
- func (o *VM) SetUuid(v string)
- func (o *VM) SetVcpus(v int32)
- func (o *VM) UnmarshalJSON(bytes []byte) (err error)
- type VMDevice
- func (o *VMDevice) GetAttributes() map[string]interface{}
- func (o *VMDevice) GetAttributesOk() (map[string]interface{}, bool)
- func (o *VMDevice) GetDtype() string
- func (o *VMDevice) GetDtypeOk() (*string, bool)
- func (o *VMDevice) GetId() int32
- func (o *VMDevice) GetIdOk() (*int32, bool)
- func (o *VMDevice) GetOrder() int32
- func (o *VMDevice) GetOrderOk() (*int32, bool)
- func (o *VMDevice) GetVm() int32
- func (o *VMDevice) GetVmOk() (*int32, bool)
- func (o *VMDevice) HasAttributes() bool
- func (o *VMDevice) HasId() bool
- func (o *VMDevice) HasOrder() bool
- func (o *VMDevice) HasVm() bool
- func (o VMDevice) MarshalJSON() ([]byte, error)
- func (o *VMDevice) SetAttributes(v map[string]interface{})
- func (o *VMDevice) SetDtype(v string)
- func (o *VMDevice) SetId(v int32)
- func (o *VMDevice) SetOrder(v int32)
- func (o *VMDevice) SetVm(v int32)
- func (o *VMDevice) UnmarshalJSON(bytes []byte) (err error)
- type VMStatus
- func (o *VMStatus) GetDomainState() string
- func (o *VMStatus) GetDomainStateOk() (*string, bool)
- func (o *VMStatus) GetPid() int32
- func (o *VMStatus) GetPidOk() (*int32, bool)
- func (o *VMStatus) GetState() string
- func (o *VMStatus) GetStateOk() (*string, bool)
- func (o *VMStatus) HasDomainState() bool
- func (o *VMStatus) HasPid() bool
- func (o *VMStatus) HasState() bool
- func (o VMStatus) MarshalJSON() ([]byte, error)
- func (o *VMStatus) SetDomainState(v string)
- func (o *VMStatus) SetPid(v int32)
- func (o *VMStatus) SetState(v string)
- func (o *VMStatus) UnmarshalJSON(bytes []byte) (err error)
- type VmApiService
- func (a *VmApiService) CreateVM(ctx context.Context) ApiCreateVMRequest
- func (a *VmApiService) CreateVMExecute(r ApiCreateVMRequest) (*VM, *http.Response, error)
- func (a *VmApiService) DeleteVM(ctx context.Context, id int32) ApiDeleteVMRequest
- func (a *VmApiService) DeleteVMExecute(r ApiDeleteVMRequest) (*http.Response, error)
- func (a *VmApiService) GetVM(ctx context.Context, id int32) ApiGetVMRequest
- func (a *VmApiService) GetVMExecute(r ApiGetVMRequest) (*VM, *http.Response, error)
- func (a *VmApiService) ListVMS(ctx context.Context) ApiListVMSRequest
- func (a *VmApiService) ListVMSExecute(r ApiListVMSRequest) ([]VM, *http.Response, error)
- func (a *VmApiService) UpdateVM(ctx context.Context, id int32) ApiUpdateVMRequest
- func (a *VmApiService) UpdateVMExecute(r ApiUpdateVMRequest) (*VM, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKeys takes a string apikey as authentication for the request ContextAPIKeys = contextKey("apiKeys") // ContextHttpSignatureAuth takes HttpSignatureAuth as authentication for the request. ContextHttpSignatureAuth = contextKey("httpsignature") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { CronjobApi *CronjobApiService DatasetApi *DatasetApiService GroupApi *GroupApiService NetworkApi *NetworkApiService PoolApi *PoolApiService ServiceApi *ServiceApiService SharingApi *SharingApiService UserApi *UserApiService VmApi *VmApiService // contains filtered or unexported fields }
APIClient manages communication with the TrueNAS RESTful API API vv2.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiCreateCronJobRequest ¶
type ApiCreateCronJobRequest struct { ApiService *CronjobApiService // contains filtered or unexported fields }
func (ApiCreateCronJobRequest) CreateCronjobParams ¶
func (r ApiCreateCronJobRequest) CreateCronjobParams(createCronjobParams CreateCronjobParams) ApiCreateCronJobRequest
type ApiCreateDatasetRequest ¶
type ApiCreateDatasetRequest struct { ApiService *DatasetApiService // contains filtered or unexported fields }
func (ApiCreateDatasetRequest) CreateDatasetParams ¶
func (r ApiCreateDatasetRequest) CreateDatasetParams(createDatasetParams CreateDatasetParams) ApiCreateDatasetRequest
type ApiCreateGroupRequest ¶
type ApiCreateGroupRequest struct { ApiService *GroupApiService // contains filtered or unexported fields }
func (ApiCreateGroupRequest) CreateGroupParams ¶
func (r ApiCreateGroupRequest) CreateGroupParams(createGroupParams CreateGroupParams) ApiCreateGroupRequest
type ApiCreateShareNFSRequest ¶
type ApiCreateShareNFSRequest struct { // contains filtered or unexported fields }
func (ApiCreateShareNFSRequest) CreateShareNFSParams ¶
func (r ApiCreateShareNFSRequest) CreateShareNFSParams(createShareNFSParams CreateShareNFSParams) ApiCreateShareNFSRequest
type ApiCreateShareSMBRequest ¶
type ApiCreateShareSMBRequest struct { // contains filtered or unexported fields }
func (ApiCreateShareSMBRequest) CreateShareSMBParams ¶
func (r ApiCreateShareSMBRequest) CreateShareSMBParams(createShareSMBParams CreateShareSMBParams) ApiCreateShareSMBRequest
type ApiCreateUserRequest ¶
type ApiCreateUserRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
func (ApiCreateUserRequest) CreateUserParams ¶
func (r ApiCreateUserRequest) CreateUserParams(createUserParams CreateUserParams) ApiCreateUserRequest
type ApiCreateVMRequest ¶
type ApiCreateVMRequest struct { ApiService *VmApiService // contains filtered or unexported fields }
func (ApiCreateVMRequest) CreateVMParams ¶
func (r ApiCreateVMRequest) CreateVMParams(createVMParams CreateVMParams) ApiCreateVMRequest
type ApiDeleteCronJobRequest ¶
type ApiDeleteCronJobRequest struct { ApiService *CronjobApiService // contains filtered or unexported fields }
type ApiDeleteDatasetRequest ¶
type ApiDeleteDatasetRequest struct { ApiService *DatasetApiService // contains filtered or unexported fields }
type ApiDeleteGroupRequest ¶
type ApiDeleteGroupRequest struct { ApiService *GroupApiService // contains filtered or unexported fields }
func (ApiDeleteGroupRequest) DeleteGroupParams ¶
func (r ApiDeleteGroupRequest) DeleteGroupParams(deleteGroupParams DeleteGroupParams) ApiDeleteGroupRequest
type ApiDeleteUserRequest ¶
type ApiDeleteUserRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
func (ApiDeleteUserRequest) DeleteUserParams ¶
func (r ApiDeleteUserRequest) DeleteUserParams(deleteUserParams DeleteUserParams) ApiDeleteUserRequest
type ApiDeleteVMRequest ¶
type ApiDeleteVMRequest struct { ApiService *VmApiService // contains filtered or unexported fields }
type ApiGetCronJobRequest ¶
type ApiGetCronJobRequest struct { ApiService *CronjobApiService // contains filtered or unexported fields }
func (ApiGetCronJobRequest) Count ¶
func (r ApiGetCronJobRequest) Count(count bool) ApiGetCronJobRequest
func (ApiGetCronJobRequest) Execute ¶
func (r ApiGetCronJobRequest) Execute() (*CronJob, *http.Response, error)
func (ApiGetCronJobRequest) Limit ¶
func (r ApiGetCronJobRequest) Limit(limit int32) ApiGetCronJobRequest
func (ApiGetCronJobRequest) Offset ¶
func (r ApiGetCronJobRequest) Offset(offset int32) ApiGetCronJobRequest
func (ApiGetCronJobRequest) Sort ¶
func (r ApiGetCronJobRequest) Sort(sort string) ApiGetCronJobRequest
type ApiGetDatasetRequest ¶
type ApiGetDatasetRequest struct { ApiService *DatasetApiService // contains filtered or unexported fields }
func (ApiGetDatasetRequest) Count ¶
func (r ApiGetDatasetRequest) Count(count bool) ApiGetDatasetRequest
func (ApiGetDatasetRequest) Execute ¶
func (r ApiGetDatasetRequest) Execute() (*Dataset, *http.Response, error)
func (ApiGetDatasetRequest) Limit ¶
func (r ApiGetDatasetRequest) Limit(limit int32) ApiGetDatasetRequest
func (ApiGetDatasetRequest) Offset ¶
func (r ApiGetDatasetRequest) Offset(offset int32) ApiGetDatasetRequest
func (ApiGetDatasetRequest) Sort ¶
func (r ApiGetDatasetRequest) Sort(sort string) ApiGetDatasetRequest
type ApiGetGroupRequest ¶
type ApiGetGroupRequest struct { ApiService *GroupApiService // contains filtered or unexported fields }
func (ApiGetGroupRequest) Count ¶
func (r ApiGetGroupRequest) Count(count bool) ApiGetGroupRequest
func (ApiGetGroupRequest) Execute ¶
func (r ApiGetGroupRequest) Execute() (*Group, *http.Response, error)
func (ApiGetGroupRequest) Limit ¶
func (r ApiGetGroupRequest) Limit(limit int32) ApiGetGroupRequest
func (ApiGetGroupRequest) Offset ¶
func (r ApiGetGroupRequest) Offset(offset int32) ApiGetGroupRequest
func (ApiGetGroupRequest) Sort ¶
func (r ApiGetGroupRequest) Sort(sort string) ApiGetGroupRequest
type ApiGetNetworkConfigurationRequest ¶
type ApiGetNetworkConfigurationRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiGetNetworkConfigurationRequest) Execute ¶
func (r ApiGetNetworkConfigurationRequest) Execute() (*NetworkConfig, *http.Response, error)
type ApiGetNetworkSummaryRequest ¶
type ApiGetNetworkSummaryRequest struct { ApiService *NetworkApiService // contains filtered or unexported fields }
func (ApiGetNetworkSummaryRequest) Execute ¶
func (r ApiGetNetworkSummaryRequest) Execute() (*NetworkSummary, *http.Response, error)
type ApiGetServiceRequest ¶
type ApiGetServiceRequest struct { ApiService *ServiceApiService // contains filtered or unexported fields }
func (ApiGetServiceRequest) Count ¶
func (r ApiGetServiceRequest) Count(count bool) ApiGetServiceRequest
func (ApiGetServiceRequest) Execute ¶
func (r ApiGetServiceRequest) Execute() (*Service, *http.Response, error)
func (ApiGetServiceRequest) Limit ¶
func (r ApiGetServiceRequest) Limit(limit int32) ApiGetServiceRequest
func (ApiGetServiceRequest) Offset ¶
func (r ApiGetServiceRequest) Offset(offset int32) ApiGetServiceRequest
func (ApiGetServiceRequest) Sort ¶
func (r ApiGetServiceRequest) Sort(sort string) ApiGetServiceRequest
type ApiGetShareNFSRequest ¶
type ApiGetShareNFSRequest struct { // contains filtered or unexported fields }
func (ApiGetShareNFSRequest) Count ¶
func (r ApiGetShareNFSRequest) Count(count bool) ApiGetShareNFSRequest
func (ApiGetShareNFSRequest) Execute ¶
func (r ApiGetShareNFSRequest) Execute() (*ShareNFS, *http.Response, error)
func (ApiGetShareNFSRequest) Limit ¶
func (r ApiGetShareNFSRequest) Limit(limit int32) ApiGetShareNFSRequest
func (ApiGetShareNFSRequest) Offset ¶
func (r ApiGetShareNFSRequest) Offset(offset int32) ApiGetShareNFSRequest
func (ApiGetShareNFSRequest) Sort ¶
func (r ApiGetShareNFSRequest) Sort(sort string) ApiGetShareNFSRequest
type ApiGetShareSMBRequest ¶
type ApiGetShareSMBRequest struct { // contains filtered or unexported fields }
func (ApiGetShareSMBRequest) Count ¶
func (r ApiGetShareSMBRequest) Count(count bool) ApiGetShareSMBRequest
func (ApiGetShareSMBRequest) Execute ¶
func (r ApiGetShareSMBRequest) Execute() (*ShareSMB, *http.Response, error)
func (ApiGetShareSMBRequest) Limit ¶
func (r ApiGetShareSMBRequest) Limit(limit int32) ApiGetShareSMBRequest
func (ApiGetShareSMBRequest) Offset ¶
func (r ApiGetShareSMBRequest) Offset(offset int32) ApiGetShareSMBRequest
func (ApiGetShareSMBRequest) Sort ¶
func (r ApiGetShareSMBRequest) Sort(sort string) ApiGetShareSMBRequest
type ApiGetUserRequest ¶
type ApiGetUserRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
func (ApiGetUserRequest) Count ¶
func (r ApiGetUserRequest) Count(count bool) ApiGetUserRequest
func (ApiGetUserRequest) Execute ¶
func (r ApiGetUserRequest) Execute() (*User, *http.Response, error)
func (ApiGetUserRequest) Limit ¶
func (r ApiGetUserRequest) Limit(limit int32) ApiGetUserRequest
func (ApiGetUserRequest) Offset ¶
func (r ApiGetUserRequest) Offset(offset int32) ApiGetUserRequest
func (ApiGetUserRequest) Sort ¶
func (r ApiGetUserRequest) Sort(sort string) ApiGetUserRequest
type ApiGetUserShellChoicesRequest ¶
type ApiGetUserShellChoicesRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
func (ApiGetUserShellChoicesRequest) Body ¶
func (r ApiGetUserShellChoicesRequest) Body(body int32) ApiGetUserShellChoicesRequest
type ApiGetVMRequest ¶
type ApiGetVMRequest struct { ApiService *VmApiService // contains filtered or unexported fields }
func (ApiGetVMRequest) Count ¶
func (r ApiGetVMRequest) Count(count bool) ApiGetVMRequest
func (ApiGetVMRequest) Limit ¶
func (r ApiGetVMRequest) Limit(limit int32) ApiGetVMRequest
func (ApiGetVMRequest) Offset ¶
func (r ApiGetVMRequest) Offset(offset int32) ApiGetVMRequest
func (ApiGetVMRequest) Sort ¶
func (r ApiGetVMRequest) Sort(sort string) ApiGetVMRequest
type ApiListDatasetsRequest ¶
type ApiListDatasetsRequest struct { ApiService *DatasetApiService // contains filtered or unexported fields }
func (ApiListDatasetsRequest) Count ¶
func (r ApiListDatasetsRequest) Count(count bool) ApiListDatasetsRequest
func (ApiListDatasetsRequest) Execute ¶
func (r ApiListDatasetsRequest) Execute() ([]Dataset, *http.Response, error)
func (ApiListDatasetsRequest) Limit ¶
func (r ApiListDatasetsRequest) Limit(limit int32) ApiListDatasetsRequest
func (ApiListDatasetsRequest) Offset ¶
func (r ApiListDatasetsRequest) Offset(offset int32) ApiListDatasetsRequest
func (ApiListDatasetsRequest) Sort ¶
func (r ApiListDatasetsRequest) Sort(sort string) ApiListDatasetsRequest
type ApiListGroupsRequest ¶
type ApiListGroupsRequest struct { ApiService *GroupApiService // contains filtered or unexported fields }
func (ApiListGroupsRequest) Count ¶
func (r ApiListGroupsRequest) Count(count bool) ApiListGroupsRequest
func (ApiListGroupsRequest) Execute ¶
func (r ApiListGroupsRequest) Execute() (*http.Response, error)
func (ApiListGroupsRequest) Limit ¶
func (r ApiListGroupsRequest) Limit(limit int32) ApiListGroupsRequest
func (ApiListGroupsRequest) Offset ¶
func (r ApiListGroupsRequest) Offset(offset int32) ApiListGroupsRequest
func (ApiListGroupsRequest) Sort ¶
func (r ApiListGroupsRequest) Sort(sort string) ApiListGroupsRequest
type ApiListPoolsRequest ¶
type ApiListPoolsRequest struct { ApiService *PoolApiService // contains filtered or unexported fields }
func (ApiListPoolsRequest) Count ¶
func (r ApiListPoolsRequest) Count(count bool) ApiListPoolsRequest
func (ApiListPoolsRequest) Execute ¶
func (r ApiListPoolsRequest) Execute() ([]Pool, *http.Response, error)
func (ApiListPoolsRequest) Limit ¶
func (r ApiListPoolsRequest) Limit(limit int32) ApiListPoolsRequest
func (ApiListPoolsRequest) Offset ¶
func (r ApiListPoolsRequest) Offset(offset int32) ApiListPoolsRequest
func (ApiListPoolsRequest) Sort ¶
func (r ApiListPoolsRequest) Sort(sort string) ApiListPoolsRequest
type ApiListSharesNFSRequest ¶
type ApiListSharesNFSRequest struct { // contains filtered or unexported fields }
func (ApiListSharesNFSRequest) Count ¶
func (r ApiListSharesNFSRequest) Count(count bool) ApiListSharesNFSRequest
func (ApiListSharesNFSRequest) Execute ¶
func (r ApiListSharesNFSRequest) Execute() ([]ShareNFS, *http.Response, error)
func (ApiListSharesNFSRequest) Limit ¶
func (r ApiListSharesNFSRequest) Limit(limit int32) ApiListSharesNFSRequest
func (ApiListSharesNFSRequest) Offset ¶
func (r ApiListSharesNFSRequest) Offset(offset int32) ApiListSharesNFSRequest
func (ApiListSharesNFSRequest) Sort ¶
func (r ApiListSharesNFSRequest) Sort(sort string) ApiListSharesNFSRequest
type ApiListSharesSMBRequest ¶
type ApiListSharesSMBRequest struct { // contains filtered or unexported fields }
func (ApiListSharesSMBRequest) Count ¶
func (r ApiListSharesSMBRequest) Count(count bool) ApiListSharesSMBRequest
func (ApiListSharesSMBRequest) Execute ¶
func (r ApiListSharesSMBRequest) Execute() ([]ShareSMB, *http.Response, error)
func (ApiListSharesSMBRequest) Limit ¶
func (r ApiListSharesSMBRequest) Limit(limit int32) ApiListSharesSMBRequest
func (ApiListSharesSMBRequest) Offset ¶
func (r ApiListSharesSMBRequest) Offset(offset int32) ApiListSharesSMBRequest
func (ApiListSharesSMBRequest) Sort ¶
func (r ApiListSharesSMBRequest) Sort(sort string) ApiListSharesSMBRequest
type ApiListUsersRequest ¶
type ApiListUsersRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
func (ApiListUsersRequest) Count ¶
func (r ApiListUsersRequest) Count(count bool) ApiListUsersRequest
func (ApiListUsersRequest) Execute ¶
func (r ApiListUsersRequest) Execute() ([]User, *http.Response, error)
func (ApiListUsersRequest) Limit ¶
func (r ApiListUsersRequest) Limit(limit int32) ApiListUsersRequest
func (ApiListUsersRequest) Offset ¶
func (r ApiListUsersRequest) Offset(offset int32) ApiListUsersRequest
func (ApiListUsersRequest) Sort ¶
func (r ApiListUsersRequest) Sort(sort string) ApiListUsersRequest
type ApiListVMSRequest ¶
type ApiListVMSRequest struct { ApiService *VmApiService // contains filtered or unexported fields }
func (ApiListVMSRequest) Count ¶
func (r ApiListVMSRequest) Count(count bool) ApiListVMSRequest
func (ApiListVMSRequest) Execute ¶
func (r ApiListVMSRequest) Execute() ([]VM, *http.Response, error)
func (ApiListVMSRequest) Limit ¶
func (r ApiListVMSRequest) Limit(limit int32) ApiListVMSRequest
func (ApiListVMSRequest) Offset ¶
func (r ApiListVMSRequest) Offset(offset int32) ApiListVMSRequest
func (ApiListVMSRequest) Sort ¶
func (r ApiListVMSRequest) Sort(sort string) ApiListVMSRequest
type ApiRemoveShareNFSRequest ¶
type ApiRemoveShareNFSRequest struct { // contains filtered or unexported fields }
type ApiRemoveShareSMBRequest ¶
type ApiRemoveShareSMBRequest struct { // contains filtered or unexported fields }
type ApiUpdateCronJobRequest ¶
type ApiUpdateCronJobRequest struct { ApiService *CronjobApiService // contains filtered or unexported fields }
func (ApiUpdateCronJobRequest) CreateCronjobParams ¶
func (r ApiUpdateCronJobRequest) CreateCronjobParams(createCronjobParams CreateCronjobParams) ApiUpdateCronJobRequest
type ApiUpdateDatasetRequest ¶
type ApiUpdateDatasetRequest struct { ApiService *DatasetApiService // contains filtered or unexported fields }
func (ApiUpdateDatasetRequest) Execute ¶
func (r ApiUpdateDatasetRequest) Execute() (*Dataset, *http.Response, error)
func (ApiUpdateDatasetRequest) UpdateDatasetParams ¶
func (r ApiUpdateDatasetRequest) UpdateDatasetParams(updateDatasetParams UpdateDatasetParams) ApiUpdateDatasetRequest
type ApiUpdateGroupRequest ¶
type ApiUpdateGroupRequest struct { ApiService *GroupApiService // contains filtered or unexported fields }
func (ApiUpdateGroupRequest) CreateGroupParams ¶
func (r ApiUpdateGroupRequest) CreateGroupParams(createGroupParams CreateGroupParams) ApiUpdateGroupRequest
type ApiUpdateShareNFSRequest ¶
type ApiUpdateShareNFSRequest struct { // contains filtered or unexported fields }
func (ApiUpdateShareNFSRequest) CreateShareNFSParams ¶
func (r ApiUpdateShareNFSRequest) CreateShareNFSParams(createShareNFSParams CreateShareNFSParams) ApiUpdateShareNFSRequest
type ApiUpdateShareSMBRequest ¶
type ApiUpdateShareSMBRequest struct { // contains filtered or unexported fields }
func (ApiUpdateShareSMBRequest) CreateShareSMBParams ¶
func (r ApiUpdateShareSMBRequest) CreateShareSMBParams(createShareSMBParams CreateShareSMBParams) ApiUpdateShareSMBRequest
type ApiUpdateUserRequest ¶
type ApiUpdateUserRequest struct { ApiService *UserApiService // contains filtered or unexported fields }
func (ApiUpdateUserRequest) Execute ¶
func (r ApiUpdateUserRequest) Execute() (int32, *http.Response, error)
func (ApiUpdateUserRequest) UpdateUserParams ¶
func (r ApiUpdateUserRequest) UpdateUserParams(updateUserParams UpdateUserParams) ApiUpdateUserRequest
type ApiUpdateVMRequest ¶
type ApiUpdateVMRequest struct { ApiService *VmApiService // contains filtered or unexported fields }
func (ApiUpdateVMRequest) Execute ¶
func (r ApiUpdateVMRequest) Execute() (*VM, *http.Response, error)
func (ApiUpdateVMRequest) UpdateVMParams ¶
func (r ApiUpdateVMRequest) UpdateVMParams(updateVMParams UpdateVMParams) ApiUpdateVMRequest
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CompositeValue ¶
type CompositeValue struct { Value *string `json:"value,omitempty"` Rawvalue string `json:"rawvalue"` Source *string `json:"source,omitempty"` AdditionalProperties map[string]interface{} }
CompositeValue struct for CompositeValue
func NewCompositeValue ¶
func NewCompositeValue(rawvalue string) *CompositeValue
NewCompositeValue instantiates a new CompositeValue 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
func NewCompositeValueWithDefaults ¶
func NewCompositeValueWithDefaults() *CompositeValue
NewCompositeValueWithDefaults instantiates a new CompositeValue 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
func (*CompositeValue) GetRawvalue ¶
func (o *CompositeValue) GetRawvalue() string
GetRawvalue returns the Rawvalue field value
func (*CompositeValue) GetRawvalueOk ¶
func (o *CompositeValue) GetRawvalueOk() (*string, bool)
GetRawvalueOk returns a tuple with the Rawvalue field value and a boolean to check if the value has been set.
func (*CompositeValue) GetSource ¶
func (o *CompositeValue) GetSource() string
GetSource returns the Source field value if set, zero value otherwise.
func (*CompositeValue) GetSourceOk ¶
func (o *CompositeValue) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompositeValue) GetValue ¶
func (o *CompositeValue) GetValue() string
GetValue returns the Value field value if set, zero value otherwise.
func (*CompositeValue) GetValueOk ¶
func (o *CompositeValue) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CompositeValue) HasSource ¶
func (o *CompositeValue) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*CompositeValue) HasValue ¶
func (o *CompositeValue) HasValue() bool
HasValue returns a boolean if a field has been set.
func (CompositeValue) MarshalJSON ¶
func (o CompositeValue) MarshalJSON() ([]byte, error)
func (*CompositeValue) SetRawvalue ¶
func (o *CompositeValue) SetRawvalue(v string)
SetRawvalue sets field value
func (*CompositeValue) SetSource ¶
func (o *CompositeValue) SetSource(v string)
SetSource gets a reference to the given string and assigns it to the Source field.
func (*CompositeValue) SetValue ¶
func (o *CompositeValue) SetValue(v string)
SetValue gets a reference to the given string and assigns it to the Value field.
func (*CompositeValue) UnmarshalJSON ¶
func (o *CompositeValue) UnmarshalJSON(bytes []byte) (err error)
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type CreateCronjobParams ¶
type CreateCronjobParams struct { User string `json:"user"` Command string `json:"command"` Description *string `json:"description,omitempty"` Enabled *bool `json:"enabled,omitempty"` Stdout *bool `json:"stdout,omitempty"` Stderr *bool `json:"stderr,omitempty"` Schedule *CronJobSchedule `json:"schedule,omitempty"` AdditionalProperties map[string]interface{} }
CreateCronjobParams struct for CreateCronjobParams
func NewCreateCronjobParams ¶
func NewCreateCronjobParams(user string, command string) *CreateCronjobParams
NewCreateCronjobParams instantiates a new CreateCronjobParams 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
func NewCreateCronjobParamsWithDefaults ¶
func NewCreateCronjobParamsWithDefaults() *CreateCronjobParams
NewCreateCronjobParamsWithDefaults instantiates a new CreateCronjobParams 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
func (*CreateCronjobParams) GetCommand ¶
func (o *CreateCronjobParams) GetCommand() string
GetCommand returns the Command field value
func (*CreateCronjobParams) GetCommandOk ¶
func (o *CreateCronjobParams) GetCommandOk() (*string, bool)
GetCommandOk returns a tuple with the Command field value and a boolean to check if the value has been set.
func (*CreateCronjobParams) GetDescription ¶
func (o *CreateCronjobParams) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateCronjobParams) GetDescriptionOk ¶
func (o *CreateCronjobParams) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCronjobParams) GetEnabled ¶
func (o *CreateCronjobParams) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*CreateCronjobParams) GetEnabledOk ¶
func (o *CreateCronjobParams) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCronjobParams) GetSchedule ¶
func (o *CreateCronjobParams) GetSchedule() CronJobSchedule
GetSchedule returns the Schedule field value if set, zero value otherwise.
func (*CreateCronjobParams) GetScheduleOk ¶
func (o *CreateCronjobParams) GetScheduleOk() (*CronJobSchedule, bool)
GetScheduleOk returns a tuple with the Schedule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCronjobParams) GetStderr ¶
func (o *CreateCronjobParams) GetStderr() bool
GetStderr returns the Stderr field value if set, zero value otherwise.
func (*CreateCronjobParams) GetStderrOk ¶
func (o *CreateCronjobParams) GetStderrOk() (*bool, bool)
GetStderrOk returns a tuple with the Stderr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCronjobParams) GetStdout ¶
func (o *CreateCronjobParams) GetStdout() bool
GetStdout returns the Stdout field value if set, zero value otherwise.
func (*CreateCronjobParams) GetStdoutOk ¶
func (o *CreateCronjobParams) GetStdoutOk() (*bool, bool)
GetStdoutOk returns a tuple with the Stdout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateCronjobParams) GetUser ¶
func (o *CreateCronjobParams) GetUser() string
GetUser returns the User field value
func (*CreateCronjobParams) GetUserOk ¶
func (o *CreateCronjobParams) GetUserOk() (*string, bool)
GetUserOk returns a tuple with the User field value and a boolean to check if the value has been set.
func (*CreateCronjobParams) HasDescription ¶
func (o *CreateCronjobParams) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateCronjobParams) HasEnabled ¶
func (o *CreateCronjobParams) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*CreateCronjobParams) HasSchedule ¶
func (o *CreateCronjobParams) HasSchedule() bool
HasSchedule returns a boolean if a field has been set.
func (*CreateCronjobParams) HasStderr ¶
func (o *CreateCronjobParams) HasStderr() bool
HasStderr returns a boolean if a field has been set.
func (*CreateCronjobParams) HasStdout ¶
func (o *CreateCronjobParams) HasStdout() bool
HasStdout returns a boolean if a field has been set.
func (CreateCronjobParams) MarshalJSON ¶
func (o CreateCronjobParams) MarshalJSON() ([]byte, error)
func (*CreateCronjobParams) SetCommand ¶
func (o *CreateCronjobParams) SetCommand(v string)
SetCommand sets field value
func (*CreateCronjobParams) SetDescription ¶
func (o *CreateCronjobParams) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateCronjobParams) SetEnabled ¶
func (o *CreateCronjobParams) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*CreateCronjobParams) SetSchedule ¶
func (o *CreateCronjobParams) SetSchedule(v CronJobSchedule)
SetSchedule gets a reference to the given CronJobSchedule and assigns it to the Schedule field.
func (*CreateCronjobParams) SetStderr ¶
func (o *CreateCronjobParams) SetStderr(v bool)
SetStderr gets a reference to the given bool and assigns it to the Stderr field.
func (*CreateCronjobParams) SetStdout ¶
func (o *CreateCronjobParams) SetStdout(v bool)
SetStdout gets a reference to the given bool and assigns it to the Stdout field.
func (*CreateCronjobParams) SetUser ¶
func (o *CreateCronjobParams) SetUser(v string)
SetUser sets field value
func (*CreateCronjobParams) UnmarshalJSON ¶
func (o *CreateCronjobParams) UnmarshalJSON(bytes []byte) (err error)
type CreateDatasetParams ¶
type CreateDatasetParams struct { Atime *string `json:"atime,omitempty"` Aclmode *string `json:"aclmode,omitempty"` Name string `json:"name"` Comments *string `json:"comments,omitempty"` Compression *string `json:"compression,omitempty"` Casesensitivity *string `json:"casesensitivity,omitempty"` Copies *int32 `json:"copies,omitempty"` Deduplication *string `json:"deduplication,omitempty"` Encryption *bool `json:"encryption,omitempty"` EncryptionOptions *CreateDatasetParamsEncryptionOptions `json:"encryption_options,omitempty"` Exec *string `json:"exec,omitempty"` ForceSize *bool `json:"force_size,omitempty"` InheritEncryption *bool `json:"inherit_encryption,omitempty"` Quota *int64 `json:"quota,omitempty"` QuotaCritical *int64 `json:"quota_critical,omitempty"` QuotaWarning *int64 `json:"quota_warning,omitempty"` Volsize *int64 `json:"volsize,omitempty"` Volblocksize *string `json:"volblocksize,omitempty"` Readonly *string `json:"readonly,omitempty"` Recordsize *string `json:"recordsize,omitempty"` Refquota *int64 `json:"refquota,omitempty"` RefquotaCritical *int64 `json:"refquota_critical,omitempty"` RefquotaWarning *int64 `json:"refquota_warning,omitempty"` Refreservation *int64 `json:"refreservation,omitempty"` Reservation *int64 `json:"reservation,omitempty"` Snapdir *string `json:"snapdir,omitempty"` Sync *string `json:"sync,omitempty"` Type *string `json:"type,omitempty"` AdditionalProperties map[string]interface{} }
CreateDatasetParams struct for CreateDatasetParams
func NewCreateDatasetParams ¶
func NewCreateDatasetParams(name string) *CreateDatasetParams
NewCreateDatasetParams instantiates a new CreateDatasetParams 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
func NewCreateDatasetParamsWithDefaults ¶
func NewCreateDatasetParamsWithDefaults() *CreateDatasetParams
NewCreateDatasetParamsWithDefaults instantiates a new CreateDatasetParams 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
func (*CreateDatasetParams) GetAclmode ¶
func (o *CreateDatasetParams) GetAclmode() string
GetAclmode returns the Aclmode field value if set, zero value otherwise.
func (*CreateDatasetParams) GetAclmodeOk ¶
func (o *CreateDatasetParams) GetAclmodeOk() (*string, bool)
GetAclmodeOk returns a tuple with the Aclmode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetAtime ¶
func (o *CreateDatasetParams) GetAtime() string
GetAtime returns the Atime field value if set, zero value otherwise.
func (*CreateDatasetParams) GetAtimeOk ¶
func (o *CreateDatasetParams) GetAtimeOk() (*string, bool)
GetAtimeOk returns a tuple with the Atime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetCasesensitivity ¶
func (o *CreateDatasetParams) GetCasesensitivity() string
GetCasesensitivity returns the Casesensitivity field value if set, zero value otherwise.
func (*CreateDatasetParams) GetCasesensitivityOk ¶
func (o *CreateDatasetParams) GetCasesensitivityOk() (*string, bool)
GetCasesensitivityOk returns a tuple with the Casesensitivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetComments ¶
func (o *CreateDatasetParams) GetComments() string
GetComments returns the Comments field value if set, zero value otherwise.
func (*CreateDatasetParams) GetCommentsOk ¶
func (o *CreateDatasetParams) GetCommentsOk() (*string, bool)
GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetCompression ¶
func (o *CreateDatasetParams) GetCompression() string
GetCompression returns the Compression field value if set, zero value otherwise.
func (*CreateDatasetParams) GetCompressionOk ¶
func (o *CreateDatasetParams) GetCompressionOk() (*string, bool)
GetCompressionOk returns a tuple with the Compression field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetCopies ¶
func (o *CreateDatasetParams) GetCopies() int32
GetCopies returns the Copies field value if set, zero value otherwise.
func (*CreateDatasetParams) GetCopiesOk ¶
func (o *CreateDatasetParams) GetCopiesOk() (*int32, bool)
GetCopiesOk returns a tuple with the Copies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetDeduplication ¶
func (o *CreateDatasetParams) GetDeduplication() string
GetDeduplication returns the Deduplication field value if set, zero value otherwise.
func (*CreateDatasetParams) GetDeduplicationOk ¶
func (o *CreateDatasetParams) GetDeduplicationOk() (*string, bool)
GetDeduplicationOk returns a tuple with the Deduplication field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetEncryption ¶
func (o *CreateDatasetParams) GetEncryption() bool
GetEncryption returns the Encryption field value if set, zero value otherwise.
func (*CreateDatasetParams) GetEncryptionOk ¶
func (o *CreateDatasetParams) GetEncryptionOk() (*bool, bool)
GetEncryptionOk returns a tuple with the Encryption field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetEncryptionOptions ¶
func (o *CreateDatasetParams) GetEncryptionOptions() CreateDatasetParamsEncryptionOptions
GetEncryptionOptions returns the EncryptionOptions field value if set, zero value otherwise.
func (*CreateDatasetParams) GetEncryptionOptionsOk ¶
func (o *CreateDatasetParams) GetEncryptionOptionsOk() (*CreateDatasetParamsEncryptionOptions, bool)
GetEncryptionOptionsOk returns a tuple with the EncryptionOptions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetExec ¶
func (o *CreateDatasetParams) GetExec() string
GetExec returns the Exec field value if set, zero value otherwise.
func (*CreateDatasetParams) GetExecOk ¶
func (o *CreateDatasetParams) GetExecOk() (*string, bool)
GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetForceSize ¶
func (o *CreateDatasetParams) GetForceSize() bool
GetForceSize returns the ForceSize field value if set, zero value otherwise.
func (*CreateDatasetParams) GetForceSizeOk ¶
func (o *CreateDatasetParams) GetForceSizeOk() (*bool, bool)
GetForceSizeOk returns a tuple with the ForceSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetInheritEncryption ¶
func (o *CreateDatasetParams) GetInheritEncryption() bool
GetInheritEncryption returns the InheritEncryption field value if set, zero value otherwise.
func (*CreateDatasetParams) GetInheritEncryptionOk ¶
func (o *CreateDatasetParams) GetInheritEncryptionOk() (*bool, bool)
GetInheritEncryptionOk returns a tuple with the InheritEncryption field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetName ¶
func (o *CreateDatasetParams) GetName() string
GetName returns the Name field value
func (*CreateDatasetParams) GetNameOk ¶
func (o *CreateDatasetParams) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetQuota ¶
func (o *CreateDatasetParams) GetQuota() int64
GetQuota returns the Quota field value if set, zero value otherwise.
func (*CreateDatasetParams) GetQuotaCritical ¶
func (o *CreateDatasetParams) GetQuotaCritical() int64
GetQuotaCritical returns the QuotaCritical field value if set, zero value otherwise.
func (*CreateDatasetParams) GetQuotaCriticalOk ¶
func (o *CreateDatasetParams) GetQuotaCriticalOk() (*int64, bool)
GetQuotaCriticalOk returns a tuple with the QuotaCritical field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetQuotaOk ¶
func (o *CreateDatasetParams) GetQuotaOk() (*int64, bool)
GetQuotaOk returns a tuple with the Quota field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetQuotaWarning ¶
func (o *CreateDatasetParams) GetQuotaWarning() int64
GetQuotaWarning returns the QuotaWarning field value if set, zero value otherwise.
func (*CreateDatasetParams) GetQuotaWarningOk ¶
func (o *CreateDatasetParams) GetQuotaWarningOk() (*int64, bool)
GetQuotaWarningOk returns a tuple with the QuotaWarning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetReadonly ¶
func (o *CreateDatasetParams) GetReadonly() string
GetReadonly returns the Readonly field value if set, zero value otherwise.
func (*CreateDatasetParams) GetReadonlyOk ¶
func (o *CreateDatasetParams) GetReadonlyOk() (*string, bool)
GetReadonlyOk returns a tuple with the Readonly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetRecordsize ¶
func (o *CreateDatasetParams) GetRecordsize() string
GetRecordsize returns the Recordsize field value if set, zero value otherwise.
func (*CreateDatasetParams) GetRecordsizeOk ¶
func (o *CreateDatasetParams) GetRecordsizeOk() (*string, bool)
GetRecordsizeOk returns a tuple with the Recordsize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetRefquota ¶
func (o *CreateDatasetParams) GetRefquota() int64
GetRefquota returns the Refquota field value if set, zero value otherwise.
func (*CreateDatasetParams) GetRefquotaCritical ¶
func (o *CreateDatasetParams) GetRefquotaCritical() int64
GetRefquotaCritical returns the RefquotaCritical field value if set, zero value otherwise.
func (*CreateDatasetParams) GetRefquotaCriticalOk ¶
func (o *CreateDatasetParams) GetRefquotaCriticalOk() (*int64, bool)
GetRefquotaCriticalOk returns a tuple with the RefquotaCritical field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetRefquotaOk ¶
func (o *CreateDatasetParams) GetRefquotaOk() (*int64, bool)
GetRefquotaOk returns a tuple with the Refquota field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetRefquotaWarning ¶
func (o *CreateDatasetParams) GetRefquotaWarning() int64
GetRefquotaWarning returns the RefquotaWarning field value if set, zero value otherwise.
func (*CreateDatasetParams) GetRefquotaWarningOk ¶
func (o *CreateDatasetParams) GetRefquotaWarningOk() (*int64, bool)
GetRefquotaWarningOk returns a tuple with the RefquotaWarning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetRefreservation ¶
func (o *CreateDatasetParams) GetRefreservation() int64
GetRefreservation returns the Refreservation field value if set, zero value otherwise.
func (*CreateDatasetParams) GetRefreservationOk ¶
func (o *CreateDatasetParams) GetRefreservationOk() (*int64, bool)
GetRefreservationOk returns a tuple with the Refreservation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetReservation ¶
func (o *CreateDatasetParams) GetReservation() int64
GetReservation returns the Reservation field value if set, zero value otherwise.
func (*CreateDatasetParams) GetReservationOk ¶
func (o *CreateDatasetParams) GetReservationOk() (*int64, bool)
GetReservationOk returns a tuple with the Reservation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetShareType ¶
func (o *CreateDatasetParams) GetShareType() string
GetShareType returns the ShareType field value if set, zero value otherwise.
func (*CreateDatasetParams) GetShareTypeOk ¶
func (o *CreateDatasetParams) GetShareTypeOk() (*string, bool)
GetShareTypeOk returns a tuple with the ShareType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetSnapdir ¶
func (o *CreateDatasetParams) GetSnapdir() string
GetSnapdir returns the Snapdir field value if set, zero value otherwise.
func (*CreateDatasetParams) GetSnapdirOk ¶
func (o *CreateDatasetParams) GetSnapdirOk() (*string, bool)
GetSnapdirOk returns a tuple with the Snapdir field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetSync ¶
func (o *CreateDatasetParams) GetSync() string
GetSync returns the Sync field value if set, zero value otherwise.
func (*CreateDatasetParams) GetSyncOk ¶
func (o *CreateDatasetParams) GetSyncOk() (*string, bool)
GetSyncOk returns a tuple with the Sync field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetType ¶
func (o *CreateDatasetParams) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*CreateDatasetParams) GetTypeOk ¶
func (o *CreateDatasetParams) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetVolblocksize ¶
func (o *CreateDatasetParams) GetVolblocksize() string
GetVolblocksize returns the Volblocksize field value if set, zero value otherwise.
func (*CreateDatasetParams) GetVolblocksizeOk ¶
func (o *CreateDatasetParams) GetVolblocksizeOk() (*string, bool)
GetVolblocksizeOk returns a tuple with the Volblocksize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) GetVolsize ¶
func (o *CreateDatasetParams) GetVolsize() int64
GetVolsize returns the Volsize field value if set, zero value otherwise.
func (*CreateDatasetParams) GetVolsizeOk ¶
func (o *CreateDatasetParams) GetVolsizeOk() (*int64, bool)
GetVolsizeOk returns a tuple with the Volsize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParams) HasAclmode ¶
func (o *CreateDatasetParams) HasAclmode() bool
HasAclmode returns a boolean if a field has been set.
func (*CreateDatasetParams) HasAtime ¶
func (o *CreateDatasetParams) HasAtime() bool
HasAtime returns a boolean if a field has been set.
func (*CreateDatasetParams) HasCasesensitivity ¶
func (o *CreateDatasetParams) HasCasesensitivity() bool
HasCasesensitivity returns a boolean if a field has been set.
func (*CreateDatasetParams) HasComments ¶
func (o *CreateDatasetParams) HasComments() bool
HasComments returns a boolean if a field has been set.
func (*CreateDatasetParams) HasCompression ¶
func (o *CreateDatasetParams) HasCompression() bool
HasCompression returns a boolean if a field has been set.
func (*CreateDatasetParams) HasCopies ¶
func (o *CreateDatasetParams) HasCopies() bool
HasCopies returns a boolean if a field has been set.
func (*CreateDatasetParams) HasDeduplication ¶
func (o *CreateDatasetParams) HasDeduplication() bool
HasDeduplication returns a boolean if a field has been set.
func (*CreateDatasetParams) HasEncryption ¶
func (o *CreateDatasetParams) HasEncryption() bool
HasEncryption returns a boolean if a field has been set.
func (*CreateDatasetParams) HasEncryptionOptions ¶
func (o *CreateDatasetParams) HasEncryptionOptions() bool
HasEncryptionOptions returns a boolean if a field has been set.
func (*CreateDatasetParams) HasExec ¶
func (o *CreateDatasetParams) HasExec() bool
HasExec returns a boolean if a field has been set.
func (*CreateDatasetParams) HasForceSize ¶
func (o *CreateDatasetParams) HasForceSize() bool
HasForceSize returns a boolean if a field has been set.
func (*CreateDatasetParams) HasInheritEncryption ¶
func (o *CreateDatasetParams) HasInheritEncryption() bool
HasInheritEncryption returns a boolean if a field has been set.
func (*CreateDatasetParams) HasQuota ¶
func (o *CreateDatasetParams) HasQuota() bool
HasQuota returns a boolean if a field has been set.
func (*CreateDatasetParams) HasQuotaCritical ¶
func (o *CreateDatasetParams) HasQuotaCritical() bool
HasQuotaCritical returns a boolean if a field has been set.
func (*CreateDatasetParams) HasQuotaWarning ¶
func (o *CreateDatasetParams) HasQuotaWarning() bool
HasQuotaWarning returns a boolean if a field has been set.
func (*CreateDatasetParams) HasReadonly ¶
func (o *CreateDatasetParams) HasReadonly() bool
HasReadonly returns a boolean if a field has been set.
func (*CreateDatasetParams) HasRecordsize ¶
func (o *CreateDatasetParams) HasRecordsize() bool
HasRecordsize returns a boolean if a field has been set.
func (*CreateDatasetParams) HasRefquota ¶
func (o *CreateDatasetParams) HasRefquota() bool
HasRefquota returns a boolean if a field has been set.
func (*CreateDatasetParams) HasRefquotaCritical ¶
func (o *CreateDatasetParams) HasRefquotaCritical() bool
HasRefquotaCritical returns a boolean if a field has been set.
func (*CreateDatasetParams) HasRefquotaWarning ¶
func (o *CreateDatasetParams) HasRefquotaWarning() bool
HasRefquotaWarning returns a boolean if a field has been set.
func (*CreateDatasetParams) HasRefreservation ¶
func (o *CreateDatasetParams) HasRefreservation() bool
HasRefreservation returns a boolean if a field has been set.
func (*CreateDatasetParams) HasReservation ¶
func (o *CreateDatasetParams) HasReservation() bool
HasReservation returns a boolean if a field has been set.
func (*CreateDatasetParams) HasShareType ¶
func (o *CreateDatasetParams) HasShareType() bool
HasShareType returns a boolean if a field has been set.
func (*CreateDatasetParams) HasSnapdir ¶
func (o *CreateDatasetParams) HasSnapdir() bool
HasSnapdir returns a boolean if a field has been set.
func (*CreateDatasetParams) HasSync ¶
func (o *CreateDatasetParams) HasSync() bool
HasSync returns a boolean if a field has been set.
func (*CreateDatasetParams) HasType ¶
func (o *CreateDatasetParams) HasType() bool
HasType returns a boolean if a field has been set.
func (*CreateDatasetParams) HasVolblocksize ¶
func (o *CreateDatasetParams) HasVolblocksize() bool
HasVolblocksize returns a boolean if a field has been set.
func (*CreateDatasetParams) HasVolsize ¶
func (o *CreateDatasetParams) HasVolsize() bool
HasVolsize returns a boolean if a field has been set.
func (CreateDatasetParams) MarshalJSON ¶
func (o CreateDatasetParams) MarshalJSON() ([]byte, error)
func (*CreateDatasetParams) SetAclmode ¶
func (o *CreateDatasetParams) SetAclmode(v string)
SetAclmode gets a reference to the given string and assigns it to the Aclmode field.
func (*CreateDatasetParams) SetAtime ¶
func (o *CreateDatasetParams) SetAtime(v string)
SetAtime gets a reference to the given string and assigns it to the Atime field.
func (*CreateDatasetParams) SetCasesensitivity ¶
func (o *CreateDatasetParams) SetCasesensitivity(v string)
SetCasesensitivity gets a reference to the given string and assigns it to the Casesensitivity field.
func (*CreateDatasetParams) SetComments ¶
func (o *CreateDatasetParams) SetComments(v string)
SetComments gets a reference to the given string and assigns it to the Comments field.
func (*CreateDatasetParams) SetCompression ¶
func (o *CreateDatasetParams) SetCompression(v string)
SetCompression gets a reference to the given string and assigns it to the Compression field.
func (*CreateDatasetParams) SetCopies ¶
func (o *CreateDatasetParams) SetCopies(v int32)
SetCopies gets a reference to the given int32 and assigns it to the Copies field.
func (*CreateDatasetParams) SetDeduplication ¶
func (o *CreateDatasetParams) SetDeduplication(v string)
SetDeduplication gets a reference to the given string and assigns it to the Deduplication field.
func (*CreateDatasetParams) SetEncryption ¶
func (o *CreateDatasetParams) SetEncryption(v bool)
SetEncryption gets a reference to the given bool and assigns it to the Encryption field.
func (*CreateDatasetParams) SetEncryptionOptions ¶
func (o *CreateDatasetParams) SetEncryptionOptions(v CreateDatasetParamsEncryptionOptions)
SetEncryptionOptions gets a reference to the given CreateDatasetParamsEncryptionOptions and assigns it to the EncryptionOptions field.
func (*CreateDatasetParams) SetExec ¶
func (o *CreateDatasetParams) SetExec(v string)
SetExec gets a reference to the given string and assigns it to the Exec field.
func (*CreateDatasetParams) SetForceSize ¶
func (o *CreateDatasetParams) SetForceSize(v bool)
SetForceSize gets a reference to the given bool and assigns it to the ForceSize field.
func (*CreateDatasetParams) SetInheritEncryption ¶
func (o *CreateDatasetParams) SetInheritEncryption(v bool)
SetInheritEncryption gets a reference to the given bool and assigns it to the InheritEncryption field.
func (*CreateDatasetParams) SetName ¶
func (o *CreateDatasetParams) SetName(v string)
SetName sets field value
func (*CreateDatasetParams) SetQuota ¶
func (o *CreateDatasetParams) SetQuota(v int64)
SetQuota gets a reference to the given int64 and assigns it to the Quota field.
func (*CreateDatasetParams) SetQuotaCritical ¶
func (o *CreateDatasetParams) SetQuotaCritical(v int64)
SetQuotaCritical gets a reference to the given int64 and assigns it to the QuotaCritical field.
func (*CreateDatasetParams) SetQuotaWarning ¶
func (o *CreateDatasetParams) SetQuotaWarning(v int64)
SetQuotaWarning gets a reference to the given int64 and assigns it to the QuotaWarning field.
func (*CreateDatasetParams) SetReadonly ¶
func (o *CreateDatasetParams) SetReadonly(v string)
SetReadonly gets a reference to the given string and assigns it to the Readonly field.
func (*CreateDatasetParams) SetRecordsize ¶
func (o *CreateDatasetParams) SetRecordsize(v string)
SetRecordsize gets a reference to the given string and assigns it to the Recordsize field.
func (*CreateDatasetParams) SetRefquota ¶
func (o *CreateDatasetParams) SetRefquota(v int64)
SetRefquota gets a reference to the given int64 and assigns it to the Refquota field.
func (*CreateDatasetParams) SetRefquotaCritical ¶
func (o *CreateDatasetParams) SetRefquotaCritical(v int64)
SetRefquotaCritical gets a reference to the given int64 and assigns it to the RefquotaCritical field.
func (*CreateDatasetParams) SetRefquotaWarning ¶
func (o *CreateDatasetParams) SetRefquotaWarning(v int64)
SetRefquotaWarning gets a reference to the given int64 and assigns it to the RefquotaWarning field.
func (*CreateDatasetParams) SetRefreservation ¶
func (o *CreateDatasetParams) SetRefreservation(v int64)
SetRefreservation gets a reference to the given int64 and assigns it to the Refreservation field.
func (*CreateDatasetParams) SetReservation ¶
func (o *CreateDatasetParams) SetReservation(v int64)
SetReservation gets a reference to the given int64 and assigns it to the Reservation field.
func (*CreateDatasetParams) SetShareType ¶
func (o *CreateDatasetParams) SetShareType(v string)
SetShareType gets a reference to the given string and assigns it to the ShareType field.
func (*CreateDatasetParams) SetSnapdir ¶
func (o *CreateDatasetParams) SetSnapdir(v string)
SetSnapdir gets a reference to the given string and assigns it to the Snapdir field.
func (*CreateDatasetParams) SetSync ¶
func (o *CreateDatasetParams) SetSync(v string)
SetSync gets a reference to the given string and assigns it to the Sync field.
func (*CreateDatasetParams) SetType ¶
func (o *CreateDatasetParams) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*CreateDatasetParams) SetVolblocksize ¶
func (o *CreateDatasetParams) SetVolblocksize(v string)
SetVolblocksize gets a reference to the given string and assigns it to the Volblocksize field.
func (*CreateDatasetParams) SetVolsize ¶
func (o *CreateDatasetParams) SetVolsize(v int64)
SetVolsize gets a reference to the given int64 and assigns it to the Volsize field.
func (*CreateDatasetParams) UnmarshalJSON ¶
func (o *CreateDatasetParams) UnmarshalJSON(bytes []byte) (err error)
type CreateDatasetParamsEncryptionOptions ¶
type CreateDatasetParamsEncryptionOptions struct { Algorithm *string `json:"algorithm,omitempty"` GenerateKey *bool `json:"generate_key,omitempty"` Passphrase *string `json:"passphrase,omitempty"` Key *string `json:"key,omitempty"` AdditionalProperties map[string]interface{} }
CreateDatasetParamsEncryptionOptions struct for CreateDatasetParamsEncryptionOptions
func NewCreateDatasetParamsEncryptionOptions ¶
func NewCreateDatasetParamsEncryptionOptions() *CreateDatasetParamsEncryptionOptions
NewCreateDatasetParamsEncryptionOptions instantiates a new CreateDatasetParamsEncryptionOptions 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
func NewCreateDatasetParamsEncryptionOptionsWithDefaults ¶
func NewCreateDatasetParamsEncryptionOptionsWithDefaults() *CreateDatasetParamsEncryptionOptions
NewCreateDatasetParamsEncryptionOptionsWithDefaults instantiates a new CreateDatasetParamsEncryptionOptions 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
func (*CreateDatasetParamsEncryptionOptions) GetAlgorithm ¶
func (o *CreateDatasetParamsEncryptionOptions) GetAlgorithm() string
GetAlgorithm returns the Algorithm field value if set, zero value otherwise.
func (*CreateDatasetParamsEncryptionOptions) GetAlgorithmOk ¶
func (o *CreateDatasetParamsEncryptionOptions) GetAlgorithmOk() (*string, bool)
GetAlgorithmOk returns a tuple with the Algorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParamsEncryptionOptions) GetGenerateKey ¶
func (o *CreateDatasetParamsEncryptionOptions) GetGenerateKey() bool
GetGenerateKey returns the GenerateKey field value if set, zero value otherwise.
func (*CreateDatasetParamsEncryptionOptions) GetGenerateKeyOk ¶
func (o *CreateDatasetParamsEncryptionOptions) GetGenerateKeyOk() (*bool, bool)
GetGenerateKeyOk returns a tuple with the GenerateKey field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParamsEncryptionOptions) GetKey ¶
func (o *CreateDatasetParamsEncryptionOptions) GetKey() string
GetKey returns the Key field value if set, zero value otherwise.
func (*CreateDatasetParamsEncryptionOptions) GetKeyOk ¶
func (o *CreateDatasetParamsEncryptionOptions) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParamsEncryptionOptions) GetPassphrase ¶
func (o *CreateDatasetParamsEncryptionOptions) GetPassphrase() string
GetPassphrase returns the Passphrase field value if set, zero value otherwise.
func (*CreateDatasetParamsEncryptionOptions) GetPassphraseOk ¶
func (o *CreateDatasetParamsEncryptionOptions) GetPassphraseOk() (*string, bool)
GetPassphraseOk returns a tuple with the Passphrase field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateDatasetParamsEncryptionOptions) HasAlgorithm ¶
func (o *CreateDatasetParamsEncryptionOptions) HasAlgorithm() bool
HasAlgorithm returns a boolean if a field has been set.
func (*CreateDatasetParamsEncryptionOptions) HasGenerateKey ¶
func (o *CreateDatasetParamsEncryptionOptions) HasGenerateKey() bool
HasGenerateKey returns a boolean if a field has been set.
func (*CreateDatasetParamsEncryptionOptions) HasKey ¶
func (o *CreateDatasetParamsEncryptionOptions) HasKey() bool
HasKey returns a boolean if a field has been set.
func (*CreateDatasetParamsEncryptionOptions) HasPassphrase ¶
func (o *CreateDatasetParamsEncryptionOptions) HasPassphrase() bool
HasPassphrase returns a boolean if a field has been set.
func (CreateDatasetParamsEncryptionOptions) MarshalJSON ¶
func (o CreateDatasetParamsEncryptionOptions) MarshalJSON() ([]byte, error)
func (*CreateDatasetParamsEncryptionOptions) SetAlgorithm ¶
func (o *CreateDatasetParamsEncryptionOptions) SetAlgorithm(v string)
SetAlgorithm gets a reference to the given string and assigns it to the Algorithm field.
func (*CreateDatasetParamsEncryptionOptions) SetGenerateKey ¶
func (o *CreateDatasetParamsEncryptionOptions) SetGenerateKey(v bool)
SetGenerateKey gets a reference to the given bool and assigns it to the GenerateKey field.
func (*CreateDatasetParamsEncryptionOptions) SetKey ¶
func (o *CreateDatasetParamsEncryptionOptions) SetKey(v string)
SetKey gets a reference to the given string and assigns it to the Key field.
func (*CreateDatasetParamsEncryptionOptions) SetPassphrase ¶
func (o *CreateDatasetParamsEncryptionOptions) SetPassphrase(v string)
SetPassphrase gets a reference to the given string and assigns it to the Passphrase field.
func (*CreateDatasetParamsEncryptionOptions) UnmarshalJSON ¶
func (o *CreateDatasetParamsEncryptionOptions) UnmarshalJSON(bytes []byte) (err error)
type CreateGroupParams ¶
type CreateGroupParams struct { Gid *int32 `json:"gid,omitempty"` Name string `json:"name"` Smb *bool `json:"smb,omitempty"` Sudo *bool `json:"sudo,omitempty"` SudoNopasswd *bool `json:"sudo_nopasswd,omitempty"` SudoCommands []string `json:"sudo_commands,omitempty"` AllowDuplicateGid *bool `json:"allow_duplicate_gid,omitempty"` Users []int32 `json:"users,omitempty"` AdditionalProperties map[string]interface{} }
CreateGroupParams struct for CreateGroupParams
func NewCreateGroupParams ¶
func NewCreateGroupParams(name string) *CreateGroupParams
NewCreateGroupParams instantiates a new CreateGroupParams 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
func NewCreateGroupParamsWithDefaults ¶
func NewCreateGroupParamsWithDefaults() *CreateGroupParams
NewCreateGroupParamsWithDefaults instantiates a new CreateGroupParams 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
func (*CreateGroupParams) GetAllowDuplicateGid ¶
func (o *CreateGroupParams) GetAllowDuplicateGid() bool
GetAllowDuplicateGid returns the AllowDuplicateGid field value if set, zero value otherwise.
func (*CreateGroupParams) GetAllowDuplicateGidOk ¶
func (o *CreateGroupParams) GetAllowDuplicateGidOk() (*bool, bool)
GetAllowDuplicateGidOk returns a tuple with the AllowDuplicateGid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupParams) GetGid ¶
func (o *CreateGroupParams) GetGid() int32
GetGid returns the Gid field value if set, zero value otherwise.
func (*CreateGroupParams) GetGidOk ¶
func (o *CreateGroupParams) GetGidOk() (*int32, bool)
GetGidOk returns a tuple with the Gid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupParams) GetName ¶
func (o *CreateGroupParams) GetName() string
GetName returns the Name field value
func (*CreateGroupParams) GetNameOk ¶
func (o *CreateGroupParams) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*CreateGroupParams) GetSmb ¶
func (o *CreateGroupParams) GetSmb() bool
GetSmb returns the Smb field value if set, zero value otherwise.
func (*CreateGroupParams) GetSmbOk ¶
func (o *CreateGroupParams) GetSmbOk() (*bool, bool)
GetSmbOk returns a tuple with the Smb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupParams) GetSudo ¶
func (o *CreateGroupParams) GetSudo() bool
GetSudo returns the Sudo field value if set, zero value otherwise.
func (*CreateGroupParams) GetSudoCommands ¶
func (o *CreateGroupParams) GetSudoCommands() []string
GetSudoCommands returns the SudoCommands field value if set, zero value otherwise.
func (*CreateGroupParams) GetSudoCommandsOk ¶
func (o *CreateGroupParams) GetSudoCommandsOk() ([]string, bool)
GetSudoCommandsOk returns a tuple with the SudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupParams) GetSudoNopasswd ¶
func (o *CreateGroupParams) GetSudoNopasswd() bool
GetSudoNopasswd returns the SudoNopasswd field value if set, zero value otherwise.
func (*CreateGroupParams) GetSudoNopasswdOk ¶
func (o *CreateGroupParams) GetSudoNopasswdOk() (*bool, bool)
GetSudoNopasswdOk returns a tuple with the SudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupParams) GetSudoOk ¶
func (o *CreateGroupParams) GetSudoOk() (*bool, bool)
GetSudoOk returns a tuple with the Sudo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupParams) GetUsers ¶
func (o *CreateGroupParams) GetUsers() []int32
GetUsers returns the Users field value if set, zero value otherwise.
func (*CreateGroupParams) GetUsersOk ¶
func (o *CreateGroupParams) GetUsersOk() ([]int32, bool)
GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateGroupParams) HasAllowDuplicateGid ¶
func (o *CreateGroupParams) HasAllowDuplicateGid() bool
HasAllowDuplicateGid returns a boolean if a field has been set.
func (*CreateGroupParams) HasGid ¶
func (o *CreateGroupParams) HasGid() bool
HasGid returns a boolean if a field has been set.
func (*CreateGroupParams) HasSmb ¶
func (o *CreateGroupParams) HasSmb() bool
HasSmb returns a boolean if a field has been set.
func (*CreateGroupParams) HasSudo ¶
func (o *CreateGroupParams) HasSudo() bool
HasSudo returns a boolean if a field has been set.
func (*CreateGroupParams) HasSudoCommands ¶
func (o *CreateGroupParams) HasSudoCommands() bool
HasSudoCommands returns a boolean if a field has been set.
func (*CreateGroupParams) HasSudoNopasswd ¶
func (o *CreateGroupParams) HasSudoNopasswd() bool
HasSudoNopasswd returns a boolean if a field has been set.
func (*CreateGroupParams) HasUsers ¶
func (o *CreateGroupParams) HasUsers() bool
HasUsers returns a boolean if a field has been set.
func (CreateGroupParams) MarshalJSON ¶
func (o CreateGroupParams) MarshalJSON() ([]byte, error)
func (*CreateGroupParams) SetAllowDuplicateGid ¶
func (o *CreateGroupParams) SetAllowDuplicateGid(v bool)
SetAllowDuplicateGid gets a reference to the given bool and assigns it to the AllowDuplicateGid field.
func (*CreateGroupParams) SetGid ¶
func (o *CreateGroupParams) SetGid(v int32)
SetGid gets a reference to the given int32 and assigns it to the Gid field.
func (*CreateGroupParams) SetName ¶
func (o *CreateGroupParams) SetName(v string)
SetName sets field value
func (*CreateGroupParams) SetSmb ¶
func (o *CreateGroupParams) SetSmb(v bool)
SetSmb gets a reference to the given bool and assigns it to the Smb field.
func (*CreateGroupParams) SetSudo ¶
func (o *CreateGroupParams) SetSudo(v bool)
SetSudo gets a reference to the given bool and assigns it to the Sudo field.
func (*CreateGroupParams) SetSudoCommands ¶
func (o *CreateGroupParams) SetSudoCommands(v []string)
SetSudoCommands gets a reference to the given []string and assigns it to the SudoCommands field.
func (*CreateGroupParams) SetSudoNopasswd ¶
func (o *CreateGroupParams) SetSudoNopasswd(v bool)
SetSudoNopasswd gets a reference to the given bool and assigns it to the SudoNopasswd field.
func (*CreateGroupParams) SetUsers ¶
func (o *CreateGroupParams) SetUsers(v []int32)
SetUsers gets a reference to the given []int32 and assigns it to the Users field.
func (*CreateGroupParams) UnmarshalJSON ¶
func (o *CreateGroupParams) UnmarshalJSON(bytes []byte) (err error)
type CreateShareNFSParams ¶
type CreateShareNFSParams struct {}
CreateShareNFSParams struct for CreateShareNFSParams
func NewCreateShareNFSParams ¶
func NewCreateShareNFSParams(paths []string) *CreateShareNFSParams
NewCreateShareNFSParams instantiates a new CreateShareNFSParams 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
func NewCreateShareNFSParamsWithDefaults ¶
func NewCreateShareNFSParamsWithDefaults() *CreateShareNFSParams
NewCreateShareNFSParamsWithDefaults instantiates a new CreateShareNFSParams 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
func (*CreateShareNFSParams) GetAlldirs ¶
func (o *CreateShareNFSParams) GetAlldirs() bool
GetAlldirs returns the Alldirs field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetAlldirsOk ¶
func (o *CreateShareNFSParams) GetAlldirsOk() (*bool, bool)
GetAlldirsOk returns a tuple with the Alldirs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetComment ¶
func (o *CreateShareNFSParams) GetComment() string
GetComment returns the Comment field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetCommentOk ¶
func (o *CreateShareNFSParams) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetEnabled ¶
func (o *CreateShareNFSParams) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetEnabledOk ¶
func (o *CreateShareNFSParams) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetHosts ¶
func (o *CreateShareNFSParams) GetHosts() []string
GetHosts returns the Hosts field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetHostsOk ¶
func (o *CreateShareNFSParams) GetHostsOk() ([]string, bool)
GetHostsOk returns a tuple with the Hosts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetMapallGroup ¶
func (o *CreateShareNFSParams) GetMapallGroup() string
GetMapallGroup returns the MapallGroup field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetMapallGroupOk ¶
func (o *CreateShareNFSParams) GetMapallGroupOk() (*string, bool)
GetMapallGroupOk returns a tuple with the MapallGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetMapallUser ¶
func (o *CreateShareNFSParams) GetMapallUser() string
GetMapallUser returns the MapallUser field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetMapallUserOk ¶
func (o *CreateShareNFSParams) GetMapallUserOk() (*string, bool)
GetMapallUserOk returns a tuple with the MapallUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetMaprootGroup ¶
func (o *CreateShareNFSParams) GetMaprootGroup() string
GetMaprootGroup returns the MaprootGroup field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetMaprootGroupOk ¶
func (o *CreateShareNFSParams) GetMaprootGroupOk() (*string, bool)
GetMaprootGroupOk returns a tuple with the MaprootGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetMaprootUser ¶
func (o *CreateShareNFSParams) GetMaprootUser() string
GetMaprootUser returns the MaprootUser field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetMaprootUserOk ¶
func (o *CreateShareNFSParams) GetMaprootUserOk() (*string, bool)
GetMaprootUserOk returns a tuple with the MaprootUser field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetNetworks ¶
func (o *CreateShareNFSParams) GetNetworks() []string
GetNetworks returns the Networks field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetNetworksOk ¶
func (o *CreateShareNFSParams) GetNetworksOk() ([]string, bool)
GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetPaths ¶
func (o *CreateShareNFSParams) GetPaths() []string
GetPaths returns the Paths field value
func (*CreateShareNFSParams) GetPathsOk ¶
func (o *CreateShareNFSParams) GetPathsOk() ([]string, bool)
GetPathsOk returns a tuple with the Paths field value and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetQuiet ¶
func (o *CreateShareNFSParams) GetQuiet() bool
GetQuiet returns the Quiet field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetQuietOk ¶
func (o *CreateShareNFSParams) GetQuietOk() (*bool, bool)
GetQuietOk returns a tuple with the Quiet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetRo ¶
func (o *CreateShareNFSParams) GetRo() bool
GetRo returns the Ro field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetRoOk ¶
func (o *CreateShareNFSParams) GetRoOk() (*bool, bool)
GetRoOk returns a tuple with the Ro field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) GetSecurity ¶
func (o *CreateShareNFSParams) GetSecurity() []string
GetSecurity returns the Security field value if set, zero value otherwise.
func (*CreateShareNFSParams) GetSecurityOk ¶
func (o *CreateShareNFSParams) GetSecurityOk() ([]string, bool)
GetSecurityOk returns a tuple with the Security field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareNFSParams) HasAlldirs ¶
func (o *CreateShareNFSParams) HasAlldirs() bool
HasAlldirs returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasComment ¶
func (o *CreateShareNFSParams) HasComment() bool
HasComment returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasEnabled ¶
func (o *CreateShareNFSParams) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasHosts ¶
func (o *CreateShareNFSParams) HasHosts() bool
HasHosts returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasMapallGroup ¶
func (o *CreateShareNFSParams) HasMapallGroup() bool
HasMapallGroup returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasMapallUser ¶
func (o *CreateShareNFSParams) HasMapallUser() bool
HasMapallUser returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasMaprootGroup ¶
func (o *CreateShareNFSParams) HasMaprootGroup() bool
HasMaprootGroup returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasMaprootUser ¶
func (o *CreateShareNFSParams) HasMaprootUser() bool
HasMaprootUser returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasNetworks ¶
func (o *CreateShareNFSParams) HasNetworks() bool
HasNetworks returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasQuiet ¶
func (o *CreateShareNFSParams) HasQuiet() bool
HasQuiet returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasRo ¶
func (o *CreateShareNFSParams) HasRo() bool
HasRo returns a boolean if a field has been set.
func (*CreateShareNFSParams) HasSecurity ¶
func (o *CreateShareNFSParams) HasSecurity() bool
HasSecurity returns a boolean if a field has been set.
func (CreateShareNFSParams) MarshalJSON ¶
func (o CreateShareNFSParams) MarshalJSON() ([]byte, error)
func (*CreateShareNFSParams) SetAlldirs ¶
func (o *CreateShareNFSParams) SetAlldirs(v bool)
SetAlldirs gets a reference to the given bool and assigns it to the Alldirs field.
func (*CreateShareNFSParams) SetComment ¶
func (o *CreateShareNFSParams) SetComment(v string)
SetComment gets a reference to the given string and assigns it to the Comment field.
func (*CreateShareNFSParams) SetEnabled ¶
func (o *CreateShareNFSParams) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*CreateShareNFSParams) SetHosts ¶
func (o *CreateShareNFSParams) SetHosts(v []string)
SetHosts gets a reference to the given []string and assigns it to the Hosts field.
func (*CreateShareNFSParams) SetMapallGroup ¶
func (o *CreateShareNFSParams) SetMapallGroup(v string)
SetMapallGroup gets a reference to the given string and assigns it to the MapallGroup field.
func (*CreateShareNFSParams) SetMapallUser ¶
func (o *CreateShareNFSParams) SetMapallUser(v string)
SetMapallUser gets a reference to the given string and assigns it to the MapallUser field.
func (*CreateShareNFSParams) SetMaprootGroup ¶
func (o *CreateShareNFSParams) SetMaprootGroup(v string)
SetMaprootGroup gets a reference to the given string and assigns it to the MaprootGroup field.
func (*CreateShareNFSParams) SetMaprootUser ¶
func (o *CreateShareNFSParams) SetMaprootUser(v string)
SetMaprootUser gets a reference to the given string and assigns it to the MaprootUser field.
func (*CreateShareNFSParams) SetNetworks ¶
func (o *CreateShareNFSParams) SetNetworks(v []string)
SetNetworks gets a reference to the given []string and assigns it to the Networks field.
func (*CreateShareNFSParams) SetPaths ¶
func (o *CreateShareNFSParams) SetPaths(v []string)
SetPaths sets field value
func (*CreateShareNFSParams) SetQuiet ¶
func (o *CreateShareNFSParams) SetQuiet(v bool)
SetQuiet gets a reference to the given bool and assigns it to the Quiet field.
func (*CreateShareNFSParams) SetRo ¶
func (o *CreateShareNFSParams) SetRo(v bool)
SetRo gets a reference to the given bool and assigns it to the Ro field.
func (*CreateShareNFSParams) SetSecurity ¶
func (o *CreateShareNFSParams) SetSecurity(v []string)
SetSecurity gets a reference to the given []string and assigns it to the Security field.
func (*CreateShareNFSParams) UnmarshalJSON ¶
func (o *CreateShareNFSParams) UnmarshalJSON(bytes []byte) (err error)
type CreateShareSMBParams ¶
type CreateShareSMBParams struct {}
CreateShareSMBParams struct for CreateShareSMBParams
func NewCreateShareSMBParams ¶
func NewCreateShareSMBParams(path string) *CreateShareSMBParams
NewCreateShareSMBParams instantiates a new CreateShareSMBParams 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
func NewCreateShareSMBParamsWithDefaults ¶
func NewCreateShareSMBParamsWithDefaults() *CreateShareSMBParams
NewCreateShareSMBParamsWithDefaults instantiates a new CreateShareSMBParams 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
func (*CreateShareSMBParams) GetAaplNameMangling ¶
func (o *CreateShareSMBParams) GetAaplNameMangling() bool
GetAaplNameMangling returns the AaplNameMangling field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetAaplNameManglingOk ¶
func (o *CreateShareSMBParams) GetAaplNameManglingOk() (*bool, bool)
GetAaplNameManglingOk returns a tuple with the AaplNameMangling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetAbe ¶
func (o *CreateShareSMBParams) GetAbe() bool
GetAbe returns the Abe field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetAbeOk ¶
func (o *CreateShareSMBParams) GetAbeOk() (*bool, bool)
GetAbeOk returns a tuple with the Abe field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetAcl ¶
func (o *CreateShareSMBParams) GetAcl() bool
GetAcl returns the Acl field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetAclOk ¶
func (o *CreateShareSMBParams) GetAclOk() (*bool, bool)
GetAclOk returns a tuple with the Acl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetAuxsmbconf ¶
func (o *CreateShareSMBParams) GetAuxsmbconf() string
GetAuxsmbconf returns the Auxsmbconf field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetAuxsmbconfOk ¶
func (o *CreateShareSMBParams) GetAuxsmbconfOk() (*string, bool)
GetAuxsmbconfOk returns a tuple with the Auxsmbconf field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetBrowsable ¶
func (o *CreateShareSMBParams) GetBrowsable() bool
GetBrowsable returns the Browsable field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetBrowsableOk ¶
func (o *CreateShareSMBParams) GetBrowsableOk() (*bool, bool)
GetBrowsableOk returns a tuple with the Browsable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetComment ¶
func (o *CreateShareSMBParams) GetComment() string
GetComment returns the Comment field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetCommentOk ¶
func (o *CreateShareSMBParams) GetCommentOk() (*string, bool)
GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetDurablehandle ¶
func (o *CreateShareSMBParams) GetDurablehandle() bool
GetDurablehandle returns the Durablehandle field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetDurablehandleOk ¶
func (o *CreateShareSMBParams) GetDurablehandleOk() (*bool, bool)
GetDurablehandleOk returns a tuple with the Durablehandle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetEnabled ¶
func (o *CreateShareSMBParams) GetEnabled() bool
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetEnabledOk ¶
func (o *CreateShareSMBParams) GetEnabledOk() (*bool, bool)
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetFsrvp ¶
func (o *CreateShareSMBParams) GetFsrvp() bool
GetFsrvp returns the Fsrvp field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetFsrvpOk ¶
func (o *CreateShareSMBParams) GetFsrvpOk() (*bool, bool)
GetFsrvpOk returns a tuple with the Fsrvp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetGuestok ¶
func (o *CreateShareSMBParams) GetGuestok() bool
GetGuestok returns the Guestok field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetGuestokOk ¶
func (o *CreateShareSMBParams) GetGuestokOk() (*bool, bool)
GetGuestokOk returns a tuple with the Guestok field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetHome ¶
func (o *CreateShareSMBParams) GetHome() bool
GetHome returns the Home field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetHomeOk ¶
func (o *CreateShareSMBParams) GetHomeOk() (*bool, bool)
GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetHostsallow ¶
func (o *CreateShareSMBParams) GetHostsallow() []string
GetHostsallow returns the Hostsallow field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetHostsallowOk ¶
func (o *CreateShareSMBParams) GetHostsallowOk() ([]string, bool)
GetHostsallowOk returns a tuple with the Hostsallow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetHostsdeny ¶
func (o *CreateShareSMBParams) GetHostsdeny() []string
GetHostsdeny returns the Hostsdeny field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetHostsdenyOk ¶
func (o *CreateShareSMBParams) GetHostsdenyOk() ([]string, bool)
GetHostsdenyOk returns a tuple with the Hostsdeny field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetName ¶
func (o *CreateShareSMBParams) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetNameOk ¶
func (o *CreateShareSMBParams) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetPath ¶
func (o *CreateShareSMBParams) GetPath() string
GetPath returns the Path field value
func (*CreateShareSMBParams) GetPathOk ¶
func (o *CreateShareSMBParams) GetPathOk() (*string, bool)
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetPathSuffix ¶
func (o *CreateShareSMBParams) GetPathSuffix() string
GetPathSuffix returns the PathSuffix field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetPathSuffixOk ¶
func (o *CreateShareSMBParams) GetPathSuffixOk() (*string, bool)
GetPathSuffixOk returns a tuple with the PathSuffix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetPurpose ¶
func (o *CreateShareSMBParams) GetPurpose() string
GetPurpose returns the Purpose field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetPurposeOk ¶
func (o *CreateShareSMBParams) GetPurposeOk() (*string, bool)
GetPurposeOk returns a tuple with the Purpose field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetRecyclebin ¶
func (o *CreateShareSMBParams) GetRecyclebin() bool
GetRecyclebin returns the Recyclebin field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetRecyclebinOk ¶
func (o *CreateShareSMBParams) GetRecyclebinOk() (*bool, bool)
GetRecyclebinOk returns a tuple with the Recyclebin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetRo ¶
func (o *CreateShareSMBParams) GetRo() bool
GetRo returns the Ro field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetRoOk ¶
func (o *CreateShareSMBParams) GetRoOk() (*bool, bool)
GetRoOk returns a tuple with the Ro field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetShadowcopy ¶
func (o *CreateShareSMBParams) GetShadowcopy() bool
GetShadowcopy returns the Shadowcopy field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetShadowcopyOk ¶
func (o *CreateShareSMBParams) GetShadowcopyOk() (*bool, bool)
GetShadowcopyOk returns a tuple with the Shadowcopy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetStreams ¶
func (o *CreateShareSMBParams) GetStreams() bool
GetStreams returns the Streams field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetStreamsOk ¶
func (o *CreateShareSMBParams) GetStreamsOk() (*bool, bool)
GetStreamsOk returns a tuple with the Streams field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) GetTimemachine ¶
func (o *CreateShareSMBParams) GetTimemachine() bool
GetTimemachine returns the Timemachine field value if set, zero value otherwise.
func (*CreateShareSMBParams) GetTimemachineOk ¶
func (o *CreateShareSMBParams) GetTimemachineOk() (*bool, bool)
GetTimemachineOk returns a tuple with the Timemachine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateShareSMBParams) HasAaplNameMangling ¶
func (o *CreateShareSMBParams) HasAaplNameMangling() bool
HasAaplNameMangling returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasAbe ¶
func (o *CreateShareSMBParams) HasAbe() bool
HasAbe returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasAcl ¶
func (o *CreateShareSMBParams) HasAcl() bool
HasAcl returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasAuxsmbconf ¶
func (o *CreateShareSMBParams) HasAuxsmbconf() bool
HasAuxsmbconf returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasBrowsable ¶
func (o *CreateShareSMBParams) HasBrowsable() bool
HasBrowsable returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasComment ¶
func (o *CreateShareSMBParams) HasComment() bool
HasComment returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasDurablehandle ¶
func (o *CreateShareSMBParams) HasDurablehandle() bool
HasDurablehandle returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasEnabled ¶
func (o *CreateShareSMBParams) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasFsrvp ¶
func (o *CreateShareSMBParams) HasFsrvp() bool
HasFsrvp returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasGuestok ¶
func (o *CreateShareSMBParams) HasGuestok() bool
HasGuestok returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasHome ¶
func (o *CreateShareSMBParams) HasHome() bool
HasHome returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasHostsallow ¶
func (o *CreateShareSMBParams) HasHostsallow() bool
HasHostsallow returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasHostsdeny ¶
func (o *CreateShareSMBParams) HasHostsdeny() bool
HasHostsdeny returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasName ¶
func (o *CreateShareSMBParams) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasPathSuffix ¶
func (o *CreateShareSMBParams) HasPathSuffix() bool
HasPathSuffix returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasPurpose ¶
func (o *CreateShareSMBParams) HasPurpose() bool
HasPurpose returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasRecyclebin ¶
func (o *CreateShareSMBParams) HasRecyclebin() bool
HasRecyclebin returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasRo ¶
func (o *CreateShareSMBParams) HasRo() bool
HasRo returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasShadowcopy ¶
func (o *CreateShareSMBParams) HasShadowcopy() bool
HasShadowcopy returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasStreams ¶
func (o *CreateShareSMBParams) HasStreams() bool
HasStreams returns a boolean if a field has been set.
func (*CreateShareSMBParams) HasTimemachine ¶
func (o *CreateShareSMBParams) HasTimemachine() bool
HasTimemachine returns a boolean if a field has been set.
func (CreateShareSMBParams) MarshalJSON ¶
func (o CreateShareSMBParams) MarshalJSON() ([]byte, error)
func (*CreateShareSMBParams) SetAaplNameMangling ¶
func (o *CreateShareSMBParams) SetAaplNameMangling(v bool)
SetAaplNameMangling gets a reference to the given bool and assigns it to the AaplNameMangling field.
func (*CreateShareSMBParams) SetAbe ¶
func (o *CreateShareSMBParams) SetAbe(v bool)
SetAbe gets a reference to the given bool and assigns it to the Abe field.
func (*CreateShareSMBParams) SetAcl ¶
func (o *CreateShareSMBParams) SetAcl(v bool)
SetAcl gets a reference to the given bool and assigns it to the Acl field.
func (*CreateShareSMBParams) SetAuxsmbconf ¶
func (o *CreateShareSMBParams) SetAuxsmbconf(v string)
SetAuxsmbconf gets a reference to the given string and assigns it to the Auxsmbconf field.
func (*CreateShareSMBParams) SetBrowsable ¶
func (o *CreateShareSMBParams) SetBrowsable(v bool)
SetBrowsable gets a reference to the given bool and assigns it to the Browsable field.
func (*CreateShareSMBParams) SetComment ¶
func (o *CreateShareSMBParams) SetComment(v string)
SetComment gets a reference to the given string and assigns it to the Comment field.
func (*CreateShareSMBParams) SetDurablehandle ¶
func (o *CreateShareSMBParams) SetDurablehandle(v bool)
SetDurablehandle gets a reference to the given bool and assigns it to the Durablehandle field.
func (*CreateShareSMBParams) SetEnabled ¶
func (o *CreateShareSMBParams) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*CreateShareSMBParams) SetFsrvp ¶
func (o *CreateShareSMBParams) SetFsrvp(v bool)
SetFsrvp gets a reference to the given bool and assigns it to the Fsrvp field.
func (*CreateShareSMBParams) SetGuestok ¶
func (o *CreateShareSMBParams) SetGuestok(v bool)
SetGuestok gets a reference to the given bool and assigns it to the Guestok field.
func (*CreateShareSMBParams) SetHome ¶
func (o *CreateShareSMBParams) SetHome(v bool)
SetHome gets a reference to the given bool and assigns it to the Home field.
func (*CreateShareSMBParams) SetHostsallow ¶
func (o *CreateShareSMBParams) SetHostsallow(v []string)
SetHostsallow gets a reference to the given []string and assigns it to the Hostsallow field.
func (*CreateShareSMBParams) SetHostsdeny ¶
func (o *CreateShareSMBParams) SetHostsdeny(v []string)
SetHostsdeny gets a reference to the given []string and assigns it to the Hostsdeny field.
func (*CreateShareSMBParams) SetName ¶
func (o *CreateShareSMBParams) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateShareSMBParams) SetPath ¶
func (o *CreateShareSMBParams) SetPath(v string)
SetPath sets field value
func (*CreateShareSMBParams) SetPathSuffix ¶
func (o *CreateShareSMBParams) SetPathSuffix(v string)
SetPathSuffix gets a reference to the given string and assigns it to the PathSuffix field.
func (*CreateShareSMBParams) SetPurpose ¶
func (o *CreateShareSMBParams) SetPurpose(v string)
SetPurpose gets a reference to the given string and assigns it to the Purpose field.
func (*CreateShareSMBParams) SetRecyclebin ¶
func (o *CreateShareSMBParams) SetRecyclebin(v bool)
SetRecyclebin gets a reference to the given bool and assigns it to the Recyclebin field.
func (*CreateShareSMBParams) SetRo ¶
func (o *CreateShareSMBParams) SetRo(v bool)
SetRo gets a reference to the given bool and assigns it to the Ro field.
func (*CreateShareSMBParams) SetShadowcopy ¶
func (o *CreateShareSMBParams) SetShadowcopy(v bool)
SetShadowcopy gets a reference to the given bool and assigns it to the Shadowcopy field.
func (*CreateShareSMBParams) SetStreams ¶
func (o *CreateShareSMBParams) SetStreams(v bool)
SetStreams gets a reference to the given bool and assigns it to the Streams field.
func (*CreateShareSMBParams) SetTimemachine ¶
func (o *CreateShareSMBParams) SetTimemachine(v bool)
SetTimemachine gets a reference to the given bool and assigns it to the Timemachine field.
func (*CreateShareSMBParams) UnmarshalJSON ¶
func (o *CreateShareSMBParams) UnmarshalJSON(bytes []byte) (err error)
type CreateUserParams ¶
type CreateUserParams struct { Uid *int32 `json:"uid,omitempty"` Username string `json:"username"` Group *int32 `json:"group,omitempty"` GroupCreate *bool `json:"group_create,omitempty"` Home *string `json:"home,omitempty"` HomeMode *string `json:"home_mode,omitempty"` Shell *string `json:"shell,omitempty"` FullName string `json:"full_name"` Email NullableString `json:"email,omitempty"` Password *string `json:"password,omitempty"` PasswordDisabled *bool `json:"password_disabled,omitempty"` Locked *bool `json:"locked,omitempty"` MicrosoftAccount *bool `json:"microsoft_account,omitempty"` Smb *bool `json:"smb,omitempty"` Sudo *bool `json:"sudo,omitempty"` SudoNopasswd *bool `json:"sudo_nopasswd,omitempty"` SudoCommands []string `json:"sudo_commands,omitempty"` Sshpubkey NullableString `json:"sshpubkey,omitempty"` Groups []int32 `json:"groups,omitempty"` Attributes map[string]interface{} `json:"attributes,omitempty"` AdditionalProperties map[string]interface{} }
CreateUserParams struct for CreateUserParams
func NewCreateUserParams ¶
func NewCreateUserParams(username string, fullName string) *CreateUserParams
NewCreateUserParams instantiates a new CreateUserParams 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
func NewCreateUserParamsWithDefaults ¶
func NewCreateUserParamsWithDefaults() *CreateUserParams
NewCreateUserParamsWithDefaults instantiates a new CreateUserParams 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
func (*CreateUserParams) GetAttributes ¶
func (o *CreateUserParams) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*CreateUserParams) GetAttributesOk ¶
func (o *CreateUserParams) GetAttributesOk() (map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetEmail ¶
func (o *CreateUserParams) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateUserParams) GetEmailOk ¶
func (o *CreateUserParams) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateUserParams) GetFullName ¶
func (o *CreateUserParams) GetFullName() string
GetFullName returns the FullName field value
func (*CreateUserParams) GetFullNameOk ¶
func (o *CreateUserParams) GetFullNameOk() (*string, bool)
GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.
func (*CreateUserParams) GetGroup ¶
func (o *CreateUserParams) GetGroup() int32
GetGroup returns the Group field value if set, zero value otherwise.
func (*CreateUserParams) GetGroupCreate ¶
func (o *CreateUserParams) GetGroupCreate() bool
GetGroupCreate returns the GroupCreate field value if set, zero value otherwise.
func (*CreateUserParams) GetGroupCreateOk ¶
func (o *CreateUserParams) GetGroupCreateOk() (*bool, bool)
GetGroupCreateOk returns a tuple with the GroupCreate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetGroupOk ¶
func (o *CreateUserParams) GetGroupOk() (*int32, bool)
GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetGroups ¶
func (o *CreateUserParams) GetGroups() []int32
GetGroups returns the Groups field value if set, zero value otherwise.
func (*CreateUserParams) GetGroupsOk ¶
func (o *CreateUserParams) GetGroupsOk() ([]int32, bool)
GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetHome ¶
func (o *CreateUserParams) GetHome() string
GetHome returns the Home field value if set, zero value otherwise.
func (*CreateUserParams) GetHomeMode ¶
func (o *CreateUserParams) GetHomeMode() string
GetHomeMode returns the HomeMode field value if set, zero value otherwise.
func (*CreateUserParams) GetHomeModeOk ¶
func (o *CreateUserParams) GetHomeModeOk() (*string, bool)
GetHomeModeOk returns a tuple with the HomeMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetHomeOk ¶
func (o *CreateUserParams) GetHomeOk() (*string, bool)
GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetLocked ¶
func (o *CreateUserParams) GetLocked() bool
GetLocked returns the Locked field value if set, zero value otherwise.
func (*CreateUserParams) GetLockedOk ¶
func (o *CreateUserParams) GetLockedOk() (*bool, bool)
GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetMicrosoftAccount ¶
func (o *CreateUserParams) GetMicrosoftAccount() bool
GetMicrosoftAccount returns the MicrosoftAccount field value if set, zero value otherwise.
func (*CreateUserParams) GetMicrosoftAccountOk ¶
func (o *CreateUserParams) GetMicrosoftAccountOk() (*bool, bool)
GetMicrosoftAccountOk returns a tuple with the MicrosoftAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetPassword ¶
func (o *CreateUserParams) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*CreateUserParams) GetPasswordDisabled ¶
func (o *CreateUserParams) GetPasswordDisabled() bool
GetPasswordDisabled returns the PasswordDisabled field value if set, zero value otherwise.
func (*CreateUserParams) GetPasswordDisabledOk ¶
func (o *CreateUserParams) GetPasswordDisabledOk() (*bool, bool)
GetPasswordDisabledOk returns a tuple with the PasswordDisabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetPasswordOk ¶
func (o *CreateUserParams) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetShell ¶
func (o *CreateUserParams) GetShell() string
GetShell returns the Shell field value if set, zero value otherwise.
func (*CreateUserParams) GetShellOk ¶
func (o *CreateUserParams) GetShellOk() (*string, bool)
GetShellOk returns a tuple with the Shell field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetSmb ¶
func (o *CreateUserParams) GetSmb() bool
GetSmb returns the Smb field value if set, zero value otherwise.
func (*CreateUserParams) GetSmbOk ¶
func (o *CreateUserParams) GetSmbOk() (*bool, bool)
GetSmbOk returns a tuple with the Smb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetSshpubkey ¶
func (o *CreateUserParams) GetSshpubkey() string
GetSshpubkey returns the Sshpubkey field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateUserParams) GetSshpubkeyOk ¶
func (o *CreateUserParams) GetSshpubkeyOk() (*string, bool)
GetSshpubkeyOk returns a tuple with the Sshpubkey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateUserParams) GetSudo ¶
func (o *CreateUserParams) GetSudo() bool
GetSudo returns the Sudo field value if set, zero value otherwise.
func (*CreateUserParams) GetSudoCommands ¶
func (o *CreateUserParams) GetSudoCommands() []string
GetSudoCommands returns the SudoCommands field value if set, zero value otherwise.
func (*CreateUserParams) GetSudoCommandsOk ¶
func (o *CreateUserParams) GetSudoCommandsOk() ([]string, bool)
GetSudoCommandsOk returns a tuple with the SudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetSudoNopasswd ¶
func (o *CreateUserParams) GetSudoNopasswd() bool
GetSudoNopasswd returns the SudoNopasswd field value if set, zero value otherwise.
func (*CreateUserParams) GetSudoNopasswdOk ¶
func (o *CreateUserParams) GetSudoNopasswdOk() (*bool, bool)
GetSudoNopasswdOk returns a tuple with the SudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetSudoOk ¶
func (o *CreateUserParams) GetSudoOk() (*bool, bool)
GetSudoOk returns a tuple with the Sudo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetUid ¶
func (o *CreateUserParams) GetUid() int32
GetUid returns the Uid field value if set, zero value otherwise.
func (*CreateUserParams) GetUidOk ¶
func (o *CreateUserParams) GetUidOk() (*int32, bool)
GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateUserParams) GetUsername ¶
func (o *CreateUserParams) GetUsername() string
GetUsername returns the Username field value
func (*CreateUserParams) GetUsernameOk ¶
func (o *CreateUserParams) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*CreateUserParams) HasAttributes ¶
func (o *CreateUserParams) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*CreateUserParams) HasEmail ¶
func (o *CreateUserParams) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*CreateUserParams) HasGroup ¶
func (o *CreateUserParams) HasGroup() bool
HasGroup returns a boolean if a field has been set.
func (*CreateUserParams) HasGroupCreate ¶
func (o *CreateUserParams) HasGroupCreate() bool
HasGroupCreate returns a boolean if a field has been set.
func (*CreateUserParams) HasGroups ¶
func (o *CreateUserParams) HasGroups() bool
HasGroups returns a boolean if a field has been set.
func (*CreateUserParams) HasHome ¶
func (o *CreateUserParams) HasHome() bool
HasHome returns a boolean if a field has been set.
func (*CreateUserParams) HasHomeMode ¶
func (o *CreateUserParams) HasHomeMode() bool
HasHomeMode returns a boolean if a field has been set.
func (*CreateUserParams) HasLocked ¶
func (o *CreateUserParams) HasLocked() bool
HasLocked returns a boolean if a field has been set.
func (*CreateUserParams) HasMicrosoftAccount ¶
func (o *CreateUserParams) HasMicrosoftAccount() bool
HasMicrosoftAccount returns a boolean if a field has been set.
func (*CreateUserParams) HasPassword ¶
func (o *CreateUserParams) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*CreateUserParams) HasPasswordDisabled ¶
func (o *CreateUserParams) HasPasswordDisabled() bool
HasPasswordDisabled returns a boolean if a field has been set.
func (*CreateUserParams) HasShell ¶
func (o *CreateUserParams) HasShell() bool
HasShell returns a boolean if a field has been set.
func (*CreateUserParams) HasSmb ¶
func (o *CreateUserParams) HasSmb() bool
HasSmb returns a boolean if a field has been set.
func (*CreateUserParams) HasSshpubkey ¶
func (o *CreateUserParams) HasSshpubkey() bool
HasSshpubkey returns a boolean if a field has been set.
func (*CreateUserParams) HasSudo ¶
func (o *CreateUserParams) HasSudo() bool
HasSudo returns a boolean if a field has been set.
func (*CreateUserParams) HasSudoCommands ¶
func (o *CreateUserParams) HasSudoCommands() bool
HasSudoCommands returns a boolean if a field has been set.
func (*CreateUserParams) HasSudoNopasswd ¶
func (o *CreateUserParams) HasSudoNopasswd() bool
HasSudoNopasswd returns a boolean if a field has been set.
func (*CreateUserParams) HasUid ¶
func (o *CreateUserParams) HasUid() bool
HasUid returns a boolean if a field has been set.
func (CreateUserParams) MarshalJSON ¶
func (o CreateUserParams) MarshalJSON() ([]byte, error)
func (*CreateUserParams) SetAttributes ¶
func (o *CreateUserParams) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (*CreateUserParams) SetEmail ¶
func (o *CreateUserParams) SetEmail(v string)
SetEmail gets a reference to the given NullableString and assigns it to the Email field.
func (*CreateUserParams) SetEmailNil ¶
func (o *CreateUserParams) SetEmailNil()
SetEmailNil sets the value for Email to be an explicit nil
func (*CreateUserParams) SetFullName ¶
func (o *CreateUserParams) SetFullName(v string)
SetFullName sets field value
func (*CreateUserParams) SetGroup ¶
func (o *CreateUserParams) SetGroup(v int32)
SetGroup gets a reference to the given int32 and assigns it to the Group field.
func (*CreateUserParams) SetGroupCreate ¶
func (o *CreateUserParams) SetGroupCreate(v bool)
SetGroupCreate gets a reference to the given bool and assigns it to the GroupCreate field.
func (*CreateUserParams) SetGroups ¶
func (o *CreateUserParams) SetGroups(v []int32)
SetGroups gets a reference to the given []int32 and assigns it to the Groups field.
func (*CreateUserParams) SetHome ¶
func (o *CreateUserParams) SetHome(v string)
SetHome gets a reference to the given string and assigns it to the Home field.
func (*CreateUserParams) SetHomeMode ¶
func (o *CreateUserParams) SetHomeMode(v string)
SetHomeMode gets a reference to the given string and assigns it to the HomeMode field.
func (*CreateUserParams) SetLocked ¶
func (o *CreateUserParams) SetLocked(v bool)
SetLocked gets a reference to the given bool and assigns it to the Locked field.
func (*CreateUserParams) SetMicrosoftAccount ¶
func (o *CreateUserParams) SetMicrosoftAccount(v bool)
SetMicrosoftAccount gets a reference to the given bool and assigns it to the MicrosoftAccount field.
func (*CreateUserParams) SetPassword ¶
func (o *CreateUserParams) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*CreateUserParams) SetPasswordDisabled ¶
func (o *CreateUserParams) SetPasswordDisabled(v bool)
SetPasswordDisabled gets a reference to the given bool and assigns it to the PasswordDisabled field.
func (*CreateUserParams) SetShell ¶
func (o *CreateUserParams) SetShell(v string)
SetShell gets a reference to the given string and assigns it to the Shell field.
func (*CreateUserParams) SetSmb ¶
func (o *CreateUserParams) SetSmb(v bool)
SetSmb gets a reference to the given bool and assigns it to the Smb field.
func (*CreateUserParams) SetSshpubkey ¶
func (o *CreateUserParams) SetSshpubkey(v string)
SetSshpubkey gets a reference to the given NullableString and assigns it to the Sshpubkey field.
func (*CreateUserParams) SetSshpubkeyNil ¶
func (o *CreateUserParams) SetSshpubkeyNil()
SetSshpubkeyNil sets the value for Sshpubkey to be an explicit nil
func (*CreateUserParams) SetSudo ¶
func (o *CreateUserParams) SetSudo(v bool)
SetSudo gets a reference to the given bool and assigns it to the Sudo field.
func (*CreateUserParams) SetSudoCommands ¶
func (o *CreateUserParams) SetSudoCommands(v []string)
SetSudoCommands gets a reference to the given []string and assigns it to the SudoCommands field.
func (*CreateUserParams) SetSudoNopasswd ¶
func (o *CreateUserParams) SetSudoNopasswd(v bool)
SetSudoNopasswd gets a reference to the given bool and assigns it to the SudoNopasswd field.
func (*CreateUserParams) SetUid ¶
func (o *CreateUserParams) SetUid(v int32)
SetUid gets a reference to the given int32 and assigns it to the Uid field.
func (*CreateUserParams) SetUsername ¶
func (o *CreateUserParams) SetUsername(v string)
SetUsername sets field value
func (*CreateUserParams) UnmarshalJSON ¶
func (o *CreateUserParams) UnmarshalJSON(bytes []byte) (err error)
func (*CreateUserParams) UnsetEmail ¶
func (o *CreateUserParams) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
func (*CreateUserParams) UnsetSshpubkey ¶
func (o *CreateUserParams) UnsetSshpubkey()
UnsetSshpubkey ensures that no value is present for Sshpubkey, not even an explicit nil
type CreateVMParams ¶
type CreateVMParams struct { CommandLineArgs *string `json:"command_line_args,omitempty"` CpuMode *string `json:"cpu_mode,omitempty"` CpuModel NullableString `json:"cpu_model,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` // Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core. Vcpus *int32 `json:"vcpus,omitempty"` // Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core. Cores *int32 `json:"cores,omitempty"` // Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core. Threads *int32 `json:"threads,omitempty"` Cpuset NullableString `json:"cpuset,omitempty"` Nodeset NullableString `json:"nodeset,omitempty"` PinVcpus *bool `json:"pin_vcpus,omitempty"` SuspendOnSnapshot *bool `json:"suspend_on_snapshot,omitempty"` Memory *int64 `json:"memory,omitempty"` MinMemory NullableInt64 `json:"min_memory,omitempty"` // `hyperv_enlightenments` can be used to enable subset of predefined Hyper-V enlightenments for Windows guests. These enlightenments improve performance and enable otherwise missing features. HypervEnlightenments *bool `json:"hyperv_enlightenments,omitempty"` Bootloader *string `json:"bootloader,omitempty"` Autostart *bool `json:"autostart,omitempty"` // `hide_from_msr` is a boolean which when set will hide the KVM hypervisor from standard MSR based discovery and is useful to enable when doing GPU passthrough. HideFromMsr *bool `json:"hide_from_msr,omitempty"` // `ensure_display_device` when set ( the default ) will ensure that the guest always has access to a video device. For headless installations like ubuntu server this is required for the guest to operate properly. However for cases where consumer would like to use GPU passthrough and does not want a display device added should set this to `false`. EnsureDisplayDevice *bool `json:"ensure_display_device,omitempty"` Time *string `json:"time,omitempty"` // `shutdown_timeout` indicates the time in seconds the system waits for the VM to cleanly shutdown. During system shutdown, if the VM hasn't exited after a hardware shutdown signal has been sent by the system within `shutdown_timeout` seconds, system initiates poweroff for the VM to stop it. ShutdownTimeout *int32 `json:"shutdown_timeout,omitempty"` // `arch_type` refers to architecture type and can be specified for the guest. By default the value is `null` and system in this case will choose a reasonable default based on host. `machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`. By default the value is `null` and system in this case will choose a reasonable default based on `arch_type` configuration. ArchType NullableString `json:"arch_type,omitempty"` // `machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`. By default the value is `null` and system in this case will choose a reasonable default based on `arch_type` configuration. MachineType NullableString `json:"machine_type,omitempty"` Uuid NullableString `json:"uuid,omitempty"` }
CreateVMParams struct for CreateVMParams
func NewCreateVMParams ¶
func NewCreateVMParams() *CreateVMParams
NewCreateVMParams instantiates a new CreateVMParams 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
func NewCreateVMParamsWithDefaults ¶
func NewCreateVMParamsWithDefaults() *CreateVMParams
NewCreateVMParamsWithDefaults instantiates a new CreateVMParams 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
func (*CreateVMParams) GetArchType ¶
func (o *CreateVMParams) GetArchType() string
GetArchType returns the ArchType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateVMParams) GetArchTypeOk ¶
func (o *CreateVMParams) GetArchTypeOk() (*string, bool)
GetArchTypeOk returns a tuple with the ArchType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateVMParams) GetAutostart ¶
func (o *CreateVMParams) GetAutostart() bool
GetAutostart returns the Autostart field value if set, zero value otherwise.
func (*CreateVMParams) GetAutostartOk ¶
func (o *CreateVMParams) GetAutostartOk() (*bool, bool)
GetAutostartOk returns a tuple with the Autostart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetBootloader ¶
func (o *CreateVMParams) GetBootloader() string
GetBootloader returns the Bootloader field value if set, zero value otherwise.
func (*CreateVMParams) GetBootloaderOk ¶
func (o *CreateVMParams) GetBootloaderOk() (*string, bool)
GetBootloaderOk returns a tuple with the Bootloader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetCommandLineArgs ¶
func (o *CreateVMParams) GetCommandLineArgs() string
GetCommandLineArgs returns the CommandLineArgs field value if set, zero value otherwise.
func (*CreateVMParams) GetCommandLineArgsOk ¶
func (o *CreateVMParams) GetCommandLineArgsOk() (*string, bool)
GetCommandLineArgsOk returns a tuple with the CommandLineArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetCores ¶
func (o *CreateVMParams) GetCores() int32
GetCores returns the Cores field value if set, zero value otherwise.
func (*CreateVMParams) GetCoresOk ¶
func (o *CreateVMParams) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetCpuMode ¶
func (o *CreateVMParams) GetCpuMode() string
GetCpuMode returns the CpuMode field value if set, zero value otherwise.
func (*CreateVMParams) GetCpuModeOk ¶
func (o *CreateVMParams) GetCpuModeOk() (*string, bool)
GetCpuModeOk returns a tuple with the CpuMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetCpuModel ¶
func (o *CreateVMParams) GetCpuModel() string
GetCpuModel returns the CpuModel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateVMParams) GetCpuModelOk ¶
func (o *CreateVMParams) GetCpuModelOk() (*string, bool)
GetCpuModelOk returns a tuple with the CpuModel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateVMParams) GetCpuset ¶
func (o *CreateVMParams) GetCpuset() string
GetCpuset returns the Cpuset field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateVMParams) GetCpusetOk ¶
func (o *CreateVMParams) GetCpusetOk() (*string, bool)
GetCpusetOk returns a tuple with the Cpuset field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateVMParams) GetDescription ¶
func (o *CreateVMParams) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*CreateVMParams) GetDescriptionOk ¶
func (o *CreateVMParams) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetEnsureDisplayDevice ¶
func (o *CreateVMParams) GetEnsureDisplayDevice() bool
GetEnsureDisplayDevice returns the EnsureDisplayDevice field value if set, zero value otherwise.
func (*CreateVMParams) GetEnsureDisplayDeviceOk ¶
func (o *CreateVMParams) GetEnsureDisplayDeviceOk() (*bool, bool)
GetEnsureDisplayDeviceOk returns a tuple with the EnsureDisplayDevice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetHideFromMsr ¶
func (o *CreateVMParams) GetHideFromMsr() bool
GetHideFromMsr returns the HideFromMsr field value if set, zero value otherwise.
func (*CreateVMParams) GetHideFromMsrOk ¶
func (o *CreateVMParams) GetHideFromMsrOk() (*bool, bool)
GetHideFromMsrOk returns a tuple with the HideFromMsr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetHypervEnlightenments ¶
func (o *CreateVMParams) GetHypervEnlightenments() bool
GetHypervEnlightenments returns the HypervEnlightenments field value if set, zero value otherwise.
func (*CreateVMParams) GetHypervEnlightenmentsOk ¶
func (o *CreateVMParams) GetHypervEnlightenmentsOk() (*bool, bool)
GetHypervEnlightenmentsOk returns a tuple with the HypervEnlightenments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetMachineType ¶
func (o *CreateVMParams) GetMachineType() string
GetMachineType returns the MachineType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateVMParams) GetMachineTypeOk ¶
func (o *CreateVMParams) GetMachineTypeOk() (*string, bool)
GetMachineTypeOk returns a tuple with the MachineType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateVMParams) GetMemory ¶
func (o *CreateVMParams) GetMemory() int64
GetMemory returns the Memory field value if set, zero value otherwise.
func (*CreateVMParams) GetMemoryOk ¶
func (o *CreateVMParams) GetMemoryOk() (*int64, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetMinMemory ¶
func (o *CreateVMParams) GetMinMemory() int64
GetMinMemory returns the MinMemory field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateVMParams) GetMinMemoryOk ¶
func (o *CreateVMParams) GetMinMemoryOk() (*int64, bool)
GetMinMemoryOk returns a tuple with the MinMemory field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateVMParams) GetName ¶
func (o *CreateVMParams) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*CreateVMParams) GetNameOk ¶
func (o *CreateVMParams) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetNodeset ¶
func (o *CreateVMParams) GetNodeset() string
GetNodeset returns the Nodeset field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateVMParams) GetNodesetOk ¶
func (o *CreateVMParams) GetNodesetOk() (*string, bool)
GetNodesetOk returns a tuple with the Nodeset field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateVMParams) GetPinVcpus ¶
func (o *CreateVMParams) GetPinVcpus() bool
GetPinVcpus returns the PinVcpus field value if set, zero value otherwise.
func (*CreateVMParams) GetPinVcpusOk ¶
func (o *CreateVMParams) GetPinVcpusOk() (*bool, bool)
GetPinVcpusOk returns a tuple with the PinVcpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetShutdownTimeout ¶
func (o *CreateVMParams) GetShutdownTimeout() int32
GetShutdownTimeout returns the ShutdownTimeout field value if set, zero value otherwise.
func (*CreateVMParams) GetShutdownTimeoutOk ¶
func (o *CreateVMParams) GetShutdownTimeoutOk() (*int32, bool)
GetShutdownTimeoutOk returns a tuple with the ShutdownTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetSuspendOnSnapshot ¶
func (o *CreateVMParams) GetSuspendOnSnapshot() bool
GetSuspendOnSnapshot returns the SuspendOnSnapshot field value if set, zero value otherwise.
func (*CreateVMParams) GetSuspendOnSnapshotOk ¶
func (o *CreateVMParams) GetSuspendOnSnapshotOk() (*bool, bool)
GetSuspendOnSnapshotOk returns a tuple with the SuspendOnSnapshot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetThreads ¶
func (o *CreateVMParams) GetThreads() int32
GetThreads returns the Threads field value if set, zero value otherwise.
func (*CreateVMParams) GetThreadsOk ¶
func (o *CreateVMParams) GetThreadsOk() (*int32, bool)
GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetTime ¶
func (o *CreateVMParams) GetTime() string
GetTime returns the Time field value if set, zero value otherwise.
func (*CreateVMParams) GetTimeOk ¶
func (o *CreateVMParams) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) GetUuid ¶
func (o *CreateVMParams) GetUuid() string
GetUuid returns the Uuid field value if set, zero value otherwise (both if not set or set to explicit null).
func (*CreateVMParams) GetUuidOk ¶
func (o *CreateVMParams) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*CreateVMParams) GetVcpus ¶
func (o *CreateVMParams) GetVcpus() int32
GetVcpus returns the Vcpus field value if set, zero value otherwise.
func (*CreateVMParams) GetVcpusOk ¶
func (o *CreateVMParams) GetVcpusOk() (*int32, bool)
GetVcpusOk returns a tuple with the Vcpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CreateVMParams) HasArchType ¶
func (o *CreateVMParams) HasArchType() bool
HasArchType returns a boolean if a field has been set.
func (*CreateVMParams) HasAutostart ¶
func (o *CreateVMParams) HasAutostart() bool
HasAutostart returns a boolean if a field has been set.
func (*CreateVMParams) HasBootloader ¶
func (o *CreateVMParams) HasBootloader() bool
HasBootloader returns a boolean if a field has been set.
func (*CreateVMParams) HasCommandLineArgs ¶
func (o *CreateVMParams) HasCommandLineArgs() bool
HasCommandLineArgs returns a boolean if a field has been set.
func (*CreateVMParams) HasCores ¶
func (o *CreateVMParams) HasCores() bool
HasCores returns a boolean if a field has been set.
func (*CreateVMParams) HasCpuMode ¶
func (o *CreateVMParams) HasCpuMode() bool
HasCpuMode returns a boolean if a field has been set.
func (*CreateVMParams) HasCpuModel ¶
func (o *CreateVMParams) HasCpuModel() bool
HasCpuModel returns a boolean if a field has been set.
func (*CreateVMParams) HasCpuset ¶
func (o *CreateVMParams) HasCpuset() bool
HasCpuset returns a boolean if a field has been set.
func (*CreateVMParams) HasDescription ¶
func (o *CreateVMParams) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*CreateVMParams) HasEnsureDisplayDevice ¶
func (o *CreateVMParams) HasEnsureDisplayDevice() bool
HasEnsureDisplayDevice returns a boolean if a field has been set.
func (*CreateVMParams) HasHideFromMsr ¶
func (o *CreateVMParams) HasHideFromMsr() bool
HasHideFromMsr returns a boolean if a field has been set.
func (*CreateVMParams) HasHypervEnlightenments ¶
func (o *CreateVMParams) HasHypervEnlightenments() bool
HasHypervEnlightenments returns a boolean if a field has been set.
func (*CreateVMParams) HasMachineType ¶
func (o *CreateVMParams) HasMachineType() bool
HasMachineType returns a boolean if a field has been set.
func (*CreateVMParams) HasMemory ¶
func (o *CreateVMParams) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*CreateVMParams) HasMinMemory ¶
func (o *CreateVMParams) HasMinMemory() bool
HasMinMemory returns a boolean if a field has been set.
func (*CreateVMParams) HasName ¶
func (o *CreateVMParams) HasName() bool
HasName returns a boolean if a field has been set.
func (*CreateVMParams) HasNodeset ¶
func (o *CreateVMParams) HasNodeset() bool
HasNodeset returns a boolean if a field has been set.
func (*CreateVMParams) HasPinVcpus ¶
func (o *CreateVMParams) HasPinVcpus() bool
HasPinVcpus returns a boolean if a field has been set.
func (*CreateVMParams) HasShutdownTimeout ¶
func (o *CreateVMParams) HasShutdownTimeout() bool
HasShutdownTimeout returns a boolean if a field has been set.
func (*CreateVMParams) HasSuspendOnSnapshot ¶
func (o *CreateVMParams) HasSuspendOnSnapshot() bool
HasSuspendOnSnapshot returns a boolean if a field has been set.
func (*CreateVMParams) HasThreads ¶
func (o *CreateVMParams) HasThreads() bool
HasThreads returns a boolean if a field has been set.
func (*CreateVMParams) HasTime ¶
func (o *CreateVMParams) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*CreateVMParams) HasUuid ¶
func (o *CreateVMParams) HasUuid() bool
HasUuid returns a boolean if a field has been set.
func (*CreateVMParams) HasVcpus ¶
func (o *CreateVMParams) HasVcpus() bool
HasVcpus returns a boolean if a field has been set.
func (CreateVMParams) MarshalJSON ¶
func (o CreateVMParams) MarshalJSON() ([]byte, error)
func (*CreateVMParams) SetArchType ¶
func (o *CreateVMParams) SetArchType(v string)
SetArchType gets a reference to the given NullableString and assigns it to the ArchType field.
func (*CreateVMParams) SetArchTypeNil ¶
func (o *CreateVMParams) SetArchTypeNil()
SetArchTypeNil sets the value for ArchType to be an explicit nil
func (*CreateVMParams) SetAutostart ¶
func (o *CreateVMParams) SetAutostart(v bool)
SetAutostart gets a reference to the given bool and assigns it to the Autostart field.
func (*CreateVMParams) SetBootloader ¶
func (o *CreateVMParams) SetBootloader(v string)
SetBootloader gets a reference to the given string and assigns it to the Bootloader field.
func (*CreateVMParams) SetCommandLineArgs ¶
func (o *CreateVMParams) SetCommandLineArgs(v string)
SetCommandLineArgs gets a reference to the given string and assigns it to the CommandLineArgs field.
func (*CreateVMParams) SetCores ¶
func (o *CreateVMParams) SetCores(v int32)
SetCores gets a reference to the given int32 and assigns it to the Cores field.
func (*CreateVMParams) SetCpuMode ¶
func (o *CreateVMParams) SetCpuMode(v string)
SetCpuMode gets a reference to the given string and assigns it to the CpuMode field.
func (*CreateVMParams) SetCpuModel ¶
func (o *CreateVMParams) SetCpuModel(v string)
SetCpuModel gets a reference to the given NullableString and assigns it to the CpuModel field.
func (*CreateVMParams) SetCpuModelNil ¶
func (o *CreateVMParams) SetCpuModelNil()
SetCpuModelNil sets the value for CpuModel to be an explicit nil
func (*CreateVMParams) SetCpuset ¶
func (o *CreateVMParams) SetCpuset(v string)
SetCpuset gets a reference to the given NullableString and assigns it to the Cpuset field.
func (*CreateVMParams) SetCpusetNil ¶
func (o *CreateVMParams) SetCpusetNil()
SetCpusetNil sets the value for Cpuset to be an explicit nil
func (*CreateVMParams) SetDescription ¶
func (o *CreateVMParams) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CreateVMParams) SetEnsureDisplayDevice ¶
func (o *CreateVMParams) SetEnsureDisplayDevice(v bool)
SetEnsureDisplayDevice gets a reference to the given bool and assigns it to the EnsureDisplayDevice field.
func (*CreateVMParams) SetHideFromMsr ¶
func (o *CreateVMParams) SetHideFromMsr(v bool)
SetHideFromMsr gets a reference to the given bool and assigns it to the HideFromMsr field.
func (*CreateVMParams) SetHypervEnlightenments ¶
func (o *CreateVMParams) SetHypervEnlightenments(v bool)
SetHypervEnlightenments gets a reference to the given bool and assigns it to the HypervEnlightenments field.
func (*CreateVMParams) SetMachineType ¶
func (o *CreateVMParams) SetMachineType(v string)
SetMachineType gets a reference to the given NullableString and assigns it to the MachineType field.
func (*CreateVMParams) SetMachineTypeNil ¶
func (o *CreateVMParams) SetMachineTypeNil()
SetMachineTypeNil sets the value for MachineType to be an explicit nil
func (*CreateVMParams) SetMemory ¶
func (o *CreateVMParams) SetMemory(v int64)
SetMemory gets a reference to the given int64 and assigns it to the Memory field.
func (*CreateVMParams) SetMinMemory ¶
func (o *CreateVMParams) SetMinMemory(v int64)
SetMinMemory gets a reference to the given NullableInt64 and assigns it to the MinMemory field.
func (*CreateVMParams) SetMinMemoryNil ¶
func (o *CreateVMParams) SetMinMemoryNil()
SetMinMemoryNil sets the value for MinMemory to be an explicit nil
func (*CreateVMParams) SetName ¶
func (o *CreateVMParams) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*CreateVMParams) SetNodeset ¶
func (o *CreateVMParams) SetNodeset(v string)
SetNodeset gets a reference to the given NullableString and assigns it to the Nodeset field.
func (*CreateVMParams) SetNodesetNil ¶
func (o *CreateVMParams) SetNodesetNil()
SetNodesetNil sets the value for Nodeset to be an explicit nil
func (*CreateVMParams) SetPinVcpus ¶
func (o *CreateVMParams) SetPinVcpus(v bool)
SetPinVcpus gets a reference to the given bool and assigns it to the PinVcpus field.
func (*CreateVMParams) SetShutdownTimeout ¶
func (o *CreateVMParams) SetShutdownTimeout(v int32)
SetShutdownTimeout gets a reference to the given int32 and assigns it to the ShutdownTimeout field.
func (*CreateVMParams) SetSuspendOnSnapshot ¶
func (o *CreateVMParams) SetSuspendOnSnapshot(v bool)
SetSuspendOnSnapshot gets a reference to the given bool and assigns it to the SuspendOnSnapshot field.
func (*CreateVMParams) SetThreads ¶
func (o *CreateVMParams) SetThreads(v int32)
SetThreads gets a reference to the given int32 and assigns it to the Threads field.
func (*CreateVMParams) SetTime ¶
func (o *CreateVMParams) SetTime(v string)
SetTime gets a reference to the given string and assigns it to the Time field.
func (*CreateVMParams) SetUuid ¶
func (o *CreateVMParams) SetUuid(v string)
SetUuid gets a reference to the given NullableString and assigns it to the Uuid field.
func (*CreateVMParams) SetUuidNil ¶
func (o *CreateVMParams) SetUuidNil()
SetUuidNil sets the value for Uuid to be an explicit nil
func (*CreateVMParams) SetVcpus ¶
func (o *CreateVMParams) SetVcpus(v int32)
SetVcpus gets a reference to the given int32 and assigns it to the Vcpus field.
func (*CreateVMParams) UnsetArchType ¶
func (o *CreateVMParams) UnsetArchType()
UnsetArchType ensures that no value is present for ArchType, not even an explicit nil
func (*CreateVMParams) UnsetCpuModel ¶
func (o *CreateVMParams) UnsetCpuModel()
UnsetCpuModel ensures that no value is present for CpuModel, not even an explicit nil
func (*CreateVMParams) UnsetCpuset ¶
func (o *CreateVMParams) UnsetCpuset()
UnsetCpuset ensures that no value is present for Cpuset, not even an explicit nil
func (*CreateVMParams) UnsetMachineType ¶
func (o *CreateVMParams) UnsetMachineType()
UnsetMachineType ensures that no value is present for MachineType, not even an explicit nil
func (*CreateVMParams) UnsetMinMemory ¶
func (o *CreateVMParams) UnsetMinMemory()
UnsetMinMemory ensures that no value is present for MinMemory, not even an explicit nil
func (*CreateVMParams) UnsetNodeset ¶
func (o *CreateVMParams) UnsetNodeset()
UnsetNodeset ensures that no value is present for Nodeset, not even an explicit nil
func (*CreateVMParams) UnsetUuid ¶
func (o *CreateVMParams) UnsetUuid()
UnsetUuid ensures that no value is present for Uuid, not even an explicit nil
type CronJob ¶
type CronJob struct { Id *int32 `json:"id,omitempty"` User *string `json:"user,omitempty"` Command *string `json:"command,omitempty"` Description *string `json:"description,omitempty"` Enabled *bool `json:"enabled,omitempty"` Stdout *bool `json:"stdout,omitempty"` Stderr *bool `json:"stderr,omitempty"` Schedule *CronJobSchedule `json:"schedule,omitempty"` AdditionalProperties map[string]interface{} }
CronJob struct for CronJob
func NewCronJob ¶
func NewCronJob() *CronJob
NewCronJob instantiates a new CronJob 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
func NewCronJobWithDefaults ¶
func NewCronJobWithDefaults() *CronJob
NewCronJobWithDefaults instantiates a new CronJob 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
func (*CronJob) GetCommand ¶
GetCommand returns the Command field value if set, zero value otherwise.
func (*CronJob) GetCommandOk ¶
GetCommandOk returns a tuple with the Command field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJob) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*CronJob) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJob) GetEnabled ¶
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*CronJob) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJob) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJob) GetSchedule ¶
func (o *CronJob) GetSchedule() CronJobSchedule
GetSchedule returns the Schedule field value if set, zero value otherwise.
func (*CronJob) GetScheduleOk ¶
func (o *CronJob) GetScheduleOk() (*CronJobSchedule, bool)
GetScheduleOk returns a tuple with the Schedule field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJob) GetStderrOk ¶
GetStderrOk returns a tuple with the Stderr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJob) GetStdoutOk ¶
GetStdoutOk returns a tuple with the Stdout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJob) GetUserOk ¶
GetUserOk returns a tuple with the User field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJob) HasCommand ¶
HasCommand returns a boolean if a field has been set.
func (*CronJob) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*CronJob) HasEnabled ¶
HasEnabled returns a boolean if a field has been set.
func (*CronJob) HasSchedule ¶
HasSchedule returns a boolean if a field has been set.
func (CronJob) MarshalJSON ¶
func (*CronJob) SetCommand ¶
SetCommand gets a reference to the given string and assigns it to the Command field.
func (*CronJob) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*CronJob) SetEnabled ¶
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*CronJob) SetSchedule ¶
func (o *CronJob) SetSchedule(v CronJobSchedule)
SetSchedule gets a reference to the given CronJobSchedule and assigns it to the Schedule field.
func (*CronJob) SetStderr ¶
SetStderr gets a reference to the given bool and assigns it to the Stderr field.
func (*CronJob) SetStdout ¶
SetStdout gets a reference to the given bool and assigns it to the Stdout field.
func (*CronJob) SetUser ¶
SetUser gets a reference to the given string and assigns it to the User field.
func (*CronJob) UnmarshalJSON ¶
type CronJobSchedule ¶
type CronJobSchedule struct { Minute *string `json:"minute,omitempty"` Hour *string `json:"hour,omitempty"` Dom *string `json:"dom,omitempty"` Month *string `json:"month,omitempty"` Dow *string `json:"dow,omitempty"` AdditionalProperties map[string]interface{} }
CronJobSchedule struct for CronJobSchedule
func NewCronJobSchedule ¶
func NewCronJobSchedule() *CronJobSchedule
NewCronJobSchedule instantiates a new CronJobSchedule 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
func NewCronJobScheduleWithDefaults ¶
func NewCronJobScheduleWithDefaults() *CronJobSchedule
NewCronJobScheduleWithDefaults instantiates a new CronJobSchedule 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
func (*CronJobSchedule) GetDom ¶
func (o *CronJobSchedule) GetDom() string
GetDom returns the Dom field value if set, zero value otherwise.
func (*CronJobSchedule) GetDomOk ¶
func (o *CronJobSchedule) GetDomOk() (*string, bool)
GetDomOk returns a tuple with the Dom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJobSchedule) GetDow ¶
func (o *CronJobSchedule) GetDow() string
GetDow returns the Dow field value if set, zero value otherwise.
func (*CronJobSchedule) GetDowOk ¶
func (o *CronJobSchedule) GetDowOk() (*string, bool)
GetDowOk returns a tuple with the Dow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJobSchedule) GetHour ¶
func (o *CronJobSchedule) GetHour() string
GetHour returns the Hour field value if set, zero value otherwise.
func (*CronJobSchedule) GetHourOk ¶
func (o *CronJobSchedule) GetHourOk() (*string, bool)
GetHourOk returns a tuple with the Hour field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJobSchedule) GetMinute ¶
func (o *CronJobSchedule) GetMinute() string
GetMinute returns the Minute field value if set, zero value otherwise.
func (*CronJobSchedule) GetMinuteOk ¶
func (o *CronJobSchedule) GetMinuteOk() (*string, bool)
GetMinuteOk returns a tuple with the Minute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJobSchedule) GetMonth ¶
func (o *CronJobSchedule) GetMonth() string
GetMonth returns the Month field value if set, zero value otherwise.
func (*CronJobSchedule) GetMonthOk ¶
func (o *CronJobSchedule) GetMonthOk() (*string, bool)
GetMonthOk returns a tuple with the Month field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CronJobSchedule) HasDom ¶
func (o *CronJobSchedule) HasDom() bool
HasDom returns a boolean if a field has been set.
func (*CronJobSchedule) HasDow ¶
func (o *CronJobSchedule) HasDow() bool
HasDow returns a boolean if a field has been set.
func (*CronJobSchedule) HasHour ¶
func (o *CronJobSchedule) HasHour() bool
HasHour returns a boolean if a field has been set.
func (*CronJobSchedule) HasMinute ¶
func (o *CronJobSchedule) HasMinute() bool
HasMinute returns a boolean if a field has been set.
func (*CronJobSchedule) HasMonth ¶
func (o *CronJobSchedule) HasMonth() bool
HasMonth returns a boolean if a field has been set.
func (CronJobSchedule) MarshalJSON ¶
func (o CronJobSchedule) MarshalJSON() ([]byte, error)
func (*CronJobSchedule) SetDom ¶
func (o *CronJobSchedule) SetDom(v string)
SetDom gets a reference to the given string and assigns it to the Dom field.
func (*CronJobSchedule) SetDow ¶
func (o *CronJobSchedule) SetDow(v string)
SetDow gets a reference to the given string and assigns it to the Dow field.
func (*CronJobSchedule) SetHour ¶
func (o *CronJobSchedule) SetHour(v string)
SetHour gets a reference to the given string and assigns it to the Hour field.
func (*CronJobSchedule) SetMinute ¶
func (o *CronJobSchedule) SetMinute(v string)
SetMinute gets a reference to the given string and assigns it to the Minute field.
func (*CronJobSchedule) SetMonth ¶
func (o *CronJobSchedule) SetMonth(v string)
SetMonth gets a reference to the given string and assigns it to the Month field.
func (*CronJobSchedule) UnmarshalJSON ¶
func (o *CronJobSchedule) UnmarshalJSON(bytes []byte) (err error)
type CronjobApiService ¶
type CronjobApiService service
CronjobApiService CronjobApi service
func (*CronjobApiService) CreateCronJob ¶
func (a *CronjobApiService) CreateCronJob(ctx context.Context) ApiCreateCronJobRequest
CreateCronJob Method for CreateCronJob
Create a new cron job. `stderr` and `stdout` are boolean values which if `true`, represent that we would like to suppress standard error / standard output respectively.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateCronJobRequest
func (*CronjobApiService) CreateCronJobExecute ¶
func (a *CronjobApiService) CreateCronJobExecute(r ApiCreateCronJobRequest) (*CronJob, *http.Response, error)
Execute executes the request
@return CronJob
func (*CronjobApiService) DeleteCronJob ¶
func (a *CronjobApiService) DeleteCronJob(ctx context.Context, id int32) ApiDeleteCronJobRequest
DeleteCronJob Method for DeleteCronJob
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id ID of the cronjob @return ApiDeleteCronJobRequest
func (*CronjobApiService) DeleteCronJobExecute ¶
func (a *CronjobApiService) DeleteCronJobExecute(r ApiDeleteCronJobRequest) (*http.Response, error)
Execute executes the request
func (*CronjobApiService) GetCronJob ¶
func (a *CronjobApiService) GetCronJob(ctx context.Context, id int32) ApiGetCronJobRequest
GetCronJob Method for GetCronJob
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id ID of the cronjob @return ApiGetCronJobRequest
func (*CronjobApiService) GetCronJobExecute ¶
func (a *CronjobApiService) GetCronJobExecute(r ApiGetCronJobRequest) (*CronJob, *http.Response, error)
Execute executes the request
@return CronJob
func (*CronjobApiService) UpdateCronJob ¶
func (a *CronjobApiService) UpdateCronJob(ctx context.Context, id int32) ApiUpdateCronJobRequest
UpdateCronJob Method for UpdateCronJob
Update cronjob
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateCronJobRequest
func (*CronjobApiService) UpdateCronJobExecute ¶
func (a *CronjobApiService) UpdateCronJobExecute(r ApiUpdateCronJobRequest) (*CronJob, *http.Response, error)
Execute executes the request
@return CronJob
type Dataset ¶
type Dataset struct { Id string `json:"id"` Name string `json:"name"` Pool string `json:"pool"` Type string `json:"type"` Mountpoint *string `json:"mountpoint,omitempty"` Encrypted *bool `json:"encrypted,omitempty"` EncryptionRoot *string `json:"encryption_root,omitempty"` KeyLoaded *bool `json:"key_loaded,omitempty"` Locked *bool `json:"locked,omitempty"` EncryptionAlgorithm *CompositeValue `json:"encryption_algorithm,omitempty"` Aclmode *CompositeValue `json:"aclmode,omitempty"` Acltype *CompositeValue `json:"acltype,omitempty"` Atime *CompositeValue `json:"atime,omitempty"` Available *CompositeValue `json:"available,omitempty"` Casesensitivity *CompositeValue `json:"casesensitivity,omitempty"` Comments *CompositeValue `json:"comments,omitempty"` Compression *CompositeValue `json:"compression,omitempty"` Deduplication *CompositeValue `json:"deduplication,omitempty"` Exec *CompositeValue `json:"exec,omitempty"` KeyFormat *CompositeValue `json:"key_format,omitempty"` Managedby *CompositeValue `json:"managedby,omitempty"` Copies *CompositeValue `json:"copies,omitempty"` Quota *CompositeValue `json:"quota,omitempty"` QuotaCritical *CompositeValue `json:"quota_critical,omitempty"` QuotaWarning *CompositeValue `json:"quota_warning,omitempty"` Reservation *CompositeValue `json:"reservation,omitempty"` Refreservation *CompositeValue `json:"refreservation,omitempty"` Refquota *CompositeValue `json:"refquota,omitempty"` RefquotaCritical *CompositeValue `json:"refquota_critical,omitempty"` RefquotaWarning *CompositeValue `json:"refquota_warning,omitempty"` Readonly *CompositeValue `json:"readonly,omitempty"` Recordsize *CompositeValue `json:"recordsize,omitempty"` Sync *CompositeValue `json:"sync,omitempty"` Snapdir *CompositeValue `json:"snapdir,omitempty"` Used *CompositeValue `json:"used,omitempty"` Pbkdf2iters *CompositeValue `json:"pbkdf2iters,omitempty"` Origin *CompositeValue `json:"origin,omitempty"` Xattr *CompositeValue `json:"xattr,omitempty"` Volsize *CompositeValue `json:"volsize,omitempty"` Volblocksize *CompositeValue `json:"volblocksize,omitempty"` AdditionalProperties map[string]interface{} }
Dataset struct for Dataset
func NewDataset ¶
NewDataset instantiates a new Dataset 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
func NewDatasetWithDefaults ¶
func NewDatasetWithDefaults() *Dataset
NewDatasetWithDefaults instantiates a new Dataset 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
func (*Dataset) GetAclmode ¶
func (o *Dataset) GetAclmode() CompositeValue
GetAclmode returns the Aclmode field value if set, zero value otherwise.
func (*Dataset) GetAclmodeOk ¶
func (o *Dataset) GetAclmodeOk() (*CompositeValue, bool)
GetAclmodeOk returns a tuple with the Aclmode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetAcltype ¶
func (o *Dataset) GetAcltype() CompositeValue
GetAcltype returns the Acltype field value if set, zero value otherwise.
func (*Dataset) GetAcltypeOk ¶
func (o *Dataset) GetAcltypeOk() (*CompositeValue, bool)
GetAcltypeOk returns a tuple with the Acltype field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetAtime ¶
func (o *Dataset) GetAtime() CompositeValue
GetAtime returns the Atime field value if set, zero value otherwise.
func (*Dataset) GetAtimeOk ¶
func (o *Dataset) GetAtimeOk() (*CompositeValue, bool)
GetAtimeOk returns a tuple with the Atime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetAvailable ¶
func (o *Dataset) GetAvailable() CompositeValue
GetAvailable returns the Available field value if set, zero value otherwise.
func (*Dataset) GetAvailableOk ¶
func (o *Dataset) GetAvailableOk() (*CompositeValue, bool)
GetAvailableOk returns a tuple with the Available field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetCasesensitivity ¶
func (o *Dataset) GetCasesensitivity() CompositeValue
GetCasesensitivity returns the Casesensitivity field value if set, zero value otherwise.
func (*Dataset) GetCasesensitivityOk ¶
func (o *Dataset) GetCasesensitivityOk() (*CompositeValue, bool)
GetCasesensitivityOk returns a tuple with the Casesensitivity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetComments ¶
func (o *Dataset) GetComments() CompositeValue
GetComments returns the Comments field value if set, zero value otherwise.
func (*Dataset) GetCommentsOk ¶
func (o *Dataset) GetCommentsOk() (*CompositeValue, bool)
GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetCompression ¶
func (o *Dataset) GetCompression() CompositeValue
GetCompression returns the Compression field value if set, zero value otherwise.
func (*Dataset) GetCompressionOk ¶
func (o *Dataset) GetCompressionOk() (*CompositeValue, bool)
GetCompressionOk returns a tuple with the Compression field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetCopies ¶
func (o *Dataset) GetCopies() CompositeValue
GetCopies returns the Copies field value if set, zero value otherwise.
func (*Dataset) GetCopiesOk ¶
func (o *Dataset) GetCopiesOk() (*CompositeValue, bool)
GetCopiesOk returns a tuple with the Copies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetDeduplication ¶
func (o *Dataset) GetDeduplication() CompositeValue
GetDeduplication returns the Deduplication field value if set, zero value otherwise.
func (*Dataset) GetDeduplicationOk ¶
func (o *Dataset) GetDeduplicationOk() (*CompositeValue, bool)
GetDeduplicationOk returns a tuple with the Deduplication field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetEncrypted ¶
GetEncrypted returns the Encrypted field value if set, zero value otherwise.
func (*Dataset) GetEncryptedOk ¶
GetEncryptedOk returns a tuple with the Encrypted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetEncryptionAlgorithm ¶
func (o *Dataset) GetEncryptionAlgorithm() CompositeValue
GetEncryptionAlgorithm returns the EncryptionAlgorithm field value if set, zero value otherwise.
func (*Dataset) GetEncryptionAlgorithmOk ¶
func (o *Dataset) GetEncryptionAlgorithmOk() (*CompositeValue, bool)
GetEncryptionAlgorithmOk returns a tuple with the EncryptionAlgorithm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetEncryptionRoot ¶
GetEncryptionRoot returns the EncryptionRoot field value if set, zero value otherwise.
func (*Dataset) GetEncryptionRootOk ¶
GetEncryptionRootOk returns a tuple with the EncryptionRoot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetExec ¶
func (o *Dataset) GetExec() CompositeValue
GetExec returns the Exec field value if set, zero value otherwise.
func (*Dataset) GetExecOk ¶
func (o *Dataset) GetExecOk() (*CompositeValue, bool)
GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Dataset) GetKeyFormat ¶
func (o *Dataset) GetKeyFormat() CompositeValue
GetKeyFormat returns the KeyFormat field value if set, zero value otherwise.
func (*Dataset) GetKeyFormatOk ¶
func (o *Dataset) GetKeyFormatOk() (*CompositeValue, bool)
GetKeyFormatOk returns a tuple with the KeyFormat field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetKeyLoaded ¶
GetKeyLoaded returns the KeyLoaded field value if set, zero value otherwise.
func (*Dataset) GetKeyLoadedOk ¶
GetKeyLoadedOk returns a tuple with the KeyLoaded field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetLockedOk ¶
GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetManagedby ¶
func (o *Dataset) GetManagedby() CompositeValue
GetManagedby returns the Managedby field value if set, zero value otherwise.
func (*Dataset) GetManagedbyOk ¶
func (o *Dataset) GetManagedbyOk() (*CompositeValue, bool)
GetManagedbyOk returns a tuple with the Managedby field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetMountpoint ¶
GetMountpoint returns the Mountpoint field value if set, zero value otherwise.
func (*Dataset) GetMountpointOk ¶
GetMountpointOk returns a tuple with the Mountpoint field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Dataset) GetOrigin ¶
func (o *Dataset) GetOrigin() CompositeValue
GetOrigin returns the Origin field value if set, zero value otherwise.
func (*Dataset) GetOriginOk ¶
func (o *Dataset) GetOriginOk() (*CompositeValue, bool)
GetOriginOk returns a tuple with the Origin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetPbkdf2iters ¶
func (o *Dataset) GetPbkdf2iters() CompositeValue
GetPbkdf2iters returns the Pbkdf2iters field value if set, zero value otherwise.
func (*Dataset) GetPbkdf2itersOk ¶
func (o *Dataset) GetPbkdf2itersOk() (*CompositeValue, bool)
GetPbkdf2itersOk returns a tuple with the Pbkdf2iters field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetPoolOk ¶
GetPoolOk returns a tuple with the Pool field value and a boolean to check if the value has been set.
func (*Dataset) GetQuota ¶
func (o *Dataset) GetQuota() CompositeValue
GetQuota returns the Quota field value if set, zero value otherwise.
func (*Dataset) GetQuotaCritical ¶
func (o *Dataset) GetQuotaCritical() CompositeValue
GetQuotaCritical returns the QuotaCritical field value if set, zero value otherwise.
func (*Dataset) GetQuotaCriticalOk ¶
func (o *Dataset) GetQuotaCriticalOk() (*CompositeValue, bool)
GetQuotaCriticalOk returns a tuple with the QuotaCritical field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetQuotaOk ¶
func (o *Dataset) GetQuotaOk() (*CompositeValue, bool)
GetQuotaOk returns a tuple with the Quota field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetQuotaWarning ¶
func (o *Dataset) GetQuotaWarning() CompositeValue
GetQuotaWarning returns the QuotaWarning field value if set, zero value otherwise.
func (*Dataset) GetQuotaWarningOk ¶
func (o *Dataset) GetQuotaWarningOk() (*CompositeValue, bool)
GetQuotaWarningOk returns a tuple with the QuotaWarning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetReadonly ¶
func (o *Dataset) GetReadonly() CompositeValue
GetReadonly returns the Readonly field value if set, zero value otherwise.
func (*Dataset) GetReadonlyOk ¶
func (o *Dataset) GetReadonlyOk() (*CompositeValue, bool)
GetReadonlyOk returns a tuple with the Readonly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetRecordsize ¶
func (o *Dataset) GetRecordsize() CompositeValue
GetRecordsize returns the Recordsize field value if set, zero value otherwise.
func (*Dataset) GetRecordsizeOk ¶
func (o *Dataset) GetRecordsizeOk() (*CompositeValue, bool)
GetRecordsizeOk returns a tuple with the Recordsize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetRefquota ¶
func (o *Dataset) GetRefquota() CompositeValue
GetRefquota returns the Refquota field value if set, zero value otherwise.
func (*Dataset) GetRefquotaCritical ¶
func (o *Dataset) GetRefquotaCritical() CompositeValue
GetRefquotaCritical returns the RefquotaCritical field value if set, zero value otherwise.
func (*Dataset) GetRefquotaCriticalOk ¶
func (o *Dataset) GetRefquotaCriticalOk() (*CompositeValue, bool)
GetRefquotaCriticalOk returns a tuple with the RefquotaCritical field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetRefquotaOk ¶
func (o *Dataset) GetRefquotaOk() (*CompositeValue, bool)
GetRefquotaOk returns a tuple with the Refquota field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetRefquotaWarning ¶
func (o *Dataset) GetRefquotaWarning() CompositeValue
GetRefquotaWarning returns the RefquotaWarning field value if set, zero value otherwise.
func (*Dataset) GetRefquotaWarningOk ¶
func (o *Dataset) GetRefquotaWarningOk() (*CompositeValue, bool)
GetRefquotaWarningOk returns a tuple with the RefquotaWarning field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetRefreservation ¶
func (o *Dataset) GetRefreservation() CompositeValue
GetRefreservation returns the Refreservation field value if set, zero value otherwise.
func (*Dataset) GetRefreservationOk ¶
func (o *Dataset) GetRefreservationOk() (*CompositeValue, bool)
GetRefreservationOk returns a tuple with the Refreservation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetReservation ¶
func (o *Dataset) GetReservation() CompositeValue
GetReservation returns the Reservation field value if set, zero value otherwise.
func (*Dataset) GetReservationOk ¶
func (o *Dataset) GetReservationOk() (*CompositeValue, bool)
GetReservationOk returns a tuple with the Reservation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetSnapdir ¶
func (o *Dataset) GetSnapdir() CompositeValue
GetSnapdir returns the Snapdir field value if set, zero value otherwise.
func (*Dataset) GetSnapdirOk ¶
func (o *Dataset) GetSnapdirOk() (*CompositeValue, bool)
GetSnapdirOk returns a tuple with the Snapdir field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetSync ¶
func (o *Dataset) GetSync() CompositeValue
GetSync returns the Sync field value if set, zero value otherwise.
func (*Dataset) GetSyncOk ¶
func (o *Dataset) GetSyncOk() (*CompositeValue, bool)
GetSyncOk returns a tuple with the Sync field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (*Dataset) GetUsed ¶
func (o *Dataset) GetUsed() CompositeValue
GetUsed returns the Used field value if set, zero value otherwise.
func (*Dataset) GetUsedOk ¶
func (o *Dataset) GetUsedOk() (*CompositeValue, bool)
GetUsedOk returns a tuple with the Used field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetVolblocksize ¶
func (o *Dataset) GetVolblocksize() CompositeValue
GetVolblocksize returns the Volblocksize field value if set, zero value otherwise.
func (*Dataset) GetVolblocksizeOk ¶
func (o *Dataset) GetVolblocksizeOk() (*CompositeValue, bool)
GetVolblocksizeOk returns a tuple with the Volblocksize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetVolsize ¶
func (o *Dataset) GetVolsize() CompositeValue
GetVolsize returns the Volsize field value if set, zero value otherwise.
func (*Dataset) GetVolsizeOk ¶
func (o *Dataset) GetVolsizeOk() (*CompositeValue, bool)
GetVolsizeOk returns a tuple with the Volsize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) GetXattr ¶
func (o *Dataset) GetXattr() CompositeValue
GetXattr returns the Xattr field value if set, zero value otherwise.
func (*Dataset) GetXattrOk ¶
func (o *Dataset) GetXattrOk() (*CompositeValue, bool)
GetXattrOk returns a tuple with the Xattr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Dataset) HasAclmode ¶
HasAclmode returns a boolean if a field has been set.
func (*Dataset) HasAcltype ¶
HasAcltype returns a boolean if a field has been set.
func (*Dataset) HasAvailable ¶
HasAvailable returns a boolean if a field has been set.
func (*Dataset) HasCasesensitivity ¶
HasCasesensitivity returns a boolean if a field has been set.
func (*Dataset) HasComments ¶
HasComments returns a boolean if a field has been set.
func (*Dataset) HasCompression ¶
HasCompression returns a boolean if a field has been set.
func (*Dataset) HasDeduplication ¶
HasDeduplication returns a boolean if a field has been set.
func (*Dataset) HasEncrypted ¶
HasEncrypted returns a boolean if a field has been set.
func (*Dataset) HasEncryptionAlgorithm ¶
HasEncryptionAlgorithm returns a boolean if a field has been set.
func (*Dataset) HasEncryptionRoot ¶
HasEncryptionRoot returns a boolean if a field has been set.
func (*Dataset) HasKeyFormat ¶
HasKeyFormat returns a boolean if a field has been set.
func (*Dataset) HasKeyLoaded ¶
HasKeyLoaded returns a boolean if a field has been set.
func (*Dataset) HasManagedby ¶
HasManagedby returns a boolean if a field has been set.
func (*Dataset) HasMountpoint ¶
HasMountpoint returns a boolean if a field has been set.
func (*Dataset) HasPbkdf2iters ¶
HasPbkdf2iters returns a boolean if a field has been set.
func (*Dataset) HasQuotaCritical ¶
HasQuotaCritical returns a boolean if a field has been set.
func (*Dataset) HasQuotaWarning ¶
HasQuotaWarning returns a boolean if a field has been set.
func (*Dataset) HasReadonly ¶
HasReadonly returns a boolean if a field has been set.
func (*Dataset) HasRecordsize ¶
HasRecordsize returns a boolean if a field has been set.
func (*Dataset) HasRefquota ¶
HasRefquota returns a boolean if a field has been set.
func (*Dataset) HasRefquotaCritical ¶
HasRefquotaCritical returns a boolean if a field has been set.
func (*Dataset) HasRefquotaWarning ¶
HasRefquotaWarning returns a boolean if a field has been set.
func (*Dataset) HasRefreservation ¶
HasRefreservation returns a boolean if a field has been set.
func (*Dataset) HasReservation ¶
HasReservation returns a boolean if a field has been set.
func (*Dataset) HasSnapdir ¶
HasSnapdir returns a boolean if a field has been set.
func (*Dataset) HasVolblocksize ¶
HasVolblocksize returns a boolean if a field has been set.
func (*Dataset) HasVolsize ¶
HasVolsize returns a boolean if a field has been set.
func (Dataset) MarshalJSON ¶
func (*Dataset) SetAclmode ¶
func (o *Dataset) SetAclmode(v CompositeValue)
SetAclmode gets a reference to the given CompositeValue and assigns it to the Aclmode field.
func (*Dataset) SetAcltype ¶
func (o *Dataset) SetAcltype(v CompositeValue)
SetAcltype gets a reference to the given CompositeValue and assigns it to the Acltype field.
func (*Dataset) SetAtime ¶
func (o *Dataset) SetAtime(v CompositeValue)
SetAtime gets a reference to the given CompositeValue and assigns it to the Atime field.
func (*Dataset) SetAvailable ¶
func (o *Dataset) SetAvailable(v CompositeValue)
SetAvailable gets a reference to the given CompositeValue and assigns it to the Available field.
func (*Dataset) SetCasesensitivity ¶
func (o *Dataset) SetCasesensitivity(v CompositeValue)
SetCasesensitivity gets a reference to the given CompositeValue and assigns it to the Casesensitivity field.
func (*Dataset) SetComments ¶
func (o *Dataset) SetComments(v CompositeValue)
SetComments gets a reference to the given CompositeValue and assigns it to the Comments field.
func (*Dataset) SetCompression ¶
func (o *Dataset) SetCompression(v CompositeValue)
SetCompression gets a reference to the given CompositeValue and assigns it to the Compression field.
func (*Dataset) SetCopies ¶
func (o *Dataset) SetCopies(v CompositeValue)
SetCopies gets a reference to the given CompositeValue and assigns it to the Copies field.
func (*Dataset) SetDeduplication ¶
func (o *Dataset) SetDeduplication(v CompositeValue)
SetDeduplication gets a reference to the given CompositeValue and assigns it to the Deduplication field.
func (*Dataset) SetEncrypted ¶
SetEncrypted gets a reference to the given bool and assigns it to the Encrypted field.
func (*Dataset) SetEncryptionAlgorithm ¶
func (o *Dataset) SetEncryptionAlgorithm(v CompositeValue)
SetEncryptionAlgorithm gets a reference to the given CompositeValue and assigns it to the EncryptionAlgorithm field.
func (*Dataset) SetEncryptionRoot ¶
SetEncryptionRoot gets a reference to the given string and assigns it to the EncryptionRoot field.
func (*Dataset) SetExec ¶
func (o *Dataset) SetExec(v CompositeValue)
SetExec gets a reference to the given CompositeValue and assigns it to the Exec field.
func (*Dataset) SetKeyFormat ¶
func (o *Dataset) SetKeyFormat(v CompositeValue)
SetKeyFormat gets a reference to the given CompositeValue and assigns it to the KeyFormat field.
func (*Dataset) SetKeyLoaded ¶
SetKeyLoaded gets a reference to the given bool and assigns it to the KeyLoaded field.
func (*Dataset) SetLocked ¶
SetLocked gets a reference to the given bool and assigns it to the Locked field.
func (*Dataset) SetManagedby ¶
func (o *Dataset) SetManagedby(v CompositeValue)
SetManagedby gets a reference to the given CompositeValue and assigns it to the Managedby field.
func (*Dataset) SetMountpoint ¶
SetMountpoint gets a reference to the given string and assigns it to the Mountpoint field.
func (*Dataset) SetOrigin ¶
func (o *Dataset) SetOrigin(v CompositeValue)
SetOrigin gets a reference to the given CompositeValue and assigns it to the Origin field.
func (*Dataset) SetPbkdf2iters ¶
func (o *Dataset) SetPbkdf2iters(v CompositeValue)
SetPbkdf2iters gets a reference to the given CompositeValue and assigns it to the Pbkdf2iters field.
func (*Dataset) SetQuota ¶
func (o *Dataset) SetQuota(v CompositeValue)
SetQuota gets a reference to the given CompositeValue and assigns it to the Quota field.
func (*Dataset) SetQuotaCritical ¶
func (o *Dataset) SetQuotaCritical(v CompositeValue)
SetQuotaCritical gets a reference to the given CompositeValue and assigns it to the QuotaCritical field.
func (*Dataset) SetQuotaWarning ¶
func (o *Dataset) SetQuotaWarning(v CompositeValue)
SetQuotaWarning gets a reference to the given CompositeValue and assigns it to the QuotaWarning field.
func (*Dataset) SetReadonly ¶
func (o *Dataset) SetReadonly(v CompositeValue)
SetReadonly gets a reference to the given CompositeValue and assigns it to the Readonly field.
func (*Dataset) SetRecordsize ¶
func (o *Dataset) SetRecordsize(v CompositeValue)
SetRecordsize gets a reference to the given CompositeValue and assigns it to the Recordsize field.
func (*Dataset) SetRefquota ¶
func (o *Dataset) SetRefquota(v CompositeValue)
SetRefquota gets a reference to the given CompositeValue and assigns it to the Refquota field.
func (*Dataset) SetRefquotaCritical ¶
func (o *Dataset) SetRefquotaCritical(v CompositeValue)
SetRefquotaCritical gets a reference to the given CompositeValue and assigns it to the RefquotaCritical field.
func (*Dataset) SetRefquotaWarning ¶
func (o *Dataset) SetRefquotaWarning(v CompositeValue)
SetRefquotaWarning gets a reference to the given CompositeValue and assigns it to the RefquotaWarning field.
func (*Dataset) SetRefreservation ¶
func (o *Dataset) SetRefreservation(v CompositeValue)
SetRefreservation gets a reference to the given CompositeValue and assigns it to the Refreservation field.
func (*Dataset) SetReservation ¶
func (o *Dataset) SetReservation(v CompositeValue)
SetReservation gets a reference to the given CompositeValue and assigns it to the Reservation field.
func (*Dataset) SetSnapdir ¶
func (o *Dataset) SetSnapdir(v CompositeValue)
SetSnapdir gets a reference to the given CompositeValue and assigns it to the Snapdir field.
func (*Dataset) SetSync ¶
func (o *Dataset) SetSync(v CompositeValue)
SetSync gets a reference to the given CompositeValue and assigns it to the Sync field.
func (*Dataset) SetUsed ¶
func (o *Dataset) SetUsed(v CompositeValue)
SetUsed gets a reference to the given CompositeValue and assigns it to the Used field.
func (*Dataset) SetVolblocksize ¶
func (o *Dataset) SetVolblocksize(v CompositeValue)
SetVolblocksize gets a reference to the given CompositeValue and assigns it to the Volblocksize field.
func (*Dataset) SetVolsize ¶
func (o *Dataset) SetVolsize(v CompositeValue)
SetVolsize gets a reference to the given CompositeValue and assigns it to the Volsize field.
func (*Dataset) SetXattr ¶
func (o *Dataset) SetXattr(v CompositeValue)
SetXattr gets a reference to the given CompositeValue and assigns it to the Xattr field.
func (*Dataset) UnmarshalJSON ¶
type DatasetApiService ¶
type DatasetApiService service
DatasetApiService DatasetApi service
func (*DatasetApiService) CreateDataset ¶
func (a *DatasetApiService) CreateDataset(ctx context.Context) ApiCreateDatasetRequest
CreateDataset Method for CreateDataset
Creates a dataset/zvol.
`volsize` is required for type=VOLUME and is supposed to be a multiple of the block size. `sparse` and `volblocksize` are only used for type=VOLUME.
`encryption` when enabled will create an ZFS encrypted root dataset for `name` pool. There are 2 cases where ZFS encryption is not allowed for a dataset:
- Pool in question is GELI encrypted.
- If the parent dataset is encrypted with a passphrase and `name` is being created with a key for encrypting the dataset.
`encryption_options` specifies configuration for encryption of dataset for `name` pool. `encryption_options.passphrase` must be specified if encryption for dataset is desired with a passphrase as a key. Otherwise a hex encoded key can be specified by providing `encryption_options.key`. `encryption_options.generate_key` when enabled automatically generates the key to be used for dataset encryption.
It should be noted that keys are stored by the system for automatic locking/unlocking on import/export of encrypted datasets. If that is not desired, dataset should be created with a passphrase as a key.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateDatasetRequest
func (*DatasetApiService) CreateDatasetExecute ¶
func (a *DatasetApiService) CreateDatasetExecute(r ApiCreateDatasetRequest) (*Dataset, *http.Response, error)
Execute executes the request
@return Dataset
func (*DatasetApiService) DeleteDataset ¶
func (a *DatasetApiService) DeleteDataset(ctx context.Context, id string) ApiDeleteDatasetRequest
DeleteDataset Method for DeleteDataset
Delete dataset/zvol
`recursive` will also delete/destroy all children datasets. `force` will force delete busy datasets.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteDatasetRequest
func (*DatasetApiService) DeleteDatasetExecute ¶
func (a *DatasetApiService) DeleteDatasetExecute(r ApiDeleteDatasetRequest) (*http.Response, error)
Execute executes the request
func (*DatasetApiService) GetDataset ¶
func (a *DatasetApiService) GetDataset(ctx context.Context, id string) ApiGetDatasetRequest
GetDataset Method for GetDataset
Query Pool Datasets with `query-filters` and `query-options`.
We provide two ways to retrieve datasets. The first is a flat structure (default), where all datasets in the system are returned as separate objects which contain all data there is for their children. This retrieval type is slightly slower because of duplicates in each object. The second type is hierarchical, where only top level datasets are returned in the list. They contain all the children in the `children` key. This retrieval type is slightly faster. These options are controlled by the `query-options.extra.flat` attribute (default true).
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id ID of the dataset @return ApiGetDatasetRequest
func (*DatasetApiService) GetDatasetExecute ¶
func (a *DatasetApiService) GetDatasetExecute(r ApiGetDatasetRequest) (*Dataset, *http.Response, error)
Execute executes the request
@return Dataset
func (*DatasetApiService) ListDatasets ¶
func (a *DatasetApiService) ListDatasets(ctx context.Context) ApiListDatasetsRequest
ListDatasets Method for ListDatasets
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListDatasetsRequest
func (*DatasetApiService) ListDatasetsExecute ¶
func (a *DatasetApiService) ListDatasetsExecute(r ApiListDatasetsRequest) ([]Dataset, *http.Response, error)
Execute executes the request
@return []Dataset
func (*DatasetApiService) UpdateDataset ¶
func (a *DatasetApiService) UpdateDataset(ctx context.Context, id string) ApiUpdateDatasetRequest
UpdateDataset Method for UpdateDataset
Update dataset
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateDatasetRequest
func (*DatasetApiService) UpdateDatasetExecute ¶
func (a *DatasetApiService) UpdateDatasetExecute(r ApiUpdateDatasetRequest) (*Dataset, *http.Response, error)
Execute executes the request
@return Dataset
type DeleteGroupParams ¶
type DeleteGroupParams struct { DeleteUsers *bool `json:"delete_users,omitempty"` AdditionalProperties map[string]interface{} }
DeleteGroupParams struct for DeleteGroupParams
func NewDeleteGroupParams ¶
func NewDeleteGroupParams() *DeleteGroupParams
NewDeleteGroupParams instantiates a new DeleteGroupParams 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
func NewDeleteGroupParamsWithDefaults ¶
func NewDeleteGroupParamsWithDefaults() *DeleteGroupParams
NewDeleteGroupParamsWithDefaults instantiates a new DeleteGroupParams 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
func (*DeleteGroupParams) GetDeleteUsers ¶
func (o *DeleteGroupParams) GetDeleteUsers() bool
GetDeleteUsers returns the DeleteUsers field value if set, zero value otherwise.
func (*DeleteGroupParams) GetDeleteUsersOk ¶
func (o *DeleteGroupParams) GetDeleteUsersOk() (*bool, bool)
GetDeleteUsersOk returns a tuple with the DeleteUsers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteGroupParams) HasDeleteUsers ¶
func (o *DeleteGroupParams) HasDeleteUsers() bool
HasDeleteUsers returns a boolean if a field has been set.
func (DeleteGroupParams) MarshalJSON ¶
func (o DeleteGroupParams) MarshalJSON() ([]byte, error)
func (*DeleteGroupParams) SetDeleteUsers ¶
func (o *DeleteGroupParams) SetDeleteUsers(v bool)
SetDeleteUsers gets a reference to the given bool and assigns it to the DeleteUsers field.
func (*DeleteGroupParams) UnmarshalJSON ¶
func (o *DeleteGroupParams) UnmarshalJSON(bytes []byte) (err error)
type DeleteUserParams ¶
type DeleteUserParams struct { DeleteGroup *bool `json:"delete_group,omitempty"` AdditionalProperties map[string]interface{} }
DeleteUserParams struct for DeleteUserParams
func NewDeleteUserParams ¶
func NewDeleteUserParams() *DeleteUserParams
NewDeleteUserParams instantiates a new DeleteUserParams 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
func NewDeleteUserParamsWithDefaults ¶
func NewDeleteUserParamsWithDefaults() *DeleteUserParams
NewDeleteUserParamsWithDefaults instantiates a new DeleteUserParams 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
func (*DeleteUserParams) GetDeleteGroup ¶
func (o *DeleteUserParams) GetDeleteGroup() bool
GetDeleteGroup returns the DeleteGroup field value if set, zero value otherwise.
func (*DeleteUserParams) GetDeleteGroupOk ¶
func (o *DeleteUserParams) GetDeleteGroupOk() (*bool, bool)
GetDeleteGroupOk returns a tuple with the DeleteGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DeleteUserParams) HasDeleteGroup ¶
func (o *DeleteUserParams) HasDeleteGroup() bool
HasDeleteGroup returns a boolean if a field has been set.
func (DeleteUserParams) MarshalJSON ¶
func (o DeleteUserParams) MarshalJSON() ([]byte, error)
func (*DeleteUserParams) SetDeleteGroup ¶
func (o *DeleteUserParams) SetDeleteGroup(v bool)
SetDeleteGroup gets a reference to the given bool and assigns it to the DeleteGroup field.
func (*DeleteUserParams) UnmarshalJSON ¶
func (o *DeleteUserParams) UnmarshalJSON(bytes []byte) (err error)
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type Group ¶
type Group struct { Id int32 `json:"id"` Gid *int32 `json:"gid,omitempty"` Group string `json:"group"` Builtin *bool `json:"builtin,omitempty"` Sudo *bool `json:"sudo,omitempty"` SudoNopasswd *bool `json:"sudo_nopasswd,omitempty"` SudoCommands []string `json:"sudo_commands,omitempty"` Smb *bool `json:"smb,omitempty"` Users []int32 `json:"users,omitempty"` Local *bool `json:"local,omitempty"` IdTypeBoth *bool `json:"id_type_both,omitempty"` AdditionalProperties map[string]interface{} }
Group struct for Group
func NewGroup ¶
NewGroup instantiates a new Group 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
func NewGroupWithDefaults ¶
func NewGroupWithDefaults() *Group
NewGroupWithDefaults instantiates a new Group 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
func (*Group) GetBuiltin ¶
GetBuiltin returns the Builtin field value if set, zero value otherwise.
func (*Group) GetBuiltinOk ¶
GetBuiltinOk returns a tuple with the Builtin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetGidOk ¶
GetGidOk returns a tuple with the Gid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetGroupOk ¶
GetGroupOk returns a tuple with the Group field value and a boolean to check if the value has been set.
func (*Group) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Group) GetIdTypeBoth ¶
GetIdTypeBoth returns the IdTypeBoth field value if set, zero value otherwise.
func (*Group) GetIdTypeBothOk ¶
GetIdTypeBothOk returns a tuple with the IdTypeBoth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetLocalOk ¶
GetLocalOk returns a tuple with the Local field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetSmbOk ¶
GetSmbOk returns a tuple with the Smb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetSudoCommands ¶
GetSudoCommands returns the SudoCommands field value if set, zero value otherwise.
func (*Group) GetSudoCommandsOk ¶
GetSudoCommandsOk returns a tuple with the SudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetSudoNopasswd ¶
GetSudoNopasswd returns the SudoNopasswd field value if set, zero value otherwise.
func (*Group) GetSudoNopasswdOk ¶
GetSudoNopasswdOk returns a tuple with the SudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetSudoOk ¶
GetSudoOk returns a tuple with the Sudo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) GetUsersOk ¶
GetUsersOk returns a tuple with the Users field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Group) HasBuiltin ¶
HasBuiltin returns a boolean if a field has been set.
func (*Group) HasIdTypeBoth ¶
HasIdTypeBoth returns a boolean if a field has been set.
func (*Group) HasSudoCommands ¶
HasSudoCommands returns a boolean if a field has been set.
func (*Group) HasSudoNopasswd ¶
HasSudoNopasswd returns a boolean if a field has been set.
func (Group) MarshalJSON ¶
func (*Group) SetBuiltin ¶
SetBuiltin gets a reference to the given bool and assigns it to the Builtin field.
func (*Group) SetIdTypeBoth ¶
SetIdTypeBoth gets a reference to the given bool and assigns it to the IdTypeBoth field.
func (*Group) SetLocal ¶
SetLocal gets a reference to the given bool and assigns it to the Local field.
func (*Group) SetSudo ¶
SetSudo gets a reference to the given bool and assigns it to the Sudo field.
func (*Group) SetSudoCommands ¶
SetSudoCommands gets a reference to the given []string and assigns it to the SudoCommands field.
func (*Group) SetSudoNopasswd ¶
SetSudoNopasswd gets a reference to the given bool and assigns it to the SudoNopasswd field.
func (*Group) SetUsers ¶
SetUsers gets a reference to the given []int32 and assigns it to the Users field.
func (*Group) UnmarshalJSON ¶
type GroupApiService ¶
type GroupApiService service
GroupApiService GroupApi service
func (*GroupApiService) CreateGroup ¶
func (a *GroupApiService) CreateGroup(ctx context.Context) ApiCreateGroupRequest
CreateGroup Method for CreateGroup
Create a new group.
If `gid` is not provided it is automatically filled with the next one available.
`allow_duplicate_gid` allows distinct group names to share the same gid.
`users` is a list of user ids (`id` attribute from `user.query`).
`smb` specifies whether the group should be mapped into an NT group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateGroupRequest
func (*GroupApiService) CreateGroupExecute ¶
func (a *GroupApiService) CreateGroupExecute(r ApiCreateGroupRequest) (int32, *http.Response, error)
Execute executes the request
@return int32
func (*GroupApiService) DeleteGroup ¶
func (a *GroupApiService) DeleteGroup(ctx context.Context, id int32) ApiDeleteGroupRequest
DeleteGroup Method for DeleteGroup
Delete group `id`.
The `delete_users` option deletes all users that have this group as their primary group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteGroupRequest
func (*GroupApiService) DeleteGroupExecute ¶
func (a *GroupApiService) DeleteGroupExecute(r ApiDeleteGroupRequest) (*http.Response, error)
Execute executes the request
func (*GroupApiService) GetGroup ¶
func (a *GroupApiService) GetGroup(ctx context.Context, id int32) ApiGetGroupRequest
GetGroup Method for GetGroup
Get group of `id`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetGroupRequest
func (*GroupApiService) GetGroupExecute ¶
func (a *GroupApiService) GetGroupExecute(r ApiGetGroupRequest) (*Group, *http.Response, error)
Execute executes the request
@return Group
func (*GroupApiService) ListGroups ¶
func (a *GroupApiService) ListGroups(ctx context.Context) ApiListGroupsRequest
ListGroups Method for ListGroups
Get a list of (local) groups
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListGroupsRequest
func (*GroupApiService) ListGroupsExecute ¶
func (a *GroupApiService) ListGroupsExecute(r ApiListGroupsRequest) (*http.Response, error)
Execute executes the request
func (*GroupApiService) UpdateGroup ¶
func (a *GroupApiService) UpdateGroup(ctx context.Context, id int32) ApiUpdateGroupRequest
UpdateGroup Method for UpdateGroup
Update attributes of an existing group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateGroupRequest
func (*GroupApiService) UpdateGroupExecute ¶
func (a *GroupApiService) UpdateGroupExecute(r ApiUpdateGroupRequest) (int32, *http.Response, error)
Execute executes the request
@return int32
type NetworkApiService ¶
type NetworkApiService service
NetworkApiService NetworkApi service
func (*NetworkApiService) GetNetworkConfiguration ¶
func (a *NetworkApiService) GetNetworkConfiguration(ctx context.Context) ApiGetNetworkConfigurationRequest
GetNetworkConfiguration Method for GetNetworkConfiguration
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetNetworkConfigurationRequest
func (*NetworkApiService) GetNetworkConfigurationExecute ¶
func (a *NetworkApiService) GetNetworkConfigurationExecute(r ApiGetNetworkConfigurationRequest) (*NetworkConfig, *http.Response, error)
Execute executes the request
@return NetworkConfig
func (*NetworkApiService) GetNetworkSummary ¶
func (a *NetworkApiService) GetNetworkSummary(ctx context.Context) ApiGetNetworkSummaryRequest
GetNetworkSummary Method for GetNetworkSummary
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetNetworkSummaryRequest
func (*NetworkApiService) GetNetworkSummaryExecute ¶
func (a *NetworkApiService) GetNetworkSummaryExecute(r ApiGetNetworkSummaryRequest) (*NetworkSummary, *http.Response, error)
Execute executes the request
@return NetworkSummary
type NetworkConfig ¶
type NetworkConfig struct { Id *int32 `json:"id,omitempty"` Hostname *string `json:"hostname,omitempty"` Domain *string `json:"domain,omitempty"` Ipv4gateway *string `json:"ipv4gateway,omitempty"` Ipv6gateway *string `json:"ipv6gateway,omitempty"` Nameserver1 *string `json:"nameserver1,omitempty"` Nameserver2 *string `json:"nameserver2,omitempty"` Nameserver3 *string `json:"nameserver3,omitempty"` Httpproxy *string `json:"httpproxy,omitempty"` NetwaitEnabled *bool `json:"netwait_enabled,omitempty"` NetwaitIp []string `json:"netwait_ip,omitempty"` Hosts *string `json:"hosts,omitempty"` Domains []string `json:"domains,omitempty"` ServiceAnnouncement *NetworkConfigServiceAnnouncement `json:"service_announcement,omitempty"` HostnameLocal *string `json:"hostname_local,omitempty"` AdditionalProperties map[string]interface{} }
NetworkConfig struct for NetworkConfig
func NewNetworkConfig ¶
func NewNetworkConfig() *NetworkConfig
NewNetworkConfig instantiates a new NetworkConfig 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
func NewNetworkConfigWithDefaults ¶
func NewNetworkConfigWithDefaults() *NetworkConfig
NewNetworkConfigWithDefaults instantiates a new NetworkConfig 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
func (*NetworkConfig) GetDomain ¶
func (o *NetworkConfig) GetDomain() string
GetDomain returns the Domain field value if set, zero value otherwise.
func (*NetworkConfig) GetDomainOk ¶
func (o *NetworkConfig) GetDomainOk() (*string, bool)
GetDomainOk returns a tuple with the Domain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetDomains ¶
func (o *NetworkConfig) GetDomains() []string
GetDomains returns the Domains field value if set, zero value otherwise.
func (*NetworkConfig) GetDomainsOk ¶
func (o *NetworkConfig) GetDomainsOk() ([]string, bool)
GetDomainsOk returns a tuple with the Domains field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetHostname ¶
func (o *NetworkConfig) GetHostname() string
GetHostname returns the Hostname field value if set, zero value otherwise.
func (*NetworkConfig) GetHostnameLocal ¶
func (o *NetworkConfig) GetHostnameLocal() string
GetHostnameLocal returns the HostnameLocal field value if set, zero value otherwise.
func (*NetworkConfig) GetHostnameLocalOk ¶
func (o *NetworkConfig) GetHostnameLocalOk() (*string, bool)
GetHostnameLocalOk returns a tuple with the HostnameLocal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetHostnameOk ¶
func (o *NetworkConfig) GetHostnameOk() (*string, bool)
GetHostnameOk returns a tuple with the Hostname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetHosts ¶
func (o *NetworkConfig) GetHosts() string
GetHosts returns the Hosts field value if set, zero value otherwise.
func (*NetworkConfig) GetHostsOk ¶
func (o *NetworkConfig) GetHostsOk() (*string, bool)
GetHostsOk returns a tuple with the Hosts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetHttpproxy ¶
func (o *NetworkConfig) GetHttpproxy() string
GetHttpproxy returns the Httpproxy field value if set, zero value otherwise.
func (*NetworkConfig) GetHttpproxyOk ¶
func (o *NetworkConfig) GetHttpproxyOk() (*string, bool)
GetHttpproxyOk returns a tuple with the Httpproxy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetId ¶
func (o *NetworkConfig) GetId() int32
GetId returns the Id field value if set, zero value otherwise.
func (*NetworkConfig) GetIdOk ¶
func (o *NetworkConfig) GetIdOk() (*int32, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetIpv4gateway ¶
func (o *NetworkConfig) GetIpv4gateway() string
GetIpv4gateway returns the Ipv4gateway field value if set, zero value otherwise.
func (*NetworkConfig) GetIpv4gatewayOk ¶
func (o *NetworkConfig) GetIpv4gatewayOk() (*string, bool)
GetIpv4gatewayOk returns a tuple with the Ipv4gateway field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetIpv6gateway ¶
func (o *NetworkConfig) GetIpv6gateway() string
GetIpv6gateway returns the Ipv6gateway field value if set, zero value otherwise.
func (*NetworkConfig) GetIpv6gatewayOk ¶
func (o *NetworkConfig) GetIpv6gatewayOk() (*string, bool)
GetIpv6gatewayOk returns a tuple with the Ipv6gateway field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetNameserver1 ¶
func (o *NetworkConfig) GetNameserver1() string
GetNameserver1 returns the Nameserver1 field value if set, zero value otherwise.
func (*NetworkConfig) GetNameserver1Ok ¶
func (o *NetworkConfig) GetNameserver1Ok() (*string, bool)
GetNameserver1Ok returns a tuple with the Nameserver1 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetNameserver2 ¶
func (o *NetworkConfig) GetNameserver2() string
GetNameserver2 returns the Nameserver2 field value if set, zero value otherwise.
func (*NetworkConfig) GetNameserver2Ok ¶
func (o *NetworkConfig) GetNameserver2Ok() (*string, bool)
GetNameserver2Ok returns a tuple with the Nameserver2 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetNameserver3 ¶
func (o *NetworkConfig) GetNameserver3() string
GetNameserver3 returns the Nameserver3 field value if set, zero value otherwise.
func (*NetworkConfig) GetNameserver3Ok ¶
func (o *NetworkConfig) GetNameserver3Ok() (*string, bool)
GetNameserver3Ok returns a tuple with the Nameserver3 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetNetwaitEnabled ¶
func (o *NetworkConfig) GetNetwaitEnabled() bool
GetNetwaitEnabled returns the NetwaitEnabled field value if set, zero value otherwise.
func (*NetworkConfig) GetNetwaitEnabledOk ¶
func (o *NetworkConfig) GetNetwaitEnabledOk() (*bool, bool)
GetNetwaitEnabledOk returns a tuple with the NetwaitEnabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetNetwaitIp ¶
func (o *NetworkConfig) GetNetwaitIp() []string
GetNetwaitIp returns the NetwaitIp field value if set, zero value otherwise.
func (*NetworkConfig) GetNetwaitIpOk ¶
func (o *NetworkConfig) GetNetwaitIpOk() ([]string, bool)
GetNetwaitIpOk returns a tuple with the NetwaitIp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) GetServiceAnnouncement ¶
func (o *NetworkConfig) GetServiceAnnouncement() NetworkConfigServiceAnnouncement
GetServiceAnnouncement returns the ServiceAnnouncement field value if set, zero value otherwise.
func (*NetworkConfig) GetServiceAnnouncementOk ¶
func (o *NetworkConfig) GetServiceAnnouncementOk() (*NetworkConfigServiceAnnouncement, bool)
GetServiceAnnouncementOk returns a tuple with the ServiceAnnouncement field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfig) HasDomain ¶
func (o *NetworkConfig) HasDomain() bool
HasDomain returns a boolean if a field has been set.
func (*NetworkConfig) HasDomains ¶
func (o *NetworkConfig) HasDomains() bool
HasDomains returns a boolean if a field has been set.
func (*NetworkConfig) HasHostname ¶
func (o *NetworkConfig) HasHostname() bool
HasHostname returns a boolean if a field has been set.
func (*NetworkConfig) HasHostnameLocal ¶
func (o *NetworkConfig) HasHostnameLocal() bool
HasHostnameLocal returns a boolean if a field has been set.
func (*NetworkConfig) HasHosts ¶
func (o *NetworkConfig) HasHosts() bool
HasHosts returns a boolean if a field has been set.
func (*NetworkConfig) HasHttpproxy ¶
func (o *NetworkConfig) HasHttpproxy() bool
HasHttpproxy returns a boolean if a field has been set.
func (*NetworkConfig) HasId ¶
func (o *NetworkConfig) HasId() bool
HasId returns a boolean if a field has been set.
func (*NetworkConfig) HasIpv4gateway ¶
func (o *NetworkConfig) HasIpv4gateway() bool
HasIpv4gateway returns a boolean if a field has been set.
func (*NetworkConfig) HasIpv6gateway ¶
func (o *NetworkConfig) HasIpv6gateway() bool
HasIpv6gateway returns a boolean if a field has been set.
func (*NetworkConfig) HasNameserver1 ¶
func (o *NetworkConfig) HasNameserver1() bool
HasNameserver1 returns a boolean if a field has been set.
func (*NetworkConfig) HasNameserver2 ¶
func (o *NetworkConfig) HasNameserver2() bool
HasNameserver2 returns a boolean if a field has been set.
func (*NetworkConfig) HasNameserver3 ¶
func (o *NetworkConfig) HasNameserver3() bool
HasNameserver3 returns a boolean if a field has been set.
func (*NetworkConfig) HasNetwaitEnabled ¶
func (o *NetworkConfig) HasNetwaitEnabled() bool
HasNetwaitEnabled returns a boolean if a field has been set.
func (*NetworkConfig) HasNetwaitIp ¶
func (o *NetworkConfig) HasNetwaitIp() bool
HasNetwaitIp returns a boolean if a field has been set.
func (*NetworkConfig) HasServiceAnnouncement ¶
func (o *NetworkConfig) HasServiceAnnouncement() bool
HasServiceAnnouncement returns a boolean if a field has been set.
func (NetworkConfig) MarshalJSON ¶
func (o NetworkConfig) MarshalJSON() ([]byte, error)
func (*NetworkConfig) SetDomain ¶
func (o *NetworkConfig) SetDomain(v string)
SetDomain gets a reference to the given string and assigns it to the Domain field.
func (*NetworkConfig) SetDomains ¶
func (o *NetworkConfig) SetDomains(v []string)
SetDomains gets a reference to the given []string and assigns it to the Domains field.
func (*NetworkConfig) SetHostname ¶
func (o *NetworkConfig) SetHostname(v string)
SetHostname gets a reference to the given string and assigns it to the Hostname field.
func (*NetworkConfig) SetHostnameLocal ¶
func (o *NetworkConfig) SetHostnameLocal(v string)
SetHostnameLocal gets a reference to the given string and assigns it to the HostnameLocal field.
func (*NetworkConfig) SetHosts ¶
func (o *NetworkConfig) SetHosts(v string)
SetHosts gets a reference to the given string and assigns it to the Hosts field.
func (*NetworkConfig) SetHttpproxy ¶
func (o *NetworkConfig) SetHttpproxy(v string)
SetHttpproxy gets a reference to the given string and assigns it to the Httpproxy field.
func (*NetworkConfig) SetId ¶
func (o *NetworkConfig) SetId(v int32)
SetId gets a reference to the given int32 and assigns it to the Id field.
func (*NetworkConfig) SetIpv4gateway ¶
func (o *NetworkConfig) SetIpv4gateway(v string)
SetIpv4gateway gets a reference to the given string and assigns it to the Ipv4gateway field.
func (*NetworkConfig) SetIpv6gateway ¶
func (o *NetworkConfig) SetIpv6gateway(v string)
SetIpv6gateway gets a reference to the given string and assigns it to the Ipv6gateway field.
func (*NetworkConfig) SetNameserver1 ¶
func (o *NetworkConfig) SetNameserver1(v string)
SetNameserver1 gets a reference to the given string and assigns it to the Nameserver1 field.
func (*NetworkConfig) SetNameserver2 ¶
func (o *NetworkConfig) SetNameserver2(v string)
SetNameserver2 gets a reference to the given string and assigns it to the Nameserver2 field.
func (*NetworkConfig) SetNameserver3 ¶
func (o *NetworkConfig) SetNameserver3(v string)
SetNameserver3 gets a reference to the given string and assigns it to the Nameserver3 field.
func (*NetworkConfig) SetNetwaitEnabled ¶
func (o *NetworkConfig) SetNetwaitEnabled(v bool)
SetNetwaitEnabled gets a reference to the given bool and assigns it to the NetwaitEnabled field.
func (*NetworkConfig) SetNetwaitIp ¶
func (o *NetworkConfig) SetNetwaitIp(v []string)
SetNetwaitIp gets a reference to the given []string and assigns it to the NetwaitIp field.
func (*NetworkConfig) SetServiceAnnouncement ¶
func (o *NetworkConfig) SetServiceAnnouncement(v NetworkConfigServiceAnnouncement)
SetServiceAnnouncement gets a reference to the given NetworkConfigServiceAnnouncement and assigns it to the ServiceAnnouncement field.
func (*NetworkConfig) UnmarshalJSON ¶
func (o *NetworkConfig) UnmarshalJSON(bytes []byte) (err error)
type NetworkConfigServiceAnnouncement ¶
type NetworkConfigServiceAnnouncement struct { Netbios *bool `json:"netbios,omitempty"` Mdns *bool `json:"mdns,omitempty"` Wsd *bool `json:"wsd,omitempty"` AdditionalProperties map[string]interface{} }
NetworkConfigServiceAnnouncement struct for NetworkConfigServiceAnnouncement
func NewNetworkConfigServiceAnnouncement ¶
func NewNetworkConfigServiceAnnouncement() *NetworkConfigServiceAnnouncement
NewNetworkConfigServiceAnnouncement instantiates a new NetworkConfigServiceAnnouncement 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
func NewNetworkConfigServiceAnnouncementWithDefaults ¶
func NewNetworkConfigServiceAnnouncementWithDefaults() *NetworkConfigServiceAnnouncement
NewNetworkConfigServiceAnnouncementWithDefaults instantiates a new NetworkConfigServiceAnnouncement 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
func (*NetworkConfigServiceAnnouncement) GetMdns ¶
func (o *NetworkConfigServiceAnnouncement) GetMdns() bool
GetMdns returns the Mdns field value if set, zero value otherwise.
func (*NetworkConfigServiceAnnouncement) GetMdnsOk ¶
func (o *NetworkConfigServiceAnnouncement) GetMdnsOk() (*bool, bool)
GetMdnsOk returns a tuple with the Mdns field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfigServiceAnnouncement) GetNetbios ¶
func (o *NetworkConfigServiceAnnouncement) GetNetbios() bool
GetNetbios returns the Netbios field value if set, zero value otherwise.
func (*NetworkConfigServiceAnnouncement) GetNetbiosOk ¶
func (o *NetworkConfigServiceAnnouncement) GetNetbiosOk() (*bool, bool)
GetNetbiosOk returns a tuple with the Netbios field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfigServiceAnnouncement) GetWsd ¶
func (o *NetworkConfigServiceAnnouncement) GetWsd() bool
GetWsd returns the Wsd field value if set, zero value otherwise.
func (*NetworkConfigServiceAnnouncement) GetWsdOk ¶
func (o *NetworkConfigServiceAnnouncement) GetWsdOk() (*bool, bool)
GetWsdOk returns a tuple with the Wsd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkConfigServiceAnnouncement) HasMdns ¶
func (o *NetworkConfigServiceAnnouncement) HasMdns() bool
HasMdns returns a boolean if a field has been set.
func (*NetworkConfigServiceAnnouncement) HasNetbios ¶
func (o *NetworkConfigServiceAnnouncement) HasNetbios() bool
HasNetbios returns a boolean if a field has been set.
func (*NetworkConfigServiceAnnouncement) HasWsd ¶
func (o *NetworkConfigServiceAnnouncement) HasWsd() bool
HasWsd returns a boolean if a field has been set.
func (NetworkConfigServiceAnnouncement) MarshalJSON ¶
func (o NetworkConfigServiceAnnouncement) MarshalJSON() ([]byte, error)
func (*NetworkConfigServiceAnnouncement) SetMdns ¶
func (o *NetworkConfigServiceAnnouncement) SetMdns(v bool)
SetMdns gets a reference to the given bool and assigns it to the Mdns field.
func (*NetworkConfigServiceAnnouncement) SetNetbios ¶
func (o *NetworkConfigServiceAnnouncement) SetNetbios(v bool)
SetNetbios gets a reference to the given bool and assigns it to the Netbios field.
func (*NetworkConfigServiceAnnouncement) SetWsd ¶
func (o *NetworkConfigServiceAnnouncement) SetWsd(v bool)
SetWsd gets a reference to the given bool and assigns it to the Wsd field.
func (*NetworkConfigServiceAnnouncement) UnmarshalJSON ¶
func (o *NetworkConfigServiceAnnouncement) UnmarshalJSON(bytes []byte) (err error)
type NetworkSummary ¶
type NetworkSummary struct { Ips *map[string]NetworkSummaryIpsValue `json:"ips,omitempty"` DefaultRoutes []string `json:"default_routes,omitempty"` Nameservers []string `json:"nameservers,omitempty"` AdditionalProperties map[string]interface{} }
NetworkSummary struct for NetworkSummary
func NewNetworkSummary ¶
func NewNetworkSummary() *NetworkSummary
NewNetworkSummary instantiates a new NetworkSummary 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
func NewNetworkSummaryWithDefaults ¶
func NewNetworkSummaryWithDefaults() *NetworkSummary
NewNetworkSummaryWithDefaults instantiates a new NetworkSummary 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
func (*NetworkSummary) GetDefaultRoutes ¶
func (o *NetworkSummary) GetDefaultRoutes() []string
GetDefaultRoutes returns the DefaultRoutes field value if set, zero value otherwise.
func (*NetworkSummary) GetDefaultRoutesOk ¶
func (o *NetworkSummary) GetDefaultRoutesOk() ([]string, bool)
GetDefaultRoutesOk returns a tuple with the DefaultRoutes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkSummary) GetIps ¶
func (o *NetworkSummary) GetIps() map[string]NetworkSummaryIpsValue
GetIps returns the Ips field value if set, zero value otherwise.
func (*NetworkSummary) GetIpsOk ¶
func (o *NetworkSummary) GetIpsOk() (*map[string]NetworkSummaryIpsValue, bool)
GetIpsOk returns a tuple with the Ips field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkSummary) GetNameservers ¶
func (o *NetworkSummary) GetNameservers() []string
GetNameservers returns the Nameservers field value if set, zero value otherwise.
func (*NetworkSummary) GetNameserversOk ¶
func (o *NetworkSummary) GetNameserversOk() ([]string, bool)
GetNameserversOk returns a tuple with the Nameservers field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkSummary) HasDefaultRoutes ¶
func (o *NetworkSummary) HasDefaultRoutes() bool
HasDefaultRoutes returns a boolean if a field has been set.
func (*NetworkSummary) HasIps ¶
func (o *NetworkSummary) HasIps() bool
HasIps returns a boolean if a field has been set.
func (*NetworkSummary) HasNameservers ¶
func (o *NetworkSummary) HasNameservers() bool
HasNameservers returns a boolean if a field has been set.
func (NetworkSummary) MarshalJSON ¶
func (o NetworkSummary) MarshalJSON() ([]byte, error)
func (*NetworkSummary) SetDefaultRoutes ¶
func (o *NetworkSummary) SetDefaultRoutes(v []string)
SetDefaultRoutes gets a reference to the given []string and assigns it to the DefaultRoutes field.
func (*NetworkSummary) SetIps ¶
func (o *NetworkSummary) SetIps(v map[string]NetworkSummaryIpsValue)
SetIps gets a reference to the given map[string]NetworkSummaryIpsValue and assigns it to the Ips field.
func (*NetworkSummary) SetNameservers ¶
func (o *NetworkSummary) SetNameservers(v []string)
SetNameservers gets a reference to the given []string and assigns it to the Nameservers field.
func (*NetworkSummary) UnmarshalJSON ¶
func (o *NetworkSummary) UnmarshalJSON(bytes []byte) (err error)
type NetworkSummaryIpsValue ¶
type NetworkSummaryIpsValue struct { IPV4 []string `json:"IPV4,omitempty"` IPV6 []string `json:"IPV6,omitempty"` AdditionalProperties map[string]interface{} }
NetworkSummaryIpsValue struct for NetworkSummaryIpsValue
func NewNetworkSummaryIpsValue ¶
func NewNetworkSummaryIpsValue() *NetworkSummaryIpsValue
NewNetworkSummaryIpsValue instantiates a new NetworkSummaryIpsValue 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
func NewNetworkSummaryIpsValueWithDefaults ¶
func NewNetworkSummaryIpsValueWithDefaults() *NetworkSummaryIpsValue
NewNetworkSummaryIpsValueWithDefaults instantiates a new NetworkSummaryIpsValue 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
func (*NetworkSummaryIpsValue) GetIPV4 ¶
func (o *NetworkSummaryIpsValue) GetIPV4() []string
GetIPV4 returns the IPV4 field value if set, zero value otherwise.
func (*NetworkSummaryIpsValue) GetIPV4Ok ¶
func (o *NetworkSummaryIpsValue) GetIPV4Ok() ([]string, bool)
GetIPV4Ok returns a tuple with the IPV4 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkSummaryIpsValue) GetIPV6 ¶
func (o *NetworkSummaryIpsValue) GetIPV6() []string
GetIPV6 returns the IPV6 field value if set, zero value otherwise.
func (*NetworkSummaryIpsValue) GetIPV6Ok ¶
func (o *NetworkSummaryIpsValue) GetIPV6Ok() ([]string, bool)
GetIPV6Ok returns a tuple with the IPV6 field value if set, nil otherwise and a boolean to check if the value has been set.
func (*NetworkSummaryIpsValue) HasIPV4 ¶
func (o *NetworkSummaryIpsValue) HasIPV4() bool
HasIPV4 returns a boolean if a field has been set.
func (*NetworkSummaryIpsValue) HasIPV6 ¶
func (o *NetworkSummaryIpsValue) HasIPV6() bool
HasIPV6 returns a boolean if a field has been set.
func (NetworkSummaryIpsValue) MarshalJSON ¶
func (o NetworkSummaryIpsValue) MarshalJSON() ([]byte, error)
func (*NetworkSummaryIpsValue) SetIPV4 ¶
func (o *NetworkSummaryIpsValue) SetIPV4(v []string)
SetIPV4 gets a reference to the given []string and assigns it to the IPV4 field.
func (*NetworkSummaryIpsValue) SetIPV6 ¶
func (o *NetworkSummaryIpsValue) SetIPV6(v []string)
SetIPV6 gets a reference to the given []string and assigns it to the IPV6 field.
func (*NetworkSummaryIpsValue) UnmarshalJSON ¶
func (o *NetworkSummaryIpsValue) UnmarshalJSON(bytes []byte) (err error)
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCompositeValue ¶
type NullableCompositeValue struct {
// contains filtered or unexported fields
}
func NewNullableCompositeValue ¶
func NewNullableCompositeValue(val *CompositeValue) *NullableCompositeValue
func (NullableCompositeValue) Get ¶
func (v NullableCompositeValue) Get() *CompositeValue
func (NullableCompositeValue) IsSet ¶
func (v NullableCompositeValue) IsSet() bool
func (NullableCompositeValue) MarshalJSON ¶
func (v NullableCompositeValue) MarshalJSON() ([]byte, error)
func (*NullableCompositeValue) Set ¶
func (v *NullableCompositeValue) Set(val *CompositeValue)
func (*NullableCompositeValue) UnmarshalJSON ¶
func (v *NullableCompositeValue) UnmarshalJSON(src []byte) error
func (*NullableCompositeValue) Unset ¶
func (v *NullableCompositeValue) Unset()
type NullableCreateCronjobParams ¶
type NullableCreateCronjobParams struct {
// contains filtered or unexported fields
}
func NewNullableCreateCronjobParams ¶
func NewNullableCreateCronjobParams(val *CreateCronjobParams) *NullableCreateCronjobParams
func (NullableCreateCronjobParams) Get ¶
func (v NullableCreateCronjobParams) Get() *CreateCronjobParams
func (NullableCreateCronjobParams) IsSet ¶
func (v NullableCreateCronjobParams) IsSet() bool
func (NullableCreateCronjobParams) MarshalJSON ¶
func (v NullableCreateCronjobParams) MarshalJSON() ([]byte, error)
func (*NullableCreateCronjobParams) Set ¶
func (v *NullableCreateCronjobParams) Set(val *CreateCronjobParams)
func (*NullableCreateCronjobParams) UnmarshalJSON ¶
func (v *NullableCreateCronjobParams) UnmarshalJSON(src []byte) error
func (*NullableCreateCronjobParams) Unset ¶
func (v *NullableCreateCronjobParams) Unset()
type NullableCreateDatasetParams ¶
type NullableCreateDatasetParams struct {
// contains filtered or unexported fields
}
func NewNullableCreateDatasetParams ¶
func NewNullableCreateDatasetParams(val *CreateDatasetParams) *NullableCreateDatasetParams
func (NullableCreateDatasetParams) Get ¶
func (v NullableCreateDatasetParams) Get() *CreateDatasetParams
func (NullableCreateDatasetParams) IsSet ¶
func (v NullableCreateDatasetParams) IsSet() bool
func (NullableCreateDatasetParams) MarshalJSON ¶
func (v NullableCreateDatasetParams) MarshalJSON() ([]byte, error)
func (*NullableCreateDatasetParams) Set ¶
func (v *NullableCreateDatasetParams) Set(val *CreateDatasetParams)
func (*NullableCreateDatasetParams) UnmarshalJSON ¶
func (v *NullableCreateDatasetParams) UnmarshalJSON(src []byte) error
func (*NullableCreateDatasetParams) Unset ¶
func (v *NullableCreateDatasetParams) Unset()
type NullableCreateDatasetParamsEncryptionOptions ¶
type NullableCreateDatasetParamsEncryptionOptions struct {
// contains filtered or unexported fields
}
func NewNullableCreateDatasetParamsEncryptionOptions ¶
func NewNullableCreateDatasetParamsEncryptionOptions(val *CreateDatasetParamsEncryptionOptions) *NullableCreateDatasetParamsEncryptionOptions
func (NullableCreateDatasetParamsEncryptionOptions) IsSet ¶
func (v NullableCreateDatasetParamsEncryptionOptions) IsSet() bool
func (NullableCreateDatasetParamsEncryptionOptions) MarshalJSON ¶
func (v NullableCreateDatasetParamsEncryptionOptions) MarshalJSON() ([]byte, error)
func (*NullableCreateDatasetParamsEncryptionOptions) Set ¶
func (v *NullableCreateDatasetParamsEncryptionOptions) Set(val *CreateDatasetParamsEncryptionOptions)
func (*NullableCreateDatasetParamsEncryptionOptions) UnmarshalJSON ¶
func (v *NullableCreateDatasetParamsEncryptionOptions) UnmarshalJSON(src []byte) error
func (*NullableCreateDatasetParamsEncryptionOptions) Unset ¶
func (v *NullableCreateDatasetParamsEncryptionOptions) Unset()
type NullableCreateGroupParams ¶
type NullableCreateGroupParams struct {
// contains filtered or unexported fields
}
func NewNullableCreateGroupParams ¶
func NewNullableCreateGroupParams(val *CreateGroupParams) *NullableCreateGroupParams
func (NullableCreateGroupParams) Get ¶
func (v NullableCreateGroupParams) Get() *CreateGroupParams
func (NullableCreateGroupParams) IsSet ¶
func (v NullableCreateGroupParams) IsSet() bool
func (NullableCreateGroupParams) MarshalJSON ¶
func (v NullableCreateGroupParams) MarshalJSON() ([]byte, error)
func (*NullableCreateGroupParams) Set ¶
func (v *NullableCreateGroupParams) Set(val *CreateGroupParams)
func (*NullableCreateGroupParams) UnmarshalJSON ¶
func (v *NullableCreateGroupParams) UnmarshalJSON(src []byte) error
func (*NullableCreateGroupParams) Unset ¶
func (v *NullableCreateGroupParams) Unset()
type NullableCreateShareNFSParams ¶
type NullableCreateShareNFSParams struct {
// contains filtered or unexported fields
}
func NewNullableCreateShareNFSParams ¶
func NewNullableCreateShareNFSParams(val *CreateShareNFSParams) *NullableCreateShareNFSParams
func (NullableCreateShareNFSParams) Get ¶
func (v NullableCreateShareNFSParams) Get() *CreateShareNFSParams
func (NullableCreateShareNFSParams) IsSet ¶
func (v NullableCreateShareNFSParams) IsSet() bool
func (NullableCreateShareNFSParams) MarshalJSON ¶
func (v NullableCreateShareNFSParams) MarshalJSON() ([]byte, error)
func (*NullableCreateShareNFSParams) Set ¶
func (v *NullableCreateShareNFSParams) Set(val *CreateShareNFSParams)
func (*NullableCreateShareNFSParams) UnmarshalJSON ¶
func (v *NullableCreateShareNFSParams) UnmarshalJSON(src []byte) error
func (*NullableCreateShareNFSParams) Unset ¶
func (v *NullableCreateShareNFSParams) Unset()
type NullableCreateShareSMBParams ¶
type NullableCreateShareSMBParams struct {
// contains filtered or unexported fields
}
func NewNullableCreateShareSMBParams ¶
func NewNullableCreateShareSMBParams(val *CreateShareSMBParams) *NullableCreateShareSMBParams
func (NullableCreateShareSMBParams) Get ¶
func (v NullableCreateShareSMBParams) Get() *CreateShareSMBParams
func (NullableCreateShareSMBParams) IsSet ¶
func (v NullableCreateShareSMBParams) IsSet() bool
func (NullableCreateShareSMBParams) MarshalJSON ¶
func (v NullableCreateShareSMBParams) MarshalJSON() ([]byte, error)
func (*NullableCreateShareSMBParams) Set ¶
func (v *NullableCreateShareSMBParams) Set(val *CreateShareSMBParams)
func (*NullableCreateShareSMBParams) UnmarshalJSON ¶
func (v *NullableCreateShareSMBParams) UnmarshalJSON(src []byte) error
func (*NullableCreateShareSMBParams) Unset ¶
func (v *NullableCreateShareSMBParams) Unset()
type NullableCreateUserParams ¶
type NullableCreateUserParams struct {
// contains filtered or unexported fields
}
func NewNullableCreateUserParams ¶
func NewNullableCreateUserParams(val *CreateUserParams) *NullableCreateUserParams
func (NullableCreateUserParams) Get ¶
func (v NullableCreateUserParams) Get() *CreateUserParams
func (NullableCreateUserParams) IsSet ¶
func (v NullableCreateUserParams) IsSet() bool
func (NullableCreateUserParams) MarshalJSON ¶
func (v NullableCreateUserParams) MarshalJSON() ([]byte, error)
func (*NullableCreateUserParams) Set ¶
func (v *NullableCreateUserParams) Set(val *CreateUserParams)
func (*NullableCreateUserParams) UnmarshalJSON ¶
func (v *NullableCreateUserParams) UnmarshalJSON(src []byte) error
func (*NullableCreateUserParams) Unset ¶
func (v *NullableCreateUserParams) Unset()
type NullableCreateVMParams ¶
type NullableCreateVMParams struct {
// contains filtered or unexported fields
}
func NewNullableCreateVMParams ¶
func NewNullableCreateVMParams(val *CreateVMParams) *NullableCreateVMParams
func (NullableCreateVMParams) Get ¶
func (v NullableCreateVMParams) Get() *CreateVMParams
func (NullableCreateVMParams) IsSet ¶
func (v NullableCreateVMParams) IsSet() bool
func (NullableCreateVMParams) MarshalJSON ¶
func (v NullableCreateVMParams) MarshalJSON() ([]byte, error)
func (*NullableCreateVMParams) Set ¶
func (v *NullableCreateVMParams) Set(val *CreateVMParams)
func (*NullableCreateVMParams) UnmarshalJSON ¶
func (v *NullableCreateVMParams) UnmarshalJSON(src []byte) error
func (*NullableCreateVMParams) Unset ¶
func (v *NullableCreateVMParams) Unset()
type NullableCronJob ¶
type NullableCronJob struct {
// contains filtered or unexported fields
}
func NewNullableCronJob ¶
func NewNullableCronJob(val *CronJob) *NullableCronJob
func (NullableCronJob) Get ¶
func (v NullableCronJob) Get() *CronJob
func (NullableCronJob) IsSet ¶
func (v NullableCronJob) IsSet() bool
func (NullableCronJob) MarshalJSON ¶
func (v NullableCronJob) MarshalJSON() ([]byte, error)
func (*NullableCronJob) Set ¶
func (v *NullableCronJob) Set(val *CronJob)
func (*NullableCronJob) UnmarshalJSON ¶
func (v *NullableCronJob) UnmarshalJSON(src []byte) error
func (*NullableCronJob) Unset ¶
func (v *NullableCronJob) Unset()
type NullableCronJobSchedule ¶
type NullableCronJobSchedule struct {
// contains filtered or unexported fields
}
func NewNullableCronJobSchedule ¶
func NewNullableCronJobSchedule(val *CronJobSchedule) *NullableCronJobSchedule
func (NullableCronJobSchedule) Get ¶
func (v NullableCronJobSchedule) Get() *CronJobSchedule
func (NullableCronJobSchedule) IsSet ¶
func (v NullableCronJobSchedule) IsSet() bool
func (NullableCronJobSchedule) MarshalJSON ¶
func (v NullableCronJobSchedule) MarshalJSON() ([]byte, error)
func (*NullableCronJobSchedule) Set ¶
func (v *NullableCronJobSchedule) Set(val *CronJobSchedule)
func (*NullableCronJobSchedule) UnmarshalJSON ¶
func (v *NullableCronJobSchedule) UnmarshalJSON(src []byte) error
func (*NullableCronJobSchedule) Unset ¶
func (v *NullableCronJobSchedule) Unset()
type NullableDataset ¶
type NullableDataset struct {
// contains filtered or unexported fields
}
func NewNullableDataset ¶
func NewNullableDataset(val *Dataset) *NullableDataset
func (NullableDataset) Get ¶
func (v NullableDataset) Get() *Dataset
func (NullableDataset) IsSet ¶
func (v NullableDataset) IsSet() bool
func (NullableDataset) MarshalJSON ¶
func (v NullableDataset) MarshalJSON() ([]byte, error)
func (*NullableDataset) Set ¶
func (v *NullableDataset) Set(val *Dataset)
func (*NullableDataset) UnmarshalJSON ¶
func (v *NullableDataset) UnmarshalJSON(src []byte) error
func (*NullableDataset) Unset ¶
func (v *NullableDataset) Unset()
type NullableDeleteGroupParams ¶
type NullableDeleteGroupParams struct {
// contains filtered or unexported fields
}
func NewNullableDeleteGroupParams ¶
func NewNullableDeleteGroupParams(val *DeleteGroupParams) *NullableDeleteGroupParams
func (NullableDeleteGroupParams) Get ¶
func (v NullableDeleteGroupParams) Get() *DeleteGroupParams
func (NullableDeleteGroupParams) IsSet ¶
func (v NullableDeleteGroupParams) IsSet() bool
func (NullableDeleteGroupParams) MarshalJSON ¶
func (v NullableDeleteGroupParams) MarshalJSON() ([]byte, error)
func (*NullableDeleteGroupParams) Set ¶
func (v *NullableDeleteGroupParams) Set(val *DeleteGroupParams)
func (*NullableDeleteGroupParams) UnmarshalJSON ¶
func (v *NullableDeleteGroupParams) UnmarshalJSON(src []byte) error
func (*NullableDeleteGroupParams) Unset ¶
func (v *NullableDeleteGroupParams) Unset()
type NullableDeleteUserParams ¶
type NullableDeleteUserParams struct {
// contains filtered or unexported fields
}
func NewNullableDeleteUserParams ¶
func NewNullableDeleteUserParams(val *DeleteUserParams) *NullableDeleteUserParams
func (NullableDeleteUserParams) Get ¶
func (v NullableDeleteUserParams) Get() *DeleteUserParams
func (NullableDeleteUserParams) IsSet ¶
func (v NullableDeleteUserParams) IsSet() bool
func (NullableDeleteUserParams) MarshalJSON ¶
func (v NullableDeleteUserParams) MarshalJSON() ([]byte, error)
func (*NullableDeleteUserParams) Set ¶
func (v *NullableDeleteUserParams) Set(val *DeleteUserParams)
func (*NullableDeleteUserParams) UnmarshalJSON ¶
func (v *NullableDeleteUserParams) UnmarshalJSON(src []byte) error
func (*NullableDeleteUserParams) Unset ¶
func (v *NullableDeleteUserParams) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableGroup ¶
type NullableGroup struct {
// contains filtered or unexported fields
}
func NewNullableGroup ¶
func NewNullableGroup(val *Group) *NullableGroup
func (NullableGroup) Get ¶
func (v NullableGroup) Get() *Group
func (NullableGroup) IsSet ¶
func (v NullableGroup) IsSet() bool
func (NullableGroup) MarshalJSON ¶
func (v NullableGroup) MarshalJSON() ([]byte, error)
func (*NullableGroup) Set ¶
func (v *NullableGroup) Set(val *Group)
func (*NullableGroup) UnmarshalJSON ¶
func (v *NullableGroup) UnmarshalJSON(src []byte) error
func (*NullableGroup) Unset ¶
func (v *NullableGroup) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableNetworkConfig ¶
type NullableNetworkConfig struct {
// contains filtered or unexported fields
}
func NewNullableNetworkConfig ¶
func NewNullableNetworkConfig(val *NetworkConfig) *NullableNetworkConfig
func (NullableNetworkConfig) Get ¶
func (v NullableNetworkConfig) Get() *NetworkConfig
func (NullableNetworkConfig) IsSet ¶
func (v NullableNetworkConfig) IsSet() bool
func (NullableNetworkConfig) MarshalJSON ¶
func (v NullableNetworkConfig) MarshalJSON() ([]byte, error)
func (*NullableNetworkConfig) Set ¶
func (v *NullableNetworkConfig) Set(val *NetworkConfig)
func (*NullableNetworkConfig) UnmarshalJSON ¶
func (v *NullableNetworkConfig) UnmarshalJSON(src []byte) error
func (*NullableNetworkConfig) Unset ¶
func (v *NullableNetworkConfig) Unset()
type NullableNetworkConfigServiceAnnouncement ¶
type NullableNetworkConfigServiceAnnouncement struct {
// contains filtered or unexported fields
}
func NewNullableNetworkConfigServiceAnnouncement ¶
func NewNullableNetworkConfigServiceAnnouncement(val *NetworkConfigServiceAnnouncement) *NullableNetworkConfigServiceAnnouncement
func (NullableNetworkConfigServiceAnnouncement) IsSet ¶
func (v NullableNetworkConfigServiceAnnouncement) IsSet() bool
func (NullableNetworkConfigServiceAnnouncement) MarshalJSON ¶
func (v NullableNetworkConfigServiceAnnouncement) MarshalJSON() ([]byte, error)
func (*NullableNetworkConfigServiceAnnouncement) Set ¶
func (v *NullableNetworkConfigServiceAnnouncement) Set(val *NetworkConfigServiceAnnouncement)
func (*NullableNetworkConfigServiceAnnouncement) UnmarshalJSON ¶
func (v *NullableNetworkConfigServiceAnnouncement) UnmarshalJSON(src []byte) error
func (*NullableNetworkConfigServiceAnnouncement) Unset ¶
func (v *NullableNetworkConfigServiceAnnouncement) Unset()
type NullableNetworkSummary ¶
type NullableNetworkSummary struct {
// contains filtered or unexported fields
}
func NewNullableNetworkSummary ¶
func NewNullableNetworkSummary(val *NetworkSummary) *NullableNetworkSummary
func (NullableNetworkSummary) Get ¶
func (v NullableNetworkSummary) Get() *NetworkSummary
func (NullableNetworkSummary) IsSet ¶
func (v NullableNetworkSummary) IsSet() bool
func (NullableNetworkSummary) MarshalJSON ¶
func (v NullableNetworkSummary) MarshalJSON() ([]byte, error)
func (*NullableNetworkSummary) Set ¶
func (v *NullableNetworkSummary) Set(val *NetworkSummary)
func (*NullableNetworkSummary) UnmarshalJSON ¶
func (v *NullableNetworkSummary) UnmarshalJSON(src []byte) error
func (*NullableNetworkSummary) Unset ¶
func (v *NullableNetworkSummary) Unset()
type NullableNetworkSummaryIpsValue ¶
type NullableNetworkSummaryIpsValue struct {
// contains filtered or unexported fields
}
func NewNullableNetworkSummaryIpsValue ¶
func NewNullableNetworkSummaryIpsValue(val *NetworkSummaryIpsValue) *NullableNetworkSummaryIpsValue
func (NullableNetworkSummaryIpsValue) Get ¶
func (v NullableNetworkSummaryIpsValue) Get() *NetworkSummaryIpsValue
func (NullableNetworkSummaryIpsValue) IsSet ¶
func (v NullableNetworkSummaryIpsValue) IsSet() bool
func (NullableNetworkSummaryIpsValue) MarshalJSON ¶
func (v NullableNetworkSummaryIpsValue) MarshalJSON() ([]byte, error)
func (*NullableNetworkSummaryIpsValue) Set ¶
func (v *NullableNetworkSummaryIpsValue) Set(val *NetworkSummaryIpsValue)
func (*NullableNetworkSummaryIpsValue) UnmarshalJSON ¶
func (v *NullableNetworkSummaryIpsValue) UnmarshalJSON(src []byte) error
func (*NullableNetworkSummaryIpsValue) Unset ¶
func (v *NullableNetworkSummaryIpsValue) Unset()
type NullablePool ¶
type NullablePool struct {
// contains filtered or unexported fields
}
func NewNullablePool ¶
func NewNullablePool(val *Pool) *NullablePool
func (NullablePool) Get ¶
func (v NullablePool) Get() *Pool
func (NullablePool) IsSet ¶
func (v NullablePool) IsSet() bool
func (NullablePool) MarshalJSON ¶
func (v NullablePool) MarshalJSON() ([]byte, error)
func (*NullablePool) Set ¶
func (v *NullablePool) Set(val *Pool)
func (*NullablePool) UnmarshalJSON ¶
func (v *NullablePool) UnmarshalJSON(src []byte) error
func (*NullablePool) Unset ¶
func (v *NullablePool) Unset()
type NullableService ¶
type NullableService struct {
// contains filtered or unexported fields
}
func NewNullableService ¶
func NewNullableService(val *Service) *NullableService
func (NullableService) Get ¶
func (v NullableService) Get() *Service
func (NullableService) IsSet ¶
func (v NullableService) IsSet() bool
func (NullableService) MarshalJSON ¶
func (v NullableService) MarshalJSON() ([]byte, error)
func (*NullableService) Set ¶
func (v *NullableService) Set(val *Service)
func (*NullableService) UnmarshalJSON ¶
func (v *NullableService) UnmarshalJSON(src []byte) error
func (*NullableService) Unset ¶
func (v *NullableService) Unset()
type NullableShareNFS ¶
type NullableShareNFS struct {
// contains filtered or unexported fields
}
func NewNullableShareNFS ¶
func NewNullableShareNFS(val *ShareNFS) *NullableShareNFS
func (NullableShareNFS) Get ¶
func (v NullableShareNFS) Get() *ShareNFS
func (NullableShareNFS) IsSet ¶
func (v NullableShareNFS) IsSet() bool
func (NullableShareNFS) MarshalJSON ¶
func (v NullableShareNFS) MarshalJSON() ([]byte, error)
func (*NullableShareNFS) Set ¶
func (v *NullableShareNFS) Set(val *ShareNFS)
func (*NullableShareNFS) UnmarshalJSON ¶
func (v *NullableShareNFS) UnmarshalJSON(src []byte) error
func (*NullableShareNFS) Unset ¶
func (v *NullableShareNFS) Unset()
type NullableShareSMB ¶
type NullableShareSMB struct {
// contains filtered or unexported fields
}
func NewNullableShareSMB ¶
func NewNullableShareSMB(val *ShareSMB) *NullableShareSMB
func (NullableShareSMB) Get ¶
func (v NullableShareSMB) Get() *ShareSMB
func (NullableShareSMB) IsSet ¶
func (v NullableShareSMB) IsSet() bool
func (NullableShareSMB) MarshalJSON ¶
func (v NullableShareSMB) MarshalJSON() ([]byte, error)
func (*NullableShareSMB) Set ¶
func (v *NullableShareSMB) Set(val *ShareSMB)
func (*NullableShareSMB) UnmarshalJSON ¶
func (v *NullableShareSMB) UnmarshalJSON(src []byte) error
func (*NullableShareSMB) Unset ¶
func (v *NullableShareSMB) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableUpdateDatasetParams ¶
type NullableUpdateDatasetParams struct {
// contains filtered or unexported fields
}
func NewNullableUpdateDatasetParams ¶
func NewNullableUpdateDatasetParams(val *UpdateDatasetParams) *NullableUpdateDatasetParams
func (NullableUpdateDatasetParams) Get ¶
func (v NullableUpdateDatasetParams) Get() *UpdateDatasetParams
func (NullableUpdateDatasetParams) IsSet ¶
func (v NullableUpdateDatasetParams) IsSet() bool
func (NullableUpdateDatasetParams) MarshalJSON ¶
func (v NullableUpdateDatasetParams) MarshalJSON() ([]byte, error)
func (*NullableUpdateDatasetParams) Set ¶
func (v *NullableUpdateDatasetParams) Set(val *UpdateDatasetParams)
func (*NullableUpdateDatasetParams) UnmarshalJSON ¶
func (v *NullableUpdateDatasetParams) UnmarshalJSON(src []byte) error
func (*NullableUpdateDatasetParams) Unset ¶
func (v *NullableUpdateDatasetParams) Unset()
type NullableUpdateUserParams ¶
type NullableUpdateUserParams struct {
// contains filtered or unexported fields
}
func NewNullableUpdateUserParams ¶
func NewNullableUpdateUserParams(val *UpdateUserParams) *NullableUpdateUserParams
func (NullableUpdateUserParams) Get ¶
func (v NullableUpdateUserParams) Get() *UpdateUserParams
func (NullableUpdateUserParams) IsSet ¶
func (v NullableUpdateUserParams) IsSet() bool
func (NullableUpdateUserParams) MarshalJSON ¶
func (v NullableUpdateUserParams) MarshalJSON() ([]byte, error)
func (*NullableUpdateUserParams) Set ¶
func (v *NullableUpdateUserParams) Set(val *UpdateUserParams)
func (*NullableUpdateUserParams) UnmarshalJSON ¶
func (v *NullableUpdateUserParams) UnmarshalJSON(src []byte) error
func (*NullableUpdateUserParams) Unset ¶
func (v *NullableUpdateUserParams) Unset()
type NullableUpdateVMParams ¶
type NullableUpdateVMParams struct {
// contains filtered or unexported fields
}
func NewNullableUpdateVMParams ¶
func NewNullableUpdateVMParams(val *UpdateVMParams) *NullableUpdateVMParams
func (NullableUpdateVMParams) Get ¶
func (v NullableUpdateVMParams) Get() *UpdateVMParams
func (NullableUpdateVMParams) IsSet ¶
func (v NullableUpdateVMParams) IsSet() bool
func (NullableUpdateVMParams) MarshalJSON ¶
func (v NullableUpdateVMParams) MarshalJSON() ([]byte, error)
func (*NullableUpdateVMParams) Set ¶
func (v *NullableUpdateVMParams) Set(val *UpdateVMParams)
func (*NullableUpdateVMParams) UnmarshalJSON ¶
func (v *NullableUpdateVMParams) UnmarshalJSON(src []byte) error
func (*NullableUpdateVMParams) Unset ¶
func (v *NullableUpdateVMParams) Unset()
type NullableUser ¶
type NullableUser struct {
// contains filtered or unexported fields
}
func NewNullableUser ¶
func NewNullableUser(val *User) *NullableUser
func (NullableUser) Get ¶
func (v NullableUser) Get() *User
func (NullableUser) IsSet ¶
func (v NullableUser) IsSet() bool
func (NullableUser) MarshalJSON ¶
func (v NullableUser) MarshalJSON() ([]byte, error)
func (*NullableUser) Set ¶
func (v *NullableUser) Set(val *User)
func (*NullableUser) UnmarshalJSON ¶
func (v *NullableUser) UnmarshalJSON(src []byte) error
func (*NullableUser) Unset ¶
func (v *NullableUser) Unset()
type NullableUserGroup ¶
type NullableUserGroup struct {
// contains filtered or unexported fields
}
func NewNullableUserGroup ¶
func NewNullableUserGroup(val *UserGroup) *NullableUserGroup
func (NullableUserGroup) Get ¶
func (v NullableUserGroup) Get() *UserGroup
func (NullableUserGroup) IsSet ¶
func (v NullableUserGroup) IsSet() bool
func (NullableUserGroup) MarshalJSON ¶
func (v NullableUserGroup) MarshalJSON() ([]byte, error)
func (*NullableUserGroup) Set ¶
func (v *NullableUserGroup) Set(val *UserGroup)
func (*NullableUserGroup) UnmarshalJSON ¶
func (v *NullableUserGroup) UnmarshalJSON(src []byte) error
func (*NullableUserGroup) Unset ¶
func (v *NullableUserGroup) Unset()
type NullableVM ¶
type NullableVM struct {
// contains filtered or unexported fields
}
func NewNullableVM ¶
func NewNullableVM(val *VM) *NullableVM
func (NullableVM) Get ¶
func (v NullableVM) Get() *VM
func (NullableVM) IsSet ¶
func (v NullableVM) IsSet() bool
func (NullableVM) MarshalJSON ¶
func (v NullableVM) MarshalJSON() ([]byte, error)
func (*NullableVM) Set ¶
func (v *NullableVM) Set(val *VM)
func (*NullableVM) UnmarshalJSON ¶
func (v *NullableVM) UnmarshalJSON(src []byte) error
func (*NullableVM) Unset ¶
func (v *NullableVM) Unset()
type NullableVMDevice ¶
type NullableVMDevice struct {
// contains filtered or unexported fields
}
func NewNullableVMDevice ¶
func NewNullableVMDevice(val *VMDevice) *NullableVMDevice
func (NullableVMDevice) Get ¶
func (v NullableVMDevice) Get() *VMDevice
func (NullableVMDevice) IsSet ¶
func (v NullableVMDevice) IsSet() bool
func (NullableVMDevice) MarshalJSON ¶
func (v NullableVMDevice) MarshalJSON() ([]byte, error)
func (*NullableVMDevice) Set ¶
func (v *NullableVMDevice) Set(val *VMDevice)
func (*NullableVMDevice) UnmarshalJSON ¶
func (v *NullableVMDevice) UnmarshalJSON(src []byte) error
func (*NullableVMDevice) Unset ¶
func (v *NullableVMDevice) Unset()
type NullableVMStatus ¶
type NullableVMStatus struct {
// contains filtered or unexported fields
}
func NewNullableVMStatus ¶
func NewNullableVMStatus(val *VMStatus) *NullableVMStatus
func (NullableVMStatus) Get ¶
func (v NullableVMStatus) Get() *VMStatus
func (NullableVMStatus) IsSet ¶
func (v NullableVMStatus) IsSet() bool
func (NullableVMStatus) MarshalJSON ¶
func (v NullableVMStatus) MarshalJSON() ([]byte, error)
func (*NullableVMStatus) Set ¶
func (v *NullableVMStatus) Set(val *VMStatus)
func (*NullableVMStatus) UnmarshalJSON ¶
func (v *NullableVMStatus) UnmarshalJSON(src []byte) error
func (*NullableVMStatus) Unset ¶
func (v *NullableVMStatus) Unset()
type Pool ¶
type Pool struct { Id int32 `json:"id"` Name string `json:"name"` Guid *string `json:"guid,omitempty"` Path string `json:"path"` Status *string `json:"status,omitempty"` Healthy *bool `json:"healthy,omitempty"` IsDecrypted *bool `json:"is_decrypted,omitempty"` EncryptkeyPath *string `json:"encryptkey_path,omitempty"` AdditionalProperties map[string]interface{} }
Pool struct for Pool
func NewPool ¶
NewPool instantiates a new Pool 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
func NewPoolWithDefaults ¶
func NewPoolWithDefaults() *Pool
NewPoolWithDefaults instantiates a new Pool 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
func (*Pool) GetEncryptkeyPath ¶
GetEncryptkeyPath returns the EncryptkeyPath field value if set, zero value otherwise.
func (*Pool) GetEncryptkeyPathOk ¶
GetEncryptkeyPathOk returns a tuple with the EncryptkeyPath field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pool) GetGuidOk ¶
GetGuidOk returns a tuple with the Guid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pool) GetHealthy ¶
GetHealthy returns the Healthy field value if set, zero value otherwise.
func (*Pool) GetHealthyOk ¶
GetHealthyOk returns a tuple with the Healthy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pool) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Pool) GetIsDecrypted ¶
GetIsDecrypted returns the IsDecrypted field value if set, zero value otherwise.
func (*Pool) GetIsDecryptedOk ¶
GetIsDecryptedOk returns a tuple with the IsDecrypted field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pool) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Pool) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*Pool) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Pool) HasEncryptkeyPath ¶
HasEncryptkeyPath returns a boolean if a field has been set.
func (*Pool) HasHealthy ¶
HasHealthy returns a boolean if a field has been set.
func (*Pool) HasIsDecrypted ¶
HasIsDecrypted returns a boolean if a field has been set.
func (Pool) MarshalJSON ¶
func (*Pool) SetEncryptkeyPath ¶
SetEncryptkeyPath gets a reference to the given string and assigns it to the EncryptkeyPath field.
func (*Pool) SetGuid ¶
SetGuid gets a reference to the given string and assigns it to the Guid field.
func (*Pool) SetHealthy ¶
SetHealthy gets a reference to the given bool and assigns it to the Healthy field.
func (*Pool) SetIsDecrypted ¶
SetIsDecrypted gets a reference to the given bool and assigns it to the IsDecrypted field.
func (*Pool) SetStatus ¶
SetStatus gets a reference to the given string and assigns it to the Status field.
func (*Pool) UnmarshalJSON ¶
type PoolApiService ¶
type PoolApiService service
PoolApiService PoolApi service
func (*PoolApiService) ListPools ¶
func (a *PoolApiService) ListPools(ctx context.Context) ApiListPoolsRequest
ListPools Method for ListPools
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListPoolsRequest
func (*PoolApiService) ListPoolsExecute ¶
func (a *PoolApiService) ListPoolsExecute(r ApiListPoolsRequest) ([]Pool, *http.Response, error)
Execute executes the request
@return []Pool
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type Service ¶
type Service struct { Id int32 `json:"id"` Service string `json:"service"` Enable *bool `json:"enable,omitempty"` State *string `json:"state,omitempty"` Pids []int32 `json:"pids,omitempty"` AdditionalProperties map[string]interface{} }
Service struct for Service
func NewService ¶
NewService instantiates a new Service 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
func NewServiceWithDefaults ¶
func NewServiceWithDefaults() *Service
NewServiceWithDefaults instantiates a new Service 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
func (*Service) GetEnableOk ¶
GetEnableOk returns a tuple with the Enable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*Service) GetPidsOk ¶
GetPidsOk returns a tuple with the Pids field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Service) GetService ¶
GetService returns the Service field value
func (*Service) GetServiceOk ¶
GetServiceOk returns a tuple with the Service field value and a boolean to check if the value has been set.
func (*Service) GetStateOk ¶
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (Service) MarshalJSON ¶
func (*Service) SetEnable ¶
SetEnable gets a reference to the given bool and assigns it to the Enable field.
func (*Service) SetPids ¶
SetPids gets a reference to the given []int32 and assigns it to the Pids field.
func (*Service) SetState ¶
SetState gets a reference to the given string and assigns it to the State field.
func (*Service) UnmarshalJSON ¶
type ServiceApiService ¶
type ServiceApiService service
ServiceApiService ServiceApi service
func (*ServiceApiService) GetService ¶
func (a *ServiceApiService) GetService(ctx context.Context, id int32) ApiGetServiceRequest
GetService Method for GetService
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id ID of the cronjob @return ApiGetServiceRequest
func (*ServiceApiService) GetServiceExecute ¶
func (a *ServiceApiService) GetServiceExecute(r ApiGetServiceRequest) (*Service, *http.Response, error)
Execute executes the request
@return Service
type ShareNFS ¶
type ShareNFS struct { string `json:"path,omitempty"` // `aliases` IGNORED, for now. // `networks` is a list of authorized networks that are allowed to access the share having format \"network/mask\" CIDR notation. If empty, all networks are allowed. }Path *
ShareNFS struct for ShareNFS
func NewShareNFS ¶
NewShareNFS instantiates a new ShareNFS 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
func NewShareNFSWithDefaults ¶
func NewShareNFSWithDefaults() *ShareNFS
NewShareNFSWithDefaults instantiates a new ShareNFS 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
func (*ShareNFS) GetAliases ¶
GetAliases returns the Aliases field value if set, zero value otherwise.
func (*ShareNFS) GetAliasesOk ¶
GetAliasesOk returns a tuple with the Aliases field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareNFS) GetAlldirs ¶
GetAlldirs returns the Alldirs field value if set, zero value otherwise.
func (*ShareNFS) GetAlldirsOk ¶
GetAlldirsOk returns a tuple with the Alldirs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareNFS) GetComment ¶
GetComment returns the Comment field value if set, zero value otherwise.
func (*ShareNFS) GetCommentOk ¶
GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareNFS) GetEnabled ¶
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*ShareNFS) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareNFS) GetHostsOk ¶
GetHostsOk returns a tuple with the Hosts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareNFS) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ShareNFS) GetMapallGroup ¶
GetMapallGroup returns the MapallGroup field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShareNFS) GetMapallGroupOk ¶
GetMapallGroupOk returns a tuple with the MapallGroup field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareNFS) GetMapallUser ¶
GetMapallUser returns the MapallUser field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShareNFS) GetMapallUserOk ¶
GetMapallUserOk returns a tuple with the MapallUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareNFS) GetMaprootGroup ¶
GetMaprootGroup returns the MaprootGroup field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShareNFS) GetMaprootGroupOk ¶
GetMaprootGroupOk returns a tuple with the MaprootGroup field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareNFS) GetMaprootUser ¶
GetMaprootUser returns the MaprootUser field value if set, zero value otherwise (both if not set or set to explicit null).
func (*ShareNFS) GetMaprootUserOk ¶
GetMaprootUserOk returns a tuple with the MaprootUser field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*ShareNFS) GetNetworks ¶
GetNetworks returns the Networks field value if set, zero value otherwise.
func (*ShareNFS) GetNetworksOk ¶
GetNetworksOk returns a tuple with the Networks field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareNFS) GetPathOk ¶
GetPathOk returns a tuple with the Path field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareNFS) GetQuietOk ¶
GetQuietOk returns a tuple with the Quiet field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareNFS) GetRoOk ¶
GetRoOk returns a tuple with the Ro field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareNFS) GetSecurity ¶
GetSecurity returns the Security field value if set, zero value otherwise.
func (*ShareNFS) GetSecurityOk ¶
GetSecurityOk returns a tuple with the Security field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareNFS) HasAliases ¶
HasAliases returns a boolean if a field has been set.
func (*ShareNFS) HasAlldirs ¶
HasAlldirs returns a boolean if a field has been set.
func (*ShareNFS) HasComment ¶
HasComment returns a boolean if a field has been set.
func (*ShareNFS) HasEnabled ¶
HasEnabled returns a boolean if a field has been set.
func (*ShareNFS) HasMapallGroup ¶
HasMapallGroup returns a boolean if a field has been set.
func (*ShareNFS) HasMapallUser ¶
HasMapallUser returns a boolean if a field has been set.
func (*ShareNFS) HasMaprootGroup ¶
HasMaprootGroup returns a boolean if a field has been set.
func (*ShareNFS) HasMaprootUser ¶
HasMaprootUser returns a boolean if a field has been set.
func (*ShareNFS) HasNetworks ¶
HasNetworks returns a boolean if a field has been set.
func (*ShareNFS) HasSecurity ¶
HasSecurity returns a boolean if a field has been set.
func (ShareNFS) MarshalJSON ¶
func (*ShareNFS) SetAliases ¶
SetAliases gets a reference to the given []string and assigns it to the Aliases field.
func (*ShareNFS) SetAlldirs ¶
SetAlldirs gets a reference to the given bool and assigns it to the Alldirs field.
func (*ShareNFS) SetComment ¶
SetComment gets a reference to the given string and assigns it to the Comment field.
func (*ShareNFS) SetEnabled ¶
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*ShareNFS) SetHosts ¶
SetHosts gets a reference to the given []string and assigns it to the Hosts field.
func (*ShareNFS) SetMapallGroup ¶
SetMapallGroup gets a reference to the given NullableString and assigns it to the MapallGroup field.
func (*ShareNFS) SetMapallGroupNil ¶
func (o *ShareNFS) SetMapallGroupNil()
SetMapallGroupNil sets the value for MapallGroup to be an explicit nil
func (*ShareNFS) SetMapallUser ¶
SetMapallUser gets a reference to the given NullableString and assigns it to the MapallUser field.
func (*ShareNFS) SetMapallUserNil ¶
func (o *ShareNFS) SetMapallUserNil()
SetMapallUserNil sets the value for MapallUser to be an explicit nil
func (*ShareNFS) SetMaprootGroup ¶
SetMaprootGroup gets a reference to the given NullableString and assigns it to the MaprootGroup field.
func (*ShareNFS) SetMaprootGroupNil ¶
func (o *ShareNFS) SetMaprootGroupNil()
SetMaprootGroupNil sets the value for MaprootGroup to be an explicit nil
func (*ShareNFS) SetMaprootUser ¶
SetMaprootUser gets a reference to the given NullableString and assigns it to the MaprootUser field.
func (*ShareNFS) SetMaprootUserNil ¶
func (o *ShareNFS) SetMaprootUserNil()
SetMaprootUserNil sets the value for MaprootUser to be an explicit nil
func (*ShareNFS) SetNetworks ¶
SetNetworks gets a reference to the given []string and assigns it to the Networks field.
func (*ShareNFS) SetPath ¶
SetPath gets a reference to the given string and assigns it to the Path field.
func (*ShareNFS) SetQuiet ¶
SetQuiet gets a reference to the given bool and assigns it to the Quiet field.
func (*ShareNFS) SetSecurity ¶
SetSecurity gets a reference to the given []string and assigns it to the Security field.
func (*ShareNFS) UnmarshalJSON ¶
func (*ShareNFS) UnsetMapallGroup ¶
func (o *ShareNFS) UnsetMapallGroup()
UnsetMapallGroup ensures that no value is present for MapallGroup, not even an explicit nil
func (*ShareNFS) UnsetMapallUser ¶
func (o *ShareNFS) UnsetMapallUser()
UnsetMapallUser ensures that no value is present for MapallUser, not even an explicit nil
func (*ShareNFS) UnsetMaprootGroup ¶
func (o *ShareNFS) UnsetMaprootGroup()
UnsetMaprootGroup ensures that no value is present for MaprootGroup, not even an explicit nil
func (*ShareNFS) UnsetMaprootUser ¶
func (o *ShareNFS) UnsetMaprootUser()
UnsetMaprootUser ensures that no value is present for MaprootUser, not even an explicit nil
type ShareSMB ¶
type ShareSMB struct {}
ShareSMB struct for ShareSMB
func NewShareSMB ¶
NewShareSMB instantiates a new ShareSMB 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
func NewShareSMBWithDefaults ¶
func NewShareSMBWithDefaults() *ShareSMB
NewShareSMBWithDefaults instantiates a new ShareSMB 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
func (*ShareSMB) GetAaplNameMangling ¶
GetAaplNameMangling returns the AaplNameMangling field value if set, zero value otherwise.
func (*ShareSMB) GetAaplNameManglingOk ¶
GetAaplNameManglingOk returns a tuple with the AaplNameMangling field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetAbeOk ¶
GetAbeOk returns a tuple with the Abe field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetAclOk ¶
GetAclOk returns a tuple with the Acl field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetAuxsmbconf ¶
GetAuxsmbconf returns the Auxsmbconf field value if set, zero value otherwise.
func (*ShareSMB) GetAuxsmbconfOk ¶
GetAuxsmbconfOk returns a tuple with the Auxsmbconf field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetBrowsable ¶
GetBrowsable returns the Browsable field value if set, zero value otherwise.
func (*ShareSMB) GetBrowsableOk ¶
GetBrowsableOk returns a tuple with the Browsable field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetComment ¶
GetComment returns the Comment field value if set, zero value otherwise.
func (*ShareSMB) GetCommentOk ¶
GetCommentOk returns a tuple with the Comment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetDurablehandle ¶
GetDurablehandle returns the Durablehandle field value if set, zero value otherwise.
func (*ShareSMB) GetDurablehandleOk ¶
GetDurablehandleOk returns a tuple with the Durablehandle field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetEnabled ¶
GetEnabled returns the Enabled field value if set, zero value otherwise.
func (*ShareSMB) GetEnabledOk ¶
GetEnabledOk returns a tuple with the Enabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetFsrvpOk ¶
GetFsrvpOk returns a tuple with the Fsrvp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetGuestok ¶
GetGuestok returns the Guestok field value if set, zero value otherwise.
func (*ShareSMB) GetGuestokOk ¶
GetGuestokOk returns a tuple with the Guestok field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetHomeOk ¶
GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetHostsallow ¶
GetHostsallow returns the Hostsallow field value if set, zero value otherwise.
func (*ShareSMB) GetHostsallowOk ¶
GetHostsallowOk returns a tuple with the Hostsallow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetHostsdeny ¶
GetHostsdeny returns the Hostsdeny field value if set, zero value otherwise.
func (*ShareSMB) GetHostsdenyOk ¶
GetHostsdenyOk returns a tuple with the Hostsdeny field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*ShareSMB) GetLockedOk ¶
GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetPathOk ¶
GetPathOk returns a tuple with the Path field value and a boolean to check if the value has been set.
func (*ShareSMB) GetPathSuffix ¶
GetPathSuffix returns the PathSuffix field value if set, zero value otherwise.
func (*ShareSMB) GetPathSuffixOk ¶
GetPathSuffixOk returns a tuple with the PathSuffix field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetPurpose ¶
GetPurpose returns the Purpose field value if set, zero value otherwise.
func (*ShareSMB) GetPurposeOk ¶
GetPurposeOk returns a tuple with the Purpose field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetRecyclebin ¶
GetRecyclebin returns the Recyclebin field value if set, zero value otherwise.
func (*ShareSMB) GetRecyclebinOk ¶
GetRecyclebinOk returns a tuple with the Recyclebin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetRoOk ¶
GetRoOk returns a tuple with the Ro field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetShadowcopy ¶
GetShadowcopy returns the Shadowcopy field value if set, zero value otherwise.
func (*ShareSMB) GetShadowcopyOk ¶
GetShadowcopyOk returns a tuple with the Shadowcopy field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetStreams ¶
GetStreams returns the Streams field value if set, zero value otherwise.
func (*ShareSMB) GetStreamsOk ¶
GetStreamsOk returns a tuple with the Streams field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetTimemachine ¶
GetTimemachine returns the Timemachine field value if set, zero value otherwise.
func (*ShareSMB) GetTimemachineOk ¶
GetTimemachineOk returns a tuple with the Timemachine field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) GetVuidOk ¶
GetVuidOk returns a tuple with the Vuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ShareSMB) HasAaplNameMangling ¶
HasAaplNameMangling returns a boolean if a field has been set.
func (*ShareSMB) HasAuxsmbconf ¶
HasAuxsmbconf returns a boolean if a field has been set.
func (*ShareSMB) HasBrowsable ¶
HasBrowsable returns a boolean if a field has been set.
func (*ShareSMB) HasComment ¶
HasComment returns a boolean if a field has been set.
func (*ShareSMB) HasDurablehandle ¶
HasDurablehandle returns a boolean if a field has been set.
func (*ShareSMB) HasEnabled ¶
HasEnabled returns a boolean if a field has been set.
func (*ShareSMB) HasGuestok ¶
HasGuestok returns a boolean if a field has been set.
func (*ShareSMB) HasHostsallow ¶
HasHostsallow returns a boolean if a field has been set.
func (*ShareSMB) HasHostsdeny ¶
HasHostsdeny returns a boolean if a field has been set.
func (*ShareSMB) HasPathSuffix ¶
HasPathSuffix returns a boolean if a field has been set.
func (*ShareSMB) HasPurpose ¶
HasPurpose returns a boolean if a field has been set.
func (*ShareSMB) HasRecyclebin ¶
HasRecyclebin returns a boolean if a field has been set.
func (*ShareSMB) HasShadowcopy ¶
HasShadowcopy returns a boolean if a field has been set.
func (*ShareSMB) HasStreams ¶
HasStreams returns a boolean if a field has been set.
func (*ShareSMB) HasTimemachine ¶
HasTimemachine returns a boolean if a field has been set.
func (ShareSMB) MarshalJSON ¶
func (*ShareSMB) SetAaplNameMangling ¶
SetAaplNameMangling gets a reference to the given bool and assigns it to the AaplNameMangling field.
func (*ShareSMB) SetAbe ¶
SetAbe gets a reference to the given bool and assigns it to the Abe field.
func (*ShareSMB) SetAcl ¶
SetAcl gets a reference to the given bool and assigns it to the Acl field.
func (*ShareSMB) SetAuxsmbconf ¶
SetAuxsmbconf gets a reference to the given string and assigns it to the Auxsmbconf field.
func (*ShareSMB) SetBrowsable ¶
SetBrowsable gets a reference to the given bool and assigns it to the Browsable field.
func (*ShareSMB) SetComment ¶
SetComment gets a reference to the given string and assigns it to the Comment field.
func (*ShareSMB) SetDurablehandle ¶
SetDurablehandle gets a reference to the given bool and assigns it to the Durablehandle field.
func (*ShareSMB) SetEnabled ¶
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.
func (*ShareSMB) SetFsrvp ¶
SetFsrvp gets a reference to the given bool and assigns it to the Fsrvp field.
func (*ShareSMB) SetGuestok ¶
SetGuestok gets a reference to the given bool and assigns it to the Guestok field.
func (*ShareSMB) SetHome ¶
SetHome gets a reference to the given bool and assigns it to the Home field.
func (*ShareSMB) SetHostsallow ¶
SetHostsallow gets a reference to the given []string and assigns it to the Hostsallow field.
func (*ShareSMB) SetHostsdeny ¶
SetHostsdeny gets a reference to the given []string and assigns it to the Hostsdeny field.
func (*ShareSMB) SetLocked ¶
SetLocked gets a reference to the given bool and assigns it to the Locked field.
func (*ShareSMB) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*ShareSMB) SetPathSuffix ¶
SetPathSuffix gets a reference to the given string and assigns it to the PathSuffix field.
func (*ShareSMB) SetPurpose ¶
SetPurpose gets a reference to the given string and assigns it to the Purpose field.
func (*ShareSMB) SetRecyclebin ¶
SetRecyclebin gets a reference to the given bool and assigns it to the Recyclebin field.
func (*ShareSMB) SetShadowcopy ¶
SetShadowcopy gets a reference to the given bool and assigns it to the Shadowcopy field.
func (*ShareSMB) SetStreams ¶
SetStreams gets a reference to the given bool and assigns it to the Streams field.
func (*ShareSMB) SetTimemachine ¶
SetTimemachine gets a reference to the given bool and assigns it to the Timemachine field.
func (*ShareSMB) SetVuid ¶
SetVuid gets a reference to the given string and assigns it to the Vuid field.
func (*ShareSMB) UnmarshalJSON ¶
type SharingApiService ¶
type SharingApiService service
SharingApiService SharingApi service
func (*SharingApiService) CreateShareNFS ¶
func (a *SharingApiService) CreateShareNFS(ctx context.Context) ApiCreateShareNFSRequest
CreateShareNFS Method for CreateShareNFS
Create a new NFS Share.
`paths` is a list of valid paths which are configured to be shared on this share.
`networks` is a list of authorized networks that are allowed to access the share having format "network/mask" CIDR notation. If empty, all networks are allowed.
`hosts` is a list of IP's/hostnames which are allowed to access the share. If empty, all IP's/hostnames are allowed.
`alldirs` is a boolean value which when set indicates that the client can mount any subdirectories of the selected pool or dataset.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateShareNFSRequest
func (*SharingApiService) CreateShareNFSExecute ¶
func (a *SharingApiService) CreateShareNFSExecute(r ApiCreateShareNFSRequest) (*ShareNFS, *http.Response, error)
Execute executes the request
@return ShareNFS
func (*SharingApiService) CreateShareSMB ¶
func (a *SharingApiService) CreateShareSMB(ctx context.Context) ApiCreateShareSMBRequest
CreateShareSMB Method for CreateShareSMB
Create an SMB Share.
`purpose` applies common configuration presets depending on intended purpose.
`timemachine` when set, enables Time Machine backups for this share.
`ro` when enabled, prohibits write access to the share.
`guestok` when enabled, allows access to this share without a password.
`hostsallow` is a list of hostnames / IP addresses which have access to this share.
`hostsdeny` is a list of hostnames / IP addresses which are not allowed access to this share. If a handful of hostnames are to be only allowed access, `hostsdeny` can be passed "ALL" which means that it will deny access to ALL hostnames except for the ones which have been listed in `hostsallow`.
`acl` enables support for storing the SMB Security Descriptor as a Filesystem ACL.
`streams` enables support for storing alternate datastreams as filesystem extended attributes.
`fsrvp` enables support for the filesystem remote VSS protocol. This allows clients to create ZFS snapshots through RPC.
`shadowcopy` enables support for the volume shadow copy service.
`auxsmbconf` is a string of additional smb4.conf parameters not covered by the system's API.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateShareSMBRequest
func (*SharingApiService) CreateShareSMBExecute ¶
func (a *SharingApiService) CreateShareSMBExecute(r ApiCreateShareSMBRequest) (*ShareSMB, *http.Response, error)
Execute executes the request
@return ShareSMB
func (*SharingApiService) GetShareNFS ¶
func (a *SharingApiService) GetShareNFS(ctx context.Context, id int32) ApiGetShareNFSRequest
GetShareNFS Method for GetShareNFS
Get NFS Share of `id`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetShareNFSRequest
func (*SharingApiService) GetShareNFSExecute ¶
func (a *SharingApiService) GetShareNFSExecute(r ApiGetShareNFSRequest) (*ShareNFS, *http.Response, error)
Execute executes the request
@return ShareNFS
func (*SharingApiService) GetShareSMB ¶
func (a *SharingApiService) GetShareSMB(ctx context.Context, id int32) ApiGetShareSMBRequest
GetShareSMB Method for GetShareSMB
Get SMB Share of `id`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetShareSMBRequest
func (*SharingApiService) GetShareSMBExecute ¶
func (a *SharingApiService) GetShareSMBExecute(r ApiGetShareSMBRequest) (*ShareSMB, *http.Response, error)
Execute executes the request
@return ShareSMB
func (*SharingApiService) ListSharesNFS ¶
func (a *SharingApiService) ListSharesNFS(ctx context.Context) ApiListSharesNFSRequest
ListSharesNFS Method for ListSharesNFS
Get a list of NFS shares
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListSharesNFSRequest
func (*SharingApiService) ListSharesNFSExecute ¶
func (a *SharingApiService) ListSharesNFSExecute(r ApiListSharesNFSRequest) ([]ShareNFS, *http.Response, error)
Execute executes the request
@return []ShareNFS
func (*SharingApiService) ListSharesSMB ¶
func (a *SharingApiService) ListSharesSMB(ctx context.Context) ApiListSharesSMBRequest
ListSharesSMB Method for ListSharesSMB
Get a list of SMB shares
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListSharesSMBRequest
func (*SharingApiService) ListSharesSMBExecute ¶
func (a *SharingApiService) ListSharesSMBExecute(r ApiListSharesSMBRequest) ([]ShareSMB, *http.Response, error)
Execute executes the request
@return []ShareSMB
func (*SharingApiService) RemoveShareNFS ¶
func (a *SharingApiService) RemoveShareNFS(ctx context.Context, id int32) ApiRemoveShareNFSRequest
RemoveShareNFS Method for RemoveShareNFS
Delete NFS Share of `id`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiRemoveShareNFSRequest
func (*SharingApiService) RemoveShareNFSExecute ¶
func (a *SharingApiService) RemoveShareNFSExecute(r ApiRemoveShareNFSRequest) (*http.Response, error)
Execute executes the request
func (*SharingApiService) RemoveShareSMB ¶
func (a *SharingApiService) RemoveShareSMB(ctx context.Context, id int32) ApiRemoveShareSMBRequest
RemoveShareSMB Method for RemoveShareSMB
Delete SMB Share of `id`. This will forcibly disconnect SMB clients that are accessing the share.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiRemoveShareSMBRequest
func (*SharingApiService) RemoveShareSMBExecute ¶
func (a *SharingApiService) RemoveShareSMBExecute(r ApiRemoveShareSMBRequest) (*http.Response, error)
Execute executes the request
func (*SharingApiService) UpdateShareNFS ¶
func (a *SharingApiService) UpdateShareNFS(ctx context.Context, id int32) ApiUpdateShareNFSRequest
UpdateShareNFS Method for UpdateShareNFS
Update NFS Share of `id`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateShareNFSRequest
func (*SharingApiService) UpdateShareNFSExecute ¶
func (a *SharingApiService) UpdateShareNFSExecute(r ApiUpdateShareNFSRequest) (*ShareNFS, *http.Response, error)
Execute executes the request
@return ShareNFS
func (*SharingApiService) UpdateShareSMB ¶
func (a *SharingApiService) UpdateShareSMB(ctx context.Context, id int32) ApiUpdateShareSMBRequest
UpdateShareSMB Method for UpdateShareSMB
Update SMB Share of `id`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateShareSMBRequest
func (*SharingApiService) UpdateShareSMBExecute ¶
func (a *SharingApiService) UpdateShareSMBExecute(r ApiUpdateShareSMBRequest) (*ShareSMB, *http.Response, error)
Execute executes the request
@return ShareSMB
type UpdateDatasetParams ¶
type UpdateDatasetParams struct { Atime *string `json:"atime,omitempty"` Aclmode *string `json:"aclmode,omitempty"` Comments *string `json:"comments,omitempty"` Compression *string `json:"compression,omitempty"` Copies *int32 `json:"copies,omitempty"` Deduplication *string `json:"deduplication,omitempty"` Exec *string `json:"exec,omitempty"` ForceSize *bool `json:"force_size,omitempty"` Quota *int64 `json:"quota,omitempty"` Readonly *string `json:"readonly,omitempty"` Recordsize *string `json:"recordsize,omitempty"` Refquota *int64 `json:"refquota,omitempty"` Refreservation *int64 `json:"refreservation,omitempty"` Volsize *int64 `json:"volsize,omitempty"` Snapdir *string `json:"snapdir,omitempty"` Sync *string `json:"sync,omitempty"` AdditionalProperties map[string]interface{} }
UpdateDatasetParams struct for UpdateDatasetParams
func NewUpdateDatasetParams ¶
func NewUpdateDatasetParams() *UpdateDatasetParams
NewUpdateDatasetParams instantiates a new UpdateDatasetParams 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
func NewUpdateDatasetParamsWithDefaults ¶
func NewUpdateDatasetParamsWithDefaults() *UpdateDatasetParams
NewUpdateDatasetParamsWithDefaults instantiates a new UpdateDatasetParams 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
func (*UpdateDatasetParams) GetAclmode ¶
func (o *UpdateDatasetParams) GetAclmode() string
GetAclmode returns the Aclmode field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetAclmodeOk ¶
func (o *UpdateDatasetParams) GetAclmodeOk() (*string, bool)
GetAclmodeOk returns a tuple with the Aclmode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetAtime ¶
func (o *UpdateDatasetParams) GetAtime() string
GetAtime returns the Atime field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetAtimeOk ¶
func (o *UpdateDatasetParams) GetAtimeOk() (*string, bool)
GetAtimeOk returns a tuple with the Atime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetComments ¶
func (o *UpdateDatasetParams) GetComments() string
GetComments returns the Comments field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetCommentsOk ¶
func (o *UpdateDatasetParams) GetCommentsOk() (*string, bool)
GetCommentsOk returns a tuple with the Comments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetCompression ¶
func (o *UpdateDatasetParams) GetCompression() string
GetCompression returns the Compression field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetCompressionOk ¶
func (o *UpdateDatasetParams) GetCompressionOk() (*string, bool)
GetCompressionOk returns a tuple with the Compression field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetCopies ¶
func (o *UpdateDatasetParams) GetCopies() int32
GetCopies returns the Copies field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetCopiesOk ¶
func (o *UpdateDatasetParams) GetCopiesOk() (*int32, bool)
GetCopiesOk returns a tuple with the Copies field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetDeduplication ¶
func (o *UpdateDatasetParams) GetDeduplication() string
GetDeduplication returns the Deduplication field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetDeduplicationOk ¶
func (o *UpdateDatasetParams) GetDeduplicationOk() (*string, bool)
GetDeduplicationOk returns a tuple with the Deduplication field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetExec ¶
func (o *UpdateDatasetParams) GetExec() string
GetExec returns the Exec field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetExecOk ¶
func (o *UpdateDatasetParams) GetExecOk() (*string, bool)
GetExecOk returns a tuple with the Exec field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetForceSize ¶
func (o *UpdateDatasetParams) GetForceSize() bool
GetForceSize returns the ForceSize field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetForceSizeOk ¶
func (o *UpdateDatasetParams) GetForceSizeOk() (*bool, bool)
GetForceSizeOk returns a tuple with the ForceSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetQuota ¶
func (o *UpdateDatasetParams) GetQuota() int64
GetQuota returns the Quota field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetQuotaOk ¶
func (o *UpdateDatasetParams) GetQuotaOk() (*int64, bool)
GetQuotaOk returns a tuple with the Quota field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetReadonly ¶
func (o *UpdateDatasetParams) GetReadonly() string
GetReadonly returns the Readonly field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetReadonlyOk ¶
func (o *UpdateDatasetParams) GetReadonlyOk() (*string, bool)
GetReadonlyOk returns a tuple with the Readonly field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetRecordsize ¶
func (o *UpdateDatasetParams) GetRecordsize() string
GetRecordsize returns the Recordsize field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetRecordsizeOk ¶
func (o *UpdateDatasetParams) GetRecordsizeOk() (*string, bool)
GetRecordsizeOk returns a tuple with the Recordsize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetRefquota ¶
func (o *UpdateDatasetParams) GetRefquota() int64
GetRefquota returns the Refquota field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetRefquotaOk ¶
func (o *UpdateDatasetParams) GetRefquotaOk() (*int64, bool)
GetRefquotaOk returns a tuple with the Refquota field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetRefreservation ¶
func (o *UpdateDatasetParams) GetRefreservation() int64
GetRefreservation returns the Refreservation field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetRefreservationOk ¶
func (o *UpdateDatasetParams) GetRefreservationOk() (*int64, bool)
GetRefreservationOk returns a tuple with the Refreservation field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetSnapdir ¶
func (o *UpdateDatasetParams) GetSnapdir() string
GetSnapdir returns the Snapdir field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetSnapdirOk ¶
func (o *UpdateDatasetParams) GetSnapdirOk() (*string, bool)
GetSnapdirOk returns a tuple with the Snapdir field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetSync ¶
func (o *UpdateDatasetParams) GetSync() string
GetSync returns the Sync field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetSyncOk ¶
func (o *UpdateDatasetParams) GetSyncOk() (*string, bool)
GetSyncOk returns a tuple with the Sync field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) GetVolsize ¶
func (o *UpdateDatasetParams) GetVolsize() int64
GetVolsize returns the Volsize field value if set, zero value otherwise.
func (*UpdateDatasetParams) GetVolsizeOk ¶
func (o *UpdateDatasetParams) GetVolsizeOk() (*int64, bool)
GetVolsizeOk returns a tuple with the Volsize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateDatasetParams) HasAclmode ¶
func (o *UpdateDatasetParams) HasAclmode() bool
HasAclmode returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasAtime ¶
func (o *UpdateDatasetParams) HasAtime() bool
HasAtime returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasComments ¶
func (o *UpdateDatasetParams) HasComments() bool
HasComments returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasCompression ¶
func (o *UpdateDatasetParams) HasCompression() bool
HasCompression returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasCopies ¶
func (o *UpdateDatasetParams) HasCopies() bool
HasCopies returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasDeduplication ¶
func (o *UpdateDatasetParams) HasDeduplication() bool
HasDeduplication returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasExec ¶
func (o *UpdateDatasetParams) HasExec() bool
HasExec returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasForceSize ¶
func (o *UpdateDatasetParams) HasForceSize() bool
HasForceSize returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasQuota ¶
func (o *UpdateDatasetParams) HasQuota() bool
HasQuota returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasReadonly ¶
func (o *UpdateDatasetParams) HasReadonly() bool
HasReadonly returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasRecordsize ¶
func (o *UpdateDatasetParams) HasRecordsize() bool
HasRecordsize returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasRefquota ¶
func (o *UpdateDatasetParams) HasRefquota() bool
HasRefquota returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasRefreservation ¶
func (o *UpdateDatasetParams) HasRefreservation() bool
HasRefreservation returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasSnapdir ¶
func (o *UpdateDatasetParams) HasSnapdir() bool
HasSnapdir returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasSync ¶
func (o *UpdateDatasetParams) HasSync() bool
HasSync returns a boolean if a field has been set.
func (*UpdateDatasetParams) HasVolsize ¶
func (o *UpdateDatasetParams) HasVolsize() bool
HasVolsize returns a boolean if a field has been set.
func (UpdateDatasetParams) MarshalJSON ¶
func (o UpdateDatasetParams) MarshalJSON() ([]byte, error)
func (*UpdateDatasetParams) SetAclmode ¶
func (o *UpdateDatasetParams) SetAclmode(v string)
SetAclmode gets a reference to the given string and assigns it to the Aclmode field.
func (*UpdateDatasetParams) SetAtime ¶
func (o *UpdateDatasetParams) SetAtime(v string)
SetAtime gets a reference to the given string and assigns it to the Atime field.
func (*UpdateDatasetParams) SetComments ¶
func (o *UpdateDatasetParams) SetComments(v string)
SetComments gets a reference to the given string and assigns it to the Comments field.
func (*UpdateDatasetParams) SetCompression ¶
func (o *UpdateDatasetParams) SetCompression(v string)
SetCompression gets a reference to the given string and assigns it to the Compression field.
func (*UpdateDatasetParams) SetCopies ¶
func (o *UpdateDatasetParams) SetCopies(v int32)
SetCopies gets a reference to the given int32 and assigns it to the Copies field.
func (*UpdateDatasetParams) SetDeduplication ¶
func (o *UpdateDatasetParams) SetDeduplication(v string)
SetDeduplication gets a reference to the given string and assigns it to the Deduplication field.
func (*UpdateDatasetParams) SetExec ¶
func (o *UpdateDatasetParams) SetExec(v string)
SetExec gets a reference to the given string and assigns it to the Exec field.
func (*UpdateDatasetParams) SetForceSize ¶
func (o *UpdateDatasetParams) SetForceSize(v bool)
SetForceSize gets a reference to the given bool and assigns it to the ForceSize field.
func (*UpdateDatasetParams) SetQuota ¶
func (o *UpdateDatasetParams) SetQuota(v int64)
SetQuota gets a reference to the given int64 and assigns it to the Quota field.
func (*UpdateDatasetParams) SetReadonly ¶
func (o *UpdateDatasetParams) SetReadonly(v string)
SetReadonly gets a reference to the given string and assigns it to the Readonly field.
func (*UpdateDatasetParams) SetRecordsize ¶
func (o *UpdateDatasetParams) SetRecordsize(v string)
SetRecordsize gets a reference to the given string and assigns it to the Recordsize field.
func (*UpdateDatasetParams) SetRefquota ¶
func (o *UpdateDatasetParams) SetRefquota(v int64)
SetRefquota gets a reference to the given int64 and assigns it to the Refquota field.
func (*UpdateDatasetParams) SetRefreservation ¶
func (o *UpdateDatasetParams) SetRefreservation(v int64)
SetRefreservation gets a reference to the given int64 and assigns it to the Refreservation field.
func (*UpdateDatasetParams) SetSnapdir ¶
func (o *UpdateDatasetParams) SetSnapdir(v string)
SetSnapdir gets a reference to the given string and assigns it to the Snapdir field.
func (*UpdateDatasetParams) SetSync ¶
func (o *UpdateDatasetParams) SetSync(v string)
SetSync gets a reference to the given string and assigns it to the Sync field.
func (*UpdateDatasetParams) SetVolsize ¶
func (o *UpdateDatasetParams) SetVolsize(v int64)
SetVolsize gets a reference to the given int64 and assigns it to the Volsize field.
func (*UpdateDatasetParams) UnmarshalJSON ¶
func (o *UpdateDatasetParams) UnmarshalJSON(bytes []byte) (err error)
type UpdateUserParams ¶
type UpdateUserParams struct { Uid *int32 `json:"uid,omitempty"` Username *string `json:"username,omitempty"` Group *int32 `json:"group,omitempty"` Home *string `json:"home,omitempty"` HomeMode *string `json:"home_mode,omitempty"` Shell *string `json:"shell,omitempty"` FullName *string `json:"full_name,omitempty"` Email NullableString `json:"email,omitempty"` Password *string `json:"password,omitempty"` PasswordDisabled *bool `json:"password_disabled,omitempty"` Locked *bool `json:"locked,omitempty"` MicrosoftAccount *bool `json:"microsoft_account,omitempty"` Smb *bool `json:"smb,omitempty"` Sudo *bool `json:"sudo,omitempty"` SudoNopasswd *bool `json:"sudo_nopasswd,omitempty"` SudoCommands []string `json:"sudo_commands,omitempty"` Sshpubkey NullableString `json:"sshpubkey,omitempty"` Groups []int32 `json:"groups,omitempty"` Attributes map[string]interface{} `json:"attributes,omitempty"` AdditionalProperties map[string]interface{} }
UpdateUserParams struct for UpdateUserParams
func NewUpdateUserParams ¶
func NewUpdateUserParams() *UpdateUserParams
NewUpdateUserParams instantiates a new UpdateUserParams 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
func NewUpdateUserParamsWithDefaults ¶
func NewUpdateUserParamsWithDefaults() *UpdateUserParams
NewUpdateUserParamsWithDefaults instantiates a new UpdateUserParams 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
func (*UpdateUserParams) GetAttributes ¶
func (o *UpdateUserParams) GetAttributes() map[string]interface{}
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*UpdateUserParams) GetAttributesOk ¶
func (o *UpdateUserParams) GetAttributesOk() (map[string]interface{}, bool)
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetEmail ¶
func (o *UpdateUserParams) GetEmail() string
GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateUserParams) GetEmailOk ¶
func (o *UpdateUserParams) GetEmailOk() (*string, bool)
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateUserParams) GetFullName ¶
func (o *UpdateUserParams) GetFullName() string
GetFullName returns the FullName field value if set, zero value otherwise.
func (*UpdateUserParams) GetFullNameOk ¶
func (o *UpdateUserParams) GetFullNameOk() (*string, bool)
GetFullNameOk returns a tuple with the FullName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetGroup ¶
func (o *UpdateUserParams) GetGroup() int32
GetGroup returns the Group field value if set, zero value otherwise.
func (*UpdateUserParams) GetGroupOk ¶
func (o *UpdateUserParams) GetGroupOk() (*int32, bool)
GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetGroups ¶
func (o *UpdateUserParams) GetGroups() []int32
GetGroups returns the Groups field value if set, zero value otherwise.
func (*UpdateUserParams) GetGroupsOk ¶
func (o *UpdateUserParams) GetGroupsOk() ([]int32, bool)
GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetHome ¶
func (o *UpdateUserParams) GetHome() string
GetHome returns the Home field value if set, zero value otherwise.
func (*UpdateUserParams) GetHomeMode ¶
func (o *UpdateUserParams) GetHomeMode() string
GetHomeMode returns the HomeMode field value if set, zero value otherwise.
func (*UpdateUserParams) GetHomeModeOk ¶
func (o *UpdateUserParams) GetHomeModeOk() (*string, bool)
GetHomeModeOk returns a tuple with the HomeMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetHomeOk ¶
func (o *UpdateUserParams) GetHomeOk() (*string, bool)
GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetLocked ¶
func (o *UpdateUserParams) GetLocked() bool
GetLocked returns the Locked field value if set, zero value otherwise.
func (*UpdateUserParams) GetLockedOk ¶
func (o *UpdateUserParams) GetLockedOk() (*bool, bool)
GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetMicrosoftAccount ¶
func (o *UpdateUserParams) GetMicrosoftAccount() bool
GetMicrosoftAccount returns the MicrosoftAccount field value if set, zero value otherwise.
func (*UpdateUserParams) GetMicrosoftAccountOk ¶
func (o *UpdateUserParams) GetMicrosoftAccountOk() (*bool, bool)
GetMicrosoftAccountOk returns a tuple with the MicrosoftAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetPassword ¶
func (o *UpdateUserParams) GetPassword() string
GetPassword returns the Password field value if set, zero value otherwise.
func (*UpdateUserParams) GetPasswordDisabled ¶
func (o *UpdateUserParams) GetPasswordDisabled() bool
GetPasswordDisabled returns the PasswordDisabled field value if set, zero value otherwise.
func (*UpdateUserParams) GetPasswordDisabledOk ¶
func (o *UpdateUserParams) GetPasswordDisabledOk() (*bool, bool)
GetPasswordDisabledOk returns a tuple with the PasswordDisabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetPasswordOk ¶
func (o *UpdateUserParams) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetShell ¶
func (o *UpdateUserParams) GetShell() string
GetShell returns the Shell field value if set, zero value otherwise.
func (*UpdateUserParams) GetShellOk ¶
func (o *UpdateUserParams) GetShellOk() (*string, bool)
GetShellOk returns a tuple with the Shell field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetSmb ¶
func (o *UpdateUserParams) GetSmb() bool
GetSmb returns the Smb field value if set, zero value otherwise.
func (*UpdateUserParams) GetSmbOk ¶
func (o *UpdateUserParams) GetSmbOk() (*bool, bool)
GetSmbOk returns a tuple with the Smb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetSshpubkey ¶
func (o *UpdateUserParams) GetSshpubkey() string
GetSshpubkey returns the Sshpubkey field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateUserParams) GetSshpubkeyOk ¶
func (o *UpdateUserParams) GetSshpubkeyOk() (*string, bool)
GetSshpubkeyOk returns a tuple with the Sshpubkey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateUserParams) GetSudo ¶
func (o *UpdateUserParams) GetSudo() bool
GetSudo returns the Sudo field value if set, zero value otherwise.
func (*UpdateUserParams) GetSudoCommands ¶
func (o *UpdateUserParams) GetSudoCommands() []string
GetSudoCommands returns the SudoCommands field value if set, zero value otherwise.
func (*UpdateUserParams) GetSudoCommandsOk ¶
func (o *UpdateUserParams) GetSudoCommandsOk() ([]string, bool)
GetSudoCommandsOk returns a tuple with the SudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetSudoNopasswd ¶
func (o *UpdateUserParams) GetSudoNopasswd() bool
GetSudoNopasswd returns the SudoNopasswd field value if set, zero value otherwise.
func (*UpdateUserParams) GetSudoNopasswdOk ¶
func (o *UpdateUserParams) GetSudoNopasswdOk() (*bool, bool)
GetSudoNopasswdOk returns a tuple with the SudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetSudoOk ¶
func (o *UpdateUserParams) GetSudoOk() (*bool, bool)
GetSudoOk returns a tuple with the Sudo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetUid ¶
func (o *UpdateUserParams) GetUid() int32
GetUid returns the Uid field value if set, zero value otherwise.
func (*UpdateUserParams) GetUidOk ¶
func (o *UpdateUserParams) GetUidOk() (*int32, bool)
GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) GetUsername ¶
func (o *UpdateUserParams) GetUsername() string
GetUsername returns the Username field value if set, zero value otherwise.
func (*UpdateUserParams) GetUsernameOk ¶
func (o *UpdateUserParams) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateUserParams) HasAttributes ¶
func (o *UpdateUserParams) HasAttributes() bool
HasAttributes returns a boolean if a field has been set.
func (*UpdateUserParams) HasEmail ¶
func (o *UpdateUserParams) HasEmail() bool
HasEmail returns a boolean if a field has been set.
func (*UpdateUserParams) HasFullName ¶
func (o *UpdateUserParams) HasFullName() bool
HasFullName returns a boolean if a field has been set.
func (*UpdateUserParams) HasGroup ¶
func (o *UpdateUserParams) HasGroup() bool
HasGroup returns a boolean if a field has been set.
func (*UpdateUserParams) HasGroups ¶
func (o *UpdateUserParams) HasGroups() bool
HasGroups returns a boolean if a field has been set.
func (*UpdateUserParams) HasHome ¶
func (o *UpdateUserParams) HasHome() bool
HasHome returns a boolean if a field has been set.
func (*UpdateUserParams) HasHomeMode ¶
func (o *UpdateUserParams) HasHomeMode() bool
HasHomeMode returns a boolean if a field has been set.
func (*UpdateUserParams) HasLocked ¶
func (o *UpdateUserParams) HasLocked() bool
HasLocked returns a boolean if a field has been set.
func (*UpdateUserParams) HasMicrosoftAccount ¶
func (o *UpdateUserParams) HasMicrosoftAccount() bool
HasMicrosoftAccount returns a boolean if a field has been set.
func (*UpdateUserParams) HasPassword ¶
func (o *UpdateUserParams) HasPassword() bool
HasPassword returns a boolean if a field has been set.
func (*UpdateUserParams) HasPasswordDisabled ¶
func (o *UpdateUserParams) HasPasswordDisabled() bool
HasPasswordDisabled returns a boolean if a field has been set.
func (*UpdateUserParams) HasShell ¶
func (o *UpdateUserParams) HasShell() bool
HasShell returns a boolean if a field has been set.
func (*UpdateUserParams) HasSmb ¶
func (o *UpdateUserParams) HasSmb() bool
HasSmb returns a boolean if a field has been set.
func (*UpdateUserParams) HasSshpubkey ¶
func (o *UpdateUserParams) HasSshpubkey() bool
HasSshpubkey returns a boolean if a field has been set.
func (*UpdateUserParams) HasSudo ¶
func (o *UpdateUserParams) HasSudo() bool
HasSudo returns a boolean if a field has been set.
func (*UpdateUserParams) HasSudoCommands ¶
func (o *UpdateUserParams) HasSudoCommands() bool
HasSudoCommands returns a boolean if a field has been set.
func (*UpdateUserParams) HasSudoNopasswd ¶
func (o *UpdateUserParams) HasSudoNopasswd() bool
HasSudoNopasswd returns a boolean if a field has been set.
func (*UpdateUserParams) HasUid ¶
func (o *UpdateUserParams) HasUid() bool
HasUid returns a boolean if a field has been set.
func (*UpdateUserParams) HasUsername ¶
func (o *UpdateUserParams) HasUsername() bool
HasUsername returns a boolean if a field has been set.
func (UpdateUserParams) MarshalJSON ¶
func (o UpdateUserParams) MarshalJSON() ([]byte, error)
func (*UpdateUserParams) SetAttributes ¶
func (o *UpdateUserParams) SetAttributes(v map[string]interface{})
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (*UpdateUserParams) SetEmail ¶
func (o *UpdateUserParams) SetEmail(v string)
SetEmail gets a reference to the given NullableString and assigns it to the Email field.
func (*UpdateUserParams) SetEmailNil ¶
func (o *UpdateUserParams) SetEmailNil()
SetEmailNil sets the value for Email to be an explicit nil
func (*UpdateUserParams) SetFullName ¶
func (o *UpdateUserParams) SetFullName(v string)
SetFullName gets a reference to the given string and assigns it to the FullName field.
func (*UpdateUserParams) SetGroup ¶
func (o *UpdateUserParams) SetGroup(v int32)
SetGroup gets a reference to the given int32 and assigns it to the Group field.
func (*UpdateUserParams) SetGroups ¶
func (o *UpdateUserParams) SetGroups(v []int32)
SetGroups gets a reference to the given []int32 and assigns it to the Groups field.
func (*UpdateUserParams) SetHome ¶
func (o *UpdateUserParams) SetHome(v string)
SetHome gets a reference to the given string and assigns it to the Home field.
func (*UpdateUserParams) SetHomeMode ¶
func (o *UpdateUserParams) SetHomeMode(v string)
SetHomeMode gets a reference to the given string and assigns it to the HomeMode field.
func (*UpdateUserParams) SetLocked ¶
func (o *UpdateUserParams) SetLocked(v bool)
SetLocked gets a reference to the given bool and assigns it to the Locked field.
func (*UpdateUserParams) SetMicrosoftAccount ¶
func (o *UpdateUserParams) SetMicrosoftAccount(v bool)
SetMicrosoftAccount gets a reference to the given bool and assigns it to the MicrosoftAccount field.
func (*UpdateUserParams) SetPassword ¶
func (o *UpdateUserParams) SetPassword(v string)
SetPassword gets a reference to the given string and assigns it to the Password field.
func (*UpdateUserParams) SetPasswordDisabled ¶
func (o *UpdateUserParams) SetPasswordDisabled(v bool)
SetPasswordDisabled gets a reference to the given bool and assigns it to the PasswordDisabled field.
func (*UpdateUserParams) SetShell ¶
func (o *UpdateUserParams) SetShell(v string)
SetShell gets a reference to the given string and assigns it to the Shell field.
func (*UpdateUserParams) SetSmb ¶
func (o *UpdateUserParams) SetSmb(v bool)
SetSmb gets a reference to the given bool and assigns it to the Smb field.
func (*UpdateUserParams) SetSshpubkey ¶
func (o *UpdateUserParams) SetSshpubkey(v string)
SetSshpubkey gets a reference to the given NullableString and assigns it to the Sshpubkey field.
func (*UpdateUserParams) SetSshpubkeyNil ¶
func (o *UpdateUserParams) SetSshpubkeyNil()
SetSshpubkeyNil sets the value for Sshpubkey to be an explicit nil
func (*UpdateUserParams) SetSudo ¶
func (o *UpdateUserParams) SetSudo(v bool)
SetSudo gets a reference to the given bool and assigns it to the Sudo field.
func (*UpdateUserParams) SetSudoCommands ¶
func (o *UpdateUserParams) SetSudoCommands(v []string)
SetSudoCommands gets a reference to the given []string and assigns it to the SudoCommands field.
func (*UpdateUserParams) SetSudoNopasswd ¶
func (o *UpdateUserParams) SetSudoNopasswd(v bool)
SetSudoNopasswd gets a reference to the given bool and assigns it to the SudoNopasswd field.
func (*UpdateUserParams) SetUid ¶
func (o *UpdateUserParams) SetUid(v int32)
SetUid gets a reference to the given int32 and assigns it to the Uid field.
func (*UpdateUserParams) SetUsername ¶
func (o *UpdateUserParams) SetUsername(v string)
SetUsername gets a reference to the given string and assigns it to the Username field.
func (*UpdateUserParams) UnmarshalJSON ¶
func (o *UpdateUserParams) UnmarshalJSON(bytes []byte) (err error)
func (*UpdateUserParams) UnsetEmail ¶
func (o *UpdateUserParams) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
func (*UpdateUserParams) UnsetSshpubkey ¶
func (o *UpdateUserParams) UnsetSshpubkey()
UnsetSshpubkey ensures that no value is present for Sshpubkey, not even an explicit nil
type UpdateVMParams ¶
type UpdateVMParams struct { Name *string `json:"name,omitempty"` CpuMode *string `json:"cpu_mode,omitempty"` CpuModel NullableString `json:"cpu_model,omitempty"` Description *string `json:"description,omitempty"` // Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core. Vcpus *int32 `json:"vcpus,omitempty"` // Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core. Cores *int32 `json:"cores,omitempty"` // Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core. Threads *int32 `json:"threads,omitempty"` Memory *int64 `json:"memory,omitempty"` Bootloader *string `json:"bootloader,omitempty"` // `devices` is a list of virtualized hardware to add to the newly created Virtual Machine. Failure to attach a device destroys the VM and any resources allocated by the VM devices. Devices []VMDevice `json:"devices,omitempty"` Autostart *bool `json:"autostart,omitempty"` // `hide_from_msr` is a boolean which when set will hide the KVM hypervisor from standard MSR based discovery and is useful to enable when doing GPU passthrough. HideFromMsr *bool `json:"hide_from_msr,omitempty"` // `ensure_display_device` when set ( the default ) will ensure that the guest always has access to a video device. For headless installations like ubuntu server this is required for the guest to operate properly. However for cases where consumer would like to use GPU passthrough and does not want a display device added should set this to `false`. EnsureDisplayDevice *bool `json:"ensure_display_device,omitempty"` Time *string `json:"time,omitempty"` // `shutdown_timeout` indicates the time in seconds the system waits for the VM to cleanly shutdown. During system shutdown, if the VM hasn't exited after a hardware shutdown signal has been sent by the system within `shutdown_timeout` seconds, system initiates poweroff for the VM to stop it. ShutdownTimeout *int32 `json:"shutdown_timeout,omitempty"` // `arch_type` refers to architecture type and can be specified for the guest. By default the value is `null` and system in this case will choose a reasonable default based on host. `machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`. By default the value is `null` and system in this case will choose a reasonable default based on `arch_type` configuration. ArchType NullableString `json:"arch_type,omitempty"` // `machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`. By default the value is `null` and system in this case will choose a reasonable default based on `arch_type` configuration. MachineType NullableString `json:"machine_type,omitempty"` Uuid NullableString `json:"uuid,omitempty"` AdditionalProperties map[string]interface{} }
UpdateVMParams struct for UpdateVMParams
func NewUpdateVMParams ¶
func NewUpdateVMParams() *UpdateVMParams
NewUpdateVMParams instantiates a new UpdateVMParams 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
func NewUpdateVMParamsWithDefaults ¶
func NewUpdateVMParamsWithDefaults() *UpdateVMParams
NewUpdateVMParamsWithDefaults instantiates a new UpdateVMParams 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
func (*UpdateVMParams) GetArchType ¶
func (o *UpdateVMParams) GetArchType() string
GetArchType returns the ArchType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateVMParams) GetArchTypeOk ¶
func (o *UpdateVMParams) GetArchTypeOk() (*string, bool)
GetArchTypeOk returns a tuple with the ArchType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateVMParams) GetAutostart ¶
func (o *UpdateVMParams) GetAutostart() bool
GetAutostart returns the Autostart field value if set, zero value otherwise.
func (*UpdateVMParams) GetAutostartOk ¶
func (o *UpdateVMParams) GetAutostartOk() (*bool, bool)
GetAutostartOk returns a tuple with the Autostart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetBootloader ¶
func (o *UpdateVMParams) GetBootloader() string
GetBootloader returns the Bootloader field value if set, zero value otherwise.
func (*UpdateVMParams) GetBootloaderOk ¶
func (o *UpdateVMParams) GetBootloaderOk() (*string, bool)
GetBootloaderOk returns a tuple with the Bootloader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetCores ¶
func (o *UpdateVMParams) GetCores() int32
GetCores returns the Cores field value if set, zero value otherwise.
func (*UpdateVMParams) GetCoresOk ¶
func (o *UpdateVMParams) GetCoresOk() (*int32, bool)
GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetCpuMode ¶
func (o *UpdateVMParams) GetCpuMode() string
GetCpuMode returns the CpuMode field value if set, zero value otherwise.
func (*UpdateVMParams) GetCpuModeOk ¶
func (o *UpdateVMParams) GetCpuModeOk() (*string, bool)
GetCpuModeOk returns a tuple with the CpuMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetCpuModel ¶
func (o *UpdateVMParams) GetCpuModel() string
GetCpuModel returns the CpuModel field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateVMParams) GetCpuModelOk ¶
func (o *UpdateVMParams) GetCpuModelOk() (*string, bool)
GetCpuModelOk returns a tuple with the CpuModel field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateVMParams) GetDescription ¶
func (o *UpdateVMParams) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdateVMParams) GetDescriptionOk ¶
func (o *UpdateVMParams) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetDevices ¶
func (o *UpdateVMParams) GetDevices() []VMDevice
GetDevices returns the Devices field value if set, zero value otherwise.
func (*UpdateVMParams) GetDevicesOk ¶
func (o *UpdateVMParams) GetDevicesOk() ([]VMDevice, bool)
GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetEnsureDisplayDevice ¶
func (o *UpdateVMParams) GetEnsureDisplayDevice() bool
GetEnsureDisplayDevice returns the EnsureDisplayDevice field value if set, zero value otherwise.
func (*UpdateVMParams) GetEnsureDisplayDeviceOk ¶
func (o *UpdateVMParams) GetEnsureDisplayDeviceOk() (*bool, bool)
GetEnsureDisplayDeviceOk returns a tuple with the EnsureDisplayDevice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetHideFromMsr ¶
func (o *UpdateVMParams) GetHideFromMsr() bool
GetHideFromMsr returns the HideFromMsr field value if set, zero value otherwise.
func (*UpdateVMParams) GetHideFromMsrOk ¶
func (o *UpdateVMParams) GetHideFromMsrOk() (*bool, bool)
GetHideFromMsrOk returns a tuple with the HideFromMsr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetMachineType ¶
func (o *UpdateVMParams) GetMachineType() string
GetMachineType returns the MachineType field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateVMParams) GetMachineTypeOk ¶
func (o *UpdateVMParams) GetMachineTypeOk() (*string, bool)
GetMachineTypeOk returns a tuple with the MachineType field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateVMParams) GetMemory ¶
func (o *UpdateVMParams) GetMemory() int64
GetMemory returns the Memory field value if set, zero value otherwise.
func (*UpdateVMParams) GetMemoryOk ¶
func (o *UpdateVMParams) GetMemoryOk() (*int64, bool)
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetName ¶
func (o *UpdateVMParams) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdateVMParams) GetNameOk ¶
func (o *UpdateVMParams) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetShutdownTimeout ¶
func (o *UpdateVMParams) GetShutdownTimeout() int32
GetShutdownTimeout returns the ShutdownTimeout field value if set, zero value otherwise.
func (*UpdateVMParams) GetShutdownTimeoutOk ¶
func (o *UpdateVMParams) GetShutdownTimeoutOk() (*int32, bool)
GetShutdownTimeoutOk returns a tuple with the ShutdownTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetThreads ¶
func (o *UpdateVMParams) GetThreads() int32
GetThreads returns the Threads field value if set, zero value otherwise.
func (*UpdateVMParams) GetThreadsOk ¶
func (o *UpdateVMParams) GetThreadsOk() (*int32, bool)
GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetTime ¶
func (o *UpdateVMParams) GetTime() string
GetTime returns the Time field value if set, zero value otherwise.
func (*UpdateVMParams) GetTimeOk ¶
func (o *UpdateVMParams) GetTimeOk() (*string, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) GetUuid ¶
func (o *UpdateVMParams) GetUuid() string
GetUuid returns the Uuid field value if set, zero value otherwise (both if not set or set to explicit null).
func (*UpdateVMParams) GetUuidOk ¶
func (o *UpdateVMParams) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*UpdateVMParams) GetVcpus ¶
func (o *UpdateVMParams) GetVcpus() int32
GetVcpus returns the Vcpus field value if set, zero value otherwise.
func (*UpdateVMParams) GetVcpusOk ¶
func (o *UpdateVMParams) GetVcpusOk() (*int32, bool)
GetVcpusOk returns a tuple with the Vcpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdateVMParams) HasArchType ¶
func (o *UpdateVMParams) HasArchType() bool
HasArchType returns a boolean if a field has been set.
func (*UpdateVMParams) HasAutostart ¶
func (o *UpdateVMParams) HasAutostart() bool
HasAutostart returns a boolean if a field has been set.
func (*UpdateVMParams) HasBootloader ¶
func (o *UpdateVMParams) HasBootloader() bool
HasBootloader returns a boolean if a field has been set.
func (*UpdateVMParams) HasCores ¶
func (o *UpdateVMParams) HasCores() bool
HasCores returns a boolean if a field has been set.
func (*UpdateVMParams) HasCpuMode ¶
func (o *UpdateVMParams) HasCpuMode() bool
HasCpuMode returns a boolean if a field has been set.
func (*UpdateVMParams) HasCpuModel ¶
func (o *UpdateVMParams) HasCpuModel() bool
HasCpuModel returns a boolean if a field has been set.
func (*UpdateVMParams) HasDescription ¶
func (o *UpdateVMParams) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdateVMParams) HasDevices ¶
func (o *UpdateVMParams) HasDevices() bool
HasDevices returns a boolean if a field has been set.
func (*UpdateVMParams) HasEnsureDisplayDevice ¶
func (o *UpdateVMParams) HasEnsureDisplayDevice() bool
HasEnsureDisplayDevice returns a boolean if a field has been set.
func (*UpdateVMParams) HasHideFromMsr ¶
func (o *UpdateVMParams) HasHideFromMsr() bool
HasHideFromMsr returns a boolean if a field has been set.
func (*UpdateVMParams) HasMachineType ¶
func (o *UpdateVMParams) HasMachineType() bool
HasMachineType returns a boolean if a field has been set.
func (*UpdateVMParams) HasMemory ¶
func (o *UpdateVMParams) HasMemory() bool
HasMemory returns a boolean if a field has been set.
func (*UpdateVMParams) HasName ¶
func (o *UpdateVMParams) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdateVMParams) HasShutdownTimeout ¶
func (o *UpdateVMParams) HasShutdownTimeout() bool
HasShutdownTimeout returns a boolean if a field has been set.
func (*UpdateVMParams) HasThreads ¶
func (o *UpdateVMParams) HasThreads() bool
HasThreads returns a boolean if a field has been set.
func (*UpdateVMParams) HasTime ¶
func (o *UpdateVMParams) HasTime() bool
HasTime returns a boolean if a field has been set.
func (*UpdateVMParams) HasUuid ¶
func (o *UpdateVMParams) HasUuid() bool
HasUuid returns a boolean if a field has been set.
func (*UpdateVMParams) HasVcpus ¶
func (o *UpdateVMParams) HasVcpus() bool
HasVcpus returns a boolean if a field has been set.
func (UpdateVMParams) MarshalJSON ¶
func (o UpdateVMParams) MarshalJSON() ([]byte, error)
func (*UpdateVMParams) SetArchType ¶
func (o *UpdateVMParams) SetArchType(v string)
SetArchType gets a reference to the given NullableString and assigns it to the ArchType field.
func (*UpdateVMParams) SetArchTypeNil ¶
func (o *UpdateVMParams) SetArchTypeNil()
SetArchTypeNil sets the value for ArchType to be an explicit nil
func (*UpdateVMParams) SetAutostart ¶
func (o *UpdateVMParams) SetAutostart(v bool)
SetAutostart gets a reference to the given bool and assigns it to the Autostart field.
func (*UpdateVMParams) SetBootloader ¶
func (o *UpdateVMParams) SetBootloader(v string)
SetBootloader gets a reference to the given string and assigns it to the Bootloader field.
func (*UpdateVMParams) SetCores ¶
func (o *UpdateVMParams) SetCores(v int32)
SetCores gets a reference to the given int32 and assigns it to the Cores field.
func (*UpdateVMParams) SetCpuMode ¶
func (o *UpdateVMParams) SetCpuMode(v string)
SetCpuMode gets a reference to the given string and assigns it to the CpuMode field.
func (*UpdateVMParams) SetCpuModel ¶
func (o *UpdateVMParams) SetCpuModel(v string)
SetCpuModel gets a reference to the given NullableString and assigns it to the CpuModel field.
func (*UpdateVMParams) SetCpuModelNil ¶
func (o *UpdateVMParams) SetCpuModelNil()
SetCpuModelNil sets the value for CpuModel to be an explicit nil
func (*UpdateVMParams) SetDescription ¶
func (o *UpdateVMParams) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdateVMParams) SetDevices ¶
func (o *UpdateVMParams) SetDevices(v []VMDevice)
SetDevices gets a reference to the given []VMDevice and assigns it to the Devices field.
func (*UpdateVMParams) SetEnsureDisplayDevice ¶
func (o *UpdateVMParams) SetEnsureDisplayDevice(v bool)
SetEnsureDisplayDevice gets a reference to the given bool and assigns it to the EnsureDisplayDevice field.
func (*UpdateVMParams) SetHideFromMsr ¶
func (o *UpdateVMParams) SetHideFromMsr(v bool)
SetHideFromMsr gets a reference to the given bool and assigns it to the HideFromMsr field.
func (*UpdateVMParams) SetMachineType ¶
func (o *UpdateVMParams) SetMachineType(v string)
SetMachineType gets a reference to the given NullableString and assigns it to the MachineType field.
func (*UpdateVMParams) SetMachineTypeNil ¶
func (o *UpdateVMParams) SetMachineTypeNil()
SetMachineTypeNil sets the value for MachineType to be an explicit nil
func (*UpdateVMParams) SetMemory ¶
func (o *UpdateVMParams) SetMemory(v int64)
SetMemory gets a reference to the given int64 and assigns it to the Memory field.
func (*UpdateVMParams) SetName ¶
func (o *UpdateVMParams) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdateVMParams) SetShutdownTimeout ¶
func (o *UpdateVMParams) SetShutdownTimeout(v int32)
SetShutdownTimeout gets a reference to the given int32 and assigns it to the ShutdownTimeout field.
func (*UpdateVMParams) SetThreads ¶
func (o *UpdateVMParams) SetThreads(v int32)
SetThreads gets a reference to the given int32 and assigns it to the Threads field.
func (*UpdateVMParams) SetTime ¶
func (o *UpdateVMParams) SetTime(v string)
SetTime gets a reference to the given string and assigns it to the Time field.
func (*UpdateVMParams) SetUuid ¶
func (o *UpdateVMParams) SetUuid(v string)
SetUuid gets a reference to the given NullableString and assigns it to the Uuid field.
func (*UpdateVMParams) SetUuidNil ¶
func (o *UpdateVMParams) SetUuidNil()
SetUuidNil sets the value for Uuid to be an explicit nil
func (*UpdateVMParams) SetVcpus ¶
func (o *UpdateVMParams) SetVcpus(v int32)
SetVcpus gets a reference to the given int32 and assigns it to the Vcpus field.
func (*UpdateVMParams) UnmarshalJSON ¶
func (o *UpdateVMParams) UnmarshalJSON(bytes []byte) (err error)
func (*UpdateVMParams) UnsetArchType ¶
func (o *UpdateVMParams) UnsetArchType()
UnsetArchType ensures that no value is present for ArchType, not even an explicit nil
func (*UpdateVMParams) UnsetCpuModel ¶
func (o *UpdateVMParams) UnsetCpuModel()
UnsetCpuModel ensures that no value is present for CpuModel, not even an explicit nil
func (*UpdateVMParams) UnsetMachineType ¶
func (o *UpdateVMParams) UnsetMachineType()
UnsetMachineType ensures that no value is present for MachineType, not even an explicit nil
func (*UpdateVMParams) UnsetUuid ¶
func (o *UpdateVMParams) UnsetUuid()
UnsetUuid ensures that no value is present for Uuid, not even an explicit nil
type User ¶
type User struct { Id int32 `json:"id"` Uid *int32 `json:"uid,omitempty"` Username string `json:"username"` Unixhash *string `json:"unixhash,omitempty"` Smbhash *string `json:"smbhash,omitempty"` Home *string `json:"home,omitempty"` Shell *string `json:"shell,omitempty"` FullName string `json:"full_name"` Builtin *bool `json:"builtin,omitempty"` Smb *bool `json:"smb,omitempty"` PasswordDisabled *bool `json:"password_disabled,omitempty"` Locked *bool `json:"locked,omitempty"` Sudo *bool `json:"sudo,omitempty"` SudoNopasswd *bool `json:"sudo_nopasswd,omitempty"` SudoCommands []string `json:"sudo_commands,omitempty"` MicrosoftAccount *bool `json:"microsoft_account,omitempty"` Attributes map[string]interface{} `json:"attributes,omitempty"` Email NullableString `json:"email,omitempty"` Group *UserGroup `json:"group,omitempty"` Groups []int32 `json:"groups,omitempty"` Sshpubkey NullableString `json:"sshpubkey,omitempty"` Local *bool `json:"local,omitempty"` IdTypeBoth *bool `json:"id_type_both,omitempty"` AdditionalProperties map[string]interface{} }
User struct for User
func NewUser ¶
NewUser instantiates a new User 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
func NewUserWithDefaults ¶
func NewUserWithDefaults() *User
NewUserWithDefaults instantiates a new User 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
func (*User) GetAttributes ¶
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*User) GetAttributesOk ¶
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetBuiltin ¶
GetBuiltin returns the Builtin field value if set, zero value otherwise.
func (*User) GetBuiltinOk ¶
GetBuiltinOk returns a tuple with the Builtin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetEmail ¶
GetEmail returns the Email field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetEmailOk ¶
GetEmailOk returns a tuple with the Email field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetFullName ¶
GetFullName returns the FullName field value
func (*User) GetFullNameOk ¶
GetFullNameOk returns a tuple with the FullName field value and a boolean to check if the value has been set.
func (*User) GetGroupOk ¶
GetGroupOk returns a tuple with the Group field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetGroupsOk ¶
GetGroupsOk returns a tuple with the Groups field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetHomeOk ¶
GetHomeOk returns a tuple with the Home field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*User) GetIdTypeBoth ¶
GetIdTypeBoth returns the IdTypeBoth field value if set, zero value otherwise.
func (*User) GetIdTypeBothOk ¶
GetIdTypeBothOk returns a tuple with the IdTypeBoth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetLocalOk ¶
GetLocalOk returns a tuple with the Local field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetLockedOk ¶
GetLockedOk returns a tuple with the Locked field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetMicrosoftAccount ¶
GetMicrosoftAccount returns the MicrosoftAccount field value if set, zero value otherwise.
func (*User) GetMicrosoftAccountOk ¶
GetMicrosoftAccountOk returns a tuple with the MicrosoftAccount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetPasswordDisabled ¶
GetPasswordDisabled returns the PasswordDisabled field value if set, zero value otherwise.
func (*User) GetPasswordDisabledOk ¶
GetPasswordDisabledOk returns a tuple with the PasswordDisabled field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetShellOk ¶
GetShellOk returns a tuple with the Shell field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetSmbOk ¶
GetSmbOk returns a tuple with the Smb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetSmbhash ¶
GetSmbhash returns the Smbhash field value if set, zero value otherwise.
func (*User) GetSmbhashOk ¶
GetSmbhashOk returns a tuple with the Smbhash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetSshpubkey ¶
GetSshpubkey returns the Sshpubkey field value if set, zero value otherwise (both if not set or set to explicit null).
func (*User) GetSshpubkeyOk ¶
GetSshpubkeyOk returns a tuple with the Sshpubkey field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned
func (*User) GetSudoCommands ¶
GetSudoCommands returns the SudoCommands field value if set, zero value otherwise.
func (*User) GetSudoCommandsOk ¶
GetSudoCommandsOk returns a tuple with the SudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetSudoNopasswd ¶
GetSudoNopasswd returns the SudoNopasswd field value if set, zero value otherwise.
func (*User) GetSudoNopasswdOk ¶
GetSudoNopasswdOk returns a tuple with the SudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetSudoOk ¶
GetSudoOk returns a tuple with the Sudo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUidOk ¶
GetUidOk returns a tuple with the Uid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUnixhash ¶
GetUnixhash returns the Unixhash field value if set, zero value otherwise.
func (*User) GetUnixhashOk ¶
GetUnixhashOk returns a tuple with the Unixhash field value if set, nil otherwise and a boolean to check if the value has been set.
func (*User) GetUsername ¶
GetUsername returns the Username field value
func (*User) GetUsernameOk ¶
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (*User) HasAttributes ¶
HasAttributes returns a boolean if a field has been set.
func (*User) HasBuiltin ¶
HasBuiltin returns a boolean if a field has been set.
func (*User) HasIdTypeBoth ¶
HasIdTypeBoth returns a boolean if a field has been set.
func (*User) HasMicrosoftAccount ¶
HasMicrosoftAccount returns a boolean if a field has been set.
func (*User) HasPasswordDisabled ¶
HasPasswordDisabled returns a boolean if a field has been set.
func (*User) HasSmbhash ¶
HasSmbhash returns a boolean if a field has been set.
func (*User) HasSshpubkey ¶
HasSshpubkey returns a boolean if a field has been set.
func (*User) HasSudoCommands ¶
HasSudoCommands returns a boolean if a field has been set.
func (*User) HasSudoNopasswd ¶
HasSudoNopasswd returns a boolean if a field has been set.
func (*User) HasUnixhash ¶
HasUnixhash returns a boolean if a field has been set.
func (User) MarshalJSON ¶
func (*User) SetAttributes ¶
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (*User) SetBuiltin ¶
SetBuiltin gets a reference to the given bool and assigns it to the Builtin field.
func (*User) SetEmail ¶
SetEmail gets a reference to the given NullableString and assigns it to the Email field.
func (*User) SetEmailNil ¶
func (o *User) SetEmailNil()
SetEmailNil sets the value for Email to be an explicit nil
func (*User) SetGroup ¶
SetGroup gets a reference to the given UserGroup and assigns it to the Group field.
func (*User) SetGroups ¶
SetGroups gets a reference to the given []int32 and assigns it to the Groups field.
func (*User) SetHome ¶
SetHome gets a reference to the given string and assigns it to the Home field.
func (*User) SetIdTypeBoth ¶
SetIdTypeBoth gets a reference to the given bool and assigns it to the IdTypeBoth field.
func (*User) SetLocal ¶
SetLocal gets a reference to the given bool and assigns it to the Local field.
func (*User) SetLocked ¶
SetLocked gets a reference to the given bool and assigns it to the Locked field.
func (*User) SetMicrosoftAccount ¶
SetMicrosoftAccount gets a reference to the given bool and assigns it to the MicrosoftAccount field.
func (*User) SetPasswordDisabled ¶
SetPasswordDisabled gets a reference to the given bool and assigns it to the PasswordDisabled field.
func (*User) SetShell ¶
SetShell gets a reference to the given string and assigns it to the Shell field.
func (*User) SetSmbhash ¶
SetSmbhash gets a reference to the given string and assigns it to the Smbhash field.
func (*User) SetSshpubkey ¶
SetSshpubkey gets a reference to the given NullableString and assigns it to the Sshpubkey field.
func (*User) SetSshpubkeyNil ¶
func (o *User) SetSshpubkeyNil()
SetSshpubkeyNil sets the value for Sshpubkey to be an explicit nil
func (*User) SetSudoCommands ¶
SetSudoCommands gets a reference to the given []string and assigns it to the SudoCommands field.
func (*User) SetSudoNopasswd ¶
SetSudoNopasswd gets a reference to the given bool and assigns it to the SudoNopasswd field.
func (*User) SetUnixhash ¶
SetUnixhash gets a reference to the given string and assigns it to the Unixhash field.
func (*User) UnmarshalJSON ¶
func (*User) UnsetEmail ¶
func (o *User) UnsetEmail()
UnsetEmail ensures that no value is present for Email, not even an explicit nil
func (*User) UnsetSshpubkey ¶
func (o *User) UnsetSshpubkey()
UnsetSshpubkey ensures that no value is present for Sshpubkey, not even an explicit nil
type UserApiService ¶
type UserApiService service
UserApiService UserApi service
func (*UserApiService) CreateUser ¶
func (a *UserApiService) CreateUser(ctx context.Context) ApiCreateUserRequest
CreateUser Method for CreateUser
Create a new user.
If `uid` is not provided it is automatically filled with the next one available.
`group` is required if `group_create` is false.
`password` is required if `password_disabled` is false.
Available choices for `shell` can be retrieved with `user.shell_choices`.
`attributes` is a general-purpose object for storing arbitrary user information.
`smb` specifies whether the user should be allowed access to SMB shares. User willl also automatically be added to the `builtin_users` group.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateUserRequest
func (*UserApiService) CreateUserExecute ¶
func (a *UserApiService) CreateUserExecute(r ApiCreateUserRequest) (int32, *http.Response, error)
Execute executes the request
@return int32
func (*UserApiService) DeleteUser ¶
func (a *UserApiService) DeleteUser(ctx context.Context, id int32) ApiDeleteUserRequest
DeleteUser Method for DeleteUser
Delete user `id`.
The `delete_group` option deletes the user primary group if it is not being used by any other user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteUserRequest
func (*UserApiService) DeleteUserExecute ¶
func (a *UserApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*http.Response, error)
Execute executes the request
func (*UserApiService) GetUser ¶
func (a *UserApiService) GetUser(ctx context.Context, id int32) ApiGetUserRequest
GetUser Method for GetUser
Get user of `id`.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetUserRequest
func (*UserApiService) GetUserExecute ¶
func (a *UserApiService) GetUserExecute(r ApiGetUserRequest) (*User, *http.Response, error)
Execute executes the request
@return User
func (*UserApiService) GetUserShellChoices ¶
func (a *UserApiService) GetUserShellChoices(ctx context.Context) ApiGetUserShellChoicesRequest
GetUserShellChoices Method for GetUserShellChoices
Return the available shell choices to be used in `user.create` and `user.update`.
If `user_id` is provided, shell choices are filtered to ensure the user can access the shell choices provided.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetUserShellChoicesRequest
func (*UserApiService) GetUserShellChoicesExecute ¶
func (a *UserApiService) GetUserShellChoicesExecute(r ApiGetUserShellChoicesRequest) (map[string]string, *http.Response, error)
Execute executes the request
@return map[string]string
func (*UserApiService) ListUsers ¶
func (a *UserApiService) ListUsers(ctx context.Context) ApiListUsersRequest
ListUsers Method for ListUsers
Get a list of (local) users.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListUsersRequest
func (*UserApiService) ListUsersExecute ¶
func (a *UserApiService) ListUsersExecute(r ApiListUsersRequest) ([]User, *http.Response, error)
Execute executes the request
@return []User
func (*UserApiService) UpdateUser ¶
func (a *UserApiService) UpdateUser(ctx context.Context, id int32) ApiUpdateUserRequest
UpdateUser Method for UpdateUser
Update attributes of an existing user.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateUserRequest
func (*UserApiService) UpdateUserExecute ¶
func (a *UserApiService) UpdateUserExecute(r ApiUpdateUserRequest) (int32, *http.Response, error)
Execute executes the request
@return int32
type UserGroup ¶
type UserGroup struct { Id *int32 `json:"id,omitempty"` BsdgrpGid *int32 `json:"bsdgrp_gid,omitempty"` BsdgrpGroup *string `json:"bsdgrp_group,omitempty"` BsdgrpBuiltin *bool `json:"bsdgrp_builtin,omitempty"` BsdgrpSudo *bool `json:"bsdgrp_sudo,omitempty"` BsdgrpSudoNopasswd *bool `json:"bsdgrp_sudo_nopasswd,omitempty"` BsdgrpSudoCommands []string `json:"bsdgrp_sudo_commands,omitempty"` BsdgrpSmb *bool `json:"bsdgrp_smb,omitempty"` AdditionalProperties map[string]interface{} }
UserGroup struct for UserGroup
func NewUserGroup ¶
func NewUserGroup() *UserGroup
NewUserGroup instantiates a new UserGroup 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
func NewUserGroupWithDefaults ¶
func NewUserGroupWithDefaults() *UserGroup
NewUserGroupWithDefaults instantiates a new UserGroup 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
func (*UserGroup) GetBsdgrpBuiltin ¶
GetBsdgrpBuiltin returns the BsdgrpBuiltin field value if set, zero value otherwise.
func (*UserGroup) GetBsdgrpBuiltinOk ¶
GetBsdgrpBuiltinOk returns a tuple with the BsdgrpBuiltin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserGroup) GetBsdgrpGid ¶
GetBsdgrpGid returns the BsdgrpGid field value if set, zero value otherwise.
func (*UserGroup) GetBsdgrpGidOk ¶
GetBsdgrpGidOk returns a tuple with the BsdgrpGid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserGroup) GetBsdgrpGroup ¶
GetBsdgrpGroup returns the BsdgrpGroup field value if set, zero value otherwise.
func (*UserGroup) GetBsdgrpGroupOk ¶
GetBsdgrpGroupOk returns a tuple with the BsdgrpGroup field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserGroup) GetBsdgrpSmb ¶
GetBsdgrpSmb returns the BsdgrpSmb field value if set, zero value otherwise.
func (*UserGroup) GetBsdgrpSmbOk ¶
GetBsdgrpSmbOk returns a tuple with the BsdgrpSmb field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserGroup) GetBsdgrpSudo ¶
GetBsdgrpSudo returns the BsdgrpSudo field value if set, zero value otherwise.
func (*UserGroup) GetBsdgrpSudoCommands ¶
GetBsdgrpSudoCommands returns the BsdgrpSudoCommands field value if set, zero value otherwise.
func (*UserGroup) GetBsdgrpSudoCommandsOk ¶
GetBsdgrpSudoCommandsOk returns a tuple with the BsdgrpSudoCommands field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserGroup) GetBsdgrpSudoNopasswd ¶
GetBsdgrpSudoNopasswd returns the BsdgrpSudoNopasswd field value if set, zero value otherwise.
func (*UserGroup) GetBsdgrpSudoNopasswdOk ¶
GetBsdgrpSudoNopasswdOk returns a tuple with the BsdgrpSudoNopasswd field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserGroup) GetBsdgrpSudoOk ¶
GetBsdgrpSudoOk returns a tuple with the BsdgrpSudo field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserGroup) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UserGroup) HasBsdgrpBuiltin ¶
HasBsdgrpBuiltin returns a boolean if a field has been set.
func (*UserGroup) HasBsdgrpGid ¶
HasBsdgrpGid returns a boolean if a field has been set.
func (*UserGroup) HasBsdgrpGroup ¶
HasBsdgrpGroup returns a boolean if a field has been set.
func (*UserGroup) HasBsdgrpSmb ¶
HasBsdgrpSmb returns a boolean if a field has been set.
func (*UserGroup) HasBsdgrpSudo ¶
HasBsdgrpSudo returns a boolean if a field has been set.
func (*UserGroup) HasBsdgrpSudoCommands ¶
HasBsdgrpSudoCommands returns a boolean if a field has been set.
func (*UserGroup) HasBsdgrpSudoNopasswd ¶
HasBsdgrpSudoNopasswd returns a boolean if a field has been set.
func (UserGroup) MarshalJSON ¶
func (*UserGroup) SetBsdgrpBuiltin ¶
SetBsdgrpBuiltin gets a reference to the given bool and assigns it to the BsdgrpBuiltin field.
func (*UserGroup) SetBsdgrpGid ¶
SetBsdgrpGid gets a reference to the given int32 and assigns it to the BsdgrpGid field.
func (*UserGroup) SetBsdgrpGroup ¶
SetBsdgrpGroup gets a reference to the given string and assigns it to the BsdgrpGroup field.
func (*UserGroup) SetBsdgrpSmb ¶
SetBsdgrpSmb gets a reference to the given bool and assigns it to the BsdgrpSmb field.
func (*UserGroup) SetBsdgrpSudo ¶
SetBsdgrpSudo gets a reference to the given bool and assigns it to the BsdgrpSudo field.
func (*UserGroup) SetBsdgrpSudoCommands ¶
SetBsdgrpSudoCommands gets a reference to the given []string and assigns it to the BsdgrpSudoCommands field.
func (*UserGroup) SetBsdgrpSudoNopasswd ¶
SetBsdgrpSudoNopasswd gets a reference to the given bool and assigns it to the BsdgrpSudoNopasswd field.
func (*UserGroup) UnmarshalJSON ¶
type VM ¶
type VM struct { Id int32 `json:"id"` Name string `json:"name"` Description *string `json:"description,omitempty"` Vcpus *int32 `json:"vcpus,omitempty"` Memory *int64 `json:"memory,omitempty"` MinMemory *int64 `json:"min_memory,omitempty"` Autostart *bool `json:"autostart,omitempty"` Time *string `json:"time,omitempty"` Bootloader *string `json:"bootloader,omitempty"` Cores *int32 `json:"cores,omitempty"` Threads *int32 `json:"threads,omitempty"` HypervEnlightenments *bool `json:"hyperv_enlightenments,omitempty"` ShutdownTimeout *int32 `json:"shutdown_timeout,omitempty"` CpuMode *string `json:"cpu_mode,omitempty"` CpuModel *string `json:"cpu_model,omitempty"` Cpuset *string `json:"cpuset,omitempty"` Nodeset *string `json:"nodeset,omitempty"` PinVcpus *bool `json:"pin_vcpus,omitempty"` HideFromMsr *bool `json:"hide_from_msr,omitempty"` SuspendOnSnapshot *bool `json:"suspend_on_snapshot,omitempty"` EnsureDisplayDevice *bool `json:"ensure_display_device,omitempty"` ArchType *string `json:"arch_type,omitempty"` MachineType *string `json:"machine_type,omitempty"` Uuid *string `json:"uuid,omitempty"` CommandLineArgs *string `json:"command_line_args,omitempty"` Devices []VMDevice `json:"devices,omitempty"` Status *VMStatus `json:"status,omitempty"` AdditionalProperties map[string]interface{} }
VM struct for VM
func NewVM ¶
NewVM instantiates a new VM 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
func NewVMWithDefaults ¶
func NewVMWithDefaults() *VM
NewVMWithDefaults instantiates a new VM 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
func (*VM) GetArchType ¶
GetArchType returns the ArchType field value if set, zero value otherwise.
func (*VM) GetArchTypeOk ¶
GetArchTypeOk returns a tuple with the ArchType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetAutostart ¶
GetAutostart returns the Autostart field value if set, zero value otherwise.
func (*VM) GetAutostartOk ¶
GetAutostartOk returns a tuple with the Autostart field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetBootloader ¶
GetBootloader returns the Bootloader field value if set, zero value otherwise.
func (*VM) GetBootloaderOk ¶
GetBootloaderOk returns a tuple with the Bootloader field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetCommandLineArgs ¶
GetCommandLineArgs returns the CommandLineArgs field value if set, zero value otherwise.
func (*VM) GetCommandLineArgsOk ¶
GetCommandLineArgsOk returns a tuple with the CommandLineArgs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetCoresOk ¶
GetCoresOk returns a tuple with the Cores field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetCpuMode ¶
GetCpuMode returns the CpuMode field value if set, zero value otherwise.
func (*VM) GetCpuModeOk ¶
GetCpuModeOk returns a tuple with the CpuMode field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetCpuModel ¶
GetCpuModel returns the CpuModel field value if set, zero value otherwise.
func (*VM) GetCpuModelOk ¶
GetCpuModelOk returns a tuple with the CpuModel field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetCpusetOk ¶
GetCpusetOk returns a tuple with the Cpuset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*VM) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetDevices ¶
GetDevices returns the Devices field value if set, zero value otherwise.
func (*VM) GetDevicesOk ¶
GetDevicesOk returns a tuple with the Devices field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetEnsureDisplayDevice ¶
GetEnsureDisplayDevice returns the EnsureDisplayDevice field value if set, zero value otherwise.
func (*VM) GetEnsureDisplayDeviceOk ¶
GetEnsureDisplayDeviceOk returns a tuple with the EnsureDisplayDevice field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetHideFromMsr ¶
GetHideFromMsr returns the HideFromMsr field value if set, zero value otherwise.
func (*VM) GetHideFromMsrOk ¶
GetHideFromMsrOk returns a tuple with the HideFromMsr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetHypervEnlightenments ¶
GetHypervEnlightenments returns the HypervEnlightenments field value if set, zero value otherwise.
func (*VM) GetHypervEnlightenmentsOk ¶
GetHypervEnlightenmentsOk returns a tuple with the HypervEnlightenments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetIdOk ¶
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*VM) GetMachineType ¶
GetMachineType returns the MachineType field value if set, zero value otherwise.
func (*VM) GetMachineTypeOk ¶
GetMachineTypeOk returns a tuple with the MachineType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetMemoryOk ¶
GetMemoryOk returns a tuple with the Memory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetMinMemory ¶
GetMinMemory returns the MinMemory field value if set, zero value otherwise.
func (*VM) GetMinMemoryOk ¶
GetMinMemoryOk returns a tuple with the MinMemory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*VM) GetNodeset ¶
GetNodeset returns the Nodeset field value if set, zero value otherwise.
func (*VM) GetNodesetOk ¶
GetNodesetOk returns a tuple with the Nodeset field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetPinVcpus ¶
GetPinVcpus returns the PinVcpus field value if set, zero value otherwise.
func (*VM) GetPinVcpusOk ¶
GetPinVcpusOk returns a tuple with the PinVcpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetShutdownTimeout ¶
GetShutdownTimeout returns the ShutdownTimeout field value if set, zero value otherwise.
func (*VM) GetShutdownTimeoutOk ¶
GetShutdownTimeoutOk returns a tuple with the ShutdownTimeout field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetSuspendOnSnapshot ¶
GetSuspendOnSnapshot returns the SuspendOnSnapshot field value if set, zero value otherwise.
func (*VM) GetSuspendOnSnapshotOk ¶
GetSuspendOnSnapshotOk returns a tuple with the SuspendOnSnapshot field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetThreads ¶
GetThreads returns the Threads field value if set, zero value otherwise.
func (*VM) GetThreadsOk ¶
GetThreadsOk returns a tuple with the Threads field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetTimeOk ¶
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetUuidOk ¶
GetUuidOk returns a tuple with the Uuid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) GetVcpusOk ¶
GetVcpusOk returns a tuple with the Vcpus field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VM) HasArchType ¶
HasArchType returns a boolean if a field has been set.
func (*VM) HasAutostart ¶
HasAutostart returns a boolean if a field has been set.
func (*VM) HasBootloader ¶
HasBootloader returns a boolean if a field has been set.
func (*VM) HasCommandLineArgs ¶
HasCommandLineArgs returns a boolean if a field has been set.
func (*VM) HasCpuMode ¶
HasCpuMode returns a boolean if a field has been set.
func (*VM) HasCpuModel ¶
HasCpuModel returns a boolean if a field has been set.
func (*VM) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*VM) HasDevices ¶
HasDevices returns a boolean if a field has been set.
func (*VM) HasEnsureDisplayDevice ¶
HasEnsureDisplayDevice returns a boolean if a field has been set.
func (*VM) HasHideFromMsr ¶
HasHideFromMsr returns a boolean if a field has been set.
func (*VM) HasHypervEnlightenments ¶
HasHypervEnlightenments returns a boolean if a field has been set.
func (*VM) HasMachineType ¶
HasMachineType returns a boolean if a field has been set.
func (*VM) HasMinMemory ¶
HasMinMemory returns a boolean if a field has been set.
func (*VM) HasNodeset ¶
HasNodeset returns a boolean if a field has been set.
func (*VM) HasPinVcpus ¶
HasPinVcpus returns a boolean if a field has been set.
func (*VM) HasShutdownTimeout ¶
HasShutdownTimeout returns a boolean if a field has been set.
func (*VM) HasSuspendOnSnapshot ¶
HasSuspendOnSnapshot returns a boolean if a field has been set.
func (*VM) HasThreads ¶
HasThreads returns a boolean if a field has been set.
func (VM) MarshalJSON ¶
func (*VM) SetArchType ¶
SetArchType gets a reference to the given string and assigns it to the ArchType field.
func (*VM) SetAutostart ¶
SetAutostart gets a reference to the given bool and assigns it to the Autostart field.
func (*VM) SetBootloader ¶
SetBootloader gets a reference to the given string and assigns it to the Bootloader field.
func (*VM) SetCommandLineArgs ¶
SetCommandLineArgs gets a reference to the given string and assigns it to the CommandLineArgs field.
func (*VM) SetCores ¶
SetCores gets a reference to the given int32 and assigns it to the Cores field.
func (*VM) SetCpuMode ¶
SetCpuMode gets a reference to the given string and assigns it to the CpuMode field.
func (*VM) SetCpuModel ¶
SetCpuModel gets a reference to the given string and assigns it to the CpuModel field.
func (*VM) SetCpuset ¶
SetCpuset gets a reference to the given string and assigns it to the Cpuset field.
func (*VM) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*VM) SetDevices ¶
SetDevices gets a reference to the given []VMDevice and assigns it to the Devices field.
func (*VM) SetEnsureDisplayDevice ¶
SetEnsureDisplayDevice gets a reference to the given bool and assigns it to the EnsureDisplayDevice field.
func (*VM) SetHideFromMsr ¶
SetHideFromMsr gets a reference to the given bool and assigns it to the HideFromMsr field.
func (*VM) SetHypervEnlightenments ¶
SetHypervEnlightenments gets a reference to the given bool and assigns it to the HypervEnlightenments field.
func (*VM) SetMachineType ¶
SetMachineType gets a reference to the given string and assigns it to the MachineType field.
func (*VM) SetMemory ¶
SetMemory gets a reference to the given int64 and assigns it to the Memory field.
func (*VM) SetMinMemory ¶
SetMinMemory gets a reference to the given int64 and assigns it to the MinMemory field.
func (*VM) SetNodeset ¶
SetNodeset gets a reference to the given string and assigns it to the Nodeset field.
func (*VM) SetPinVcpus ¶
SetPinVcpus gets a reference to the given bool and assigns it to the PinVcpus field.
func (*VM) SetShutdownTimeout ¶
SetShutdownTimeout gets a reference to the given int32 and assigns it to the ShutdownTimeout field.
func (*VM) SetStatus ¶
SetStatus gets a reference to the given VMStatus and assigns it to the Status field.
func (*VM) SetSuspendOnSnapshot ¶
SetSuspendOnSnapshot gets a reference to the given bool and assigns it to the SuspendOnSnapshot field.
func (*VM) SetThreads ¶
SetThreads gets a reference to the given int32 and assigns it to the Threads field.
func (*VM) SetVcpus ¶
SetVcpus gets a reference to the given int32 and assigns it to the Vcpus field.
func (*VM) UnmarshalJSON ¶
type VMDevice ¶
type VMDevice struct { Id *int32 `json:"id,omitempty"` Dtype string `json:"dtype"` Attributes map[string]interface{} `json:"attributes,omitempty"` Order *int32 `json:"order,omitempty"` Vm *int32 `json:"vm,omitempty"` AdditionalProperties map[string]interface{} }
VMDevice struct for VMDevice
func NewVMDevice ¶
NewVMDevice instantiates a new VMDevice 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
func NewVMDeviceWithDefaults ¶
func NewVMDeviceWithDefaults() *VMDevice
NewVMDeviceWithDefaults instantiates a new VMDevice 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
func (*VMDevice) GetAttributes ¶
GetAttributes returns the Attributes field value if set, zero value otherwise.
func (*VMDevice) GetAttributesOk ¶
GetAttributesOk returns a tuple with the Attributes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VMDevice) GetDtypeOk ¶
GetDtypeOk returns a tuple with the Dtype field value and a boolean to check if the value has been set.
func (*VMDevice) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VMDevice) GetOrderOk ¶
GetOrderOk returns a tuple with the Order field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VMDevice) GetVmOk ¶
GetVmOk returns a tuple with the Vm field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VMDevice) HasAttributes ¶
HasAttributes returns a boolean if a field has been set.
func (VMDevice) MarshalJSON ¶
func (*VMDevice) SetAttributes ¶
SetAttributes gets a reference to the given map[string]interface{} and assigns it to the Attributes field.
func (*VMDevice) SetOrder ¶
SetOrder gets a reference to the given int32 and assigns it to the Order field.
func (*VMDevice) UnmarshalJSON ¶
type VMStatus ¶
type VMStatus struct { State *string `json:"state,omitempty"` Pid *int32 `json:"pid,omitempty"` DomainState *string `json:"domain_state,omitempty"` AdditionalProperties map[string]interface{} }
VMStatus struct for VMStatus
func NewVMStatus ¶
func NewVMStatus() *VMStatus
NewVMStatus instantiates a new VMStatus 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
func NewVMStatusWithDefaults ¶
func NewVMStatusWithDefaults() *VMStatus
NewVMStatusWithDefaults instantiates a new VMStatus 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
func (*VMStatus) GetDomainState ¶
GetDomainState returns the DomainState field value if set, zero value otherwise.
func (*VMStatus) GetDomainStateOk ¶
GetDomainStateOk returns a tuple with the DomainState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VMStatus) GetPidOk ¶
GetPidOk returns a tuple with the Pid field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VMStatus) GetStateOk ¶
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*VMStatus) HasDomainState ¶
HasDomainState returns a boolean if a field has been set.
func (VMStatus) MarshalJSON ¶
func (*VMStatus) SetDomainState ¶
SetDomainState gets a reference to the given string and assigns it to the DomainState field.
func (*VMStatus) SetPid ¶
SetPid gets a reference to the given int32 and assigns it to the Pid field.
func (*VMStatus) SetState ¶
SetState gets a reference to the given string and assigns it to the State field.
func (*VMStatus) UnmarshalJSON ¶
type VmApiService ¶
type VmApiService service
VmApiService VmApi service
func (*VmApiService) CreateVM ¶
func (a *VmApiService) CreateVM(ctx context.Context) ApiCreateVMRequest
CreateVM Method for CreateVM
Create a Virtual Machine (VM).
`devices` is a list of virtualized hardware to add to the newly created Virtual Machine. Failure to attach a device destroys the VM and any resources allocated by the VM devices.
Maximum of 16 guest virtual CPUs are allowed. By default, every virtual CPU is configured as a separate package. Multiple cores can be configured per CPU by specifying `cores` attributes. `vcpus` specifies total number of CPU sockets. `cores` specifies number of cores per socket. `threads` specifies number of threads per core.
`ensure_display_device` when set ( the default ) will ensure that the guest always has access to a video device. For headless installations like ubuntu server this is required for the guest to operate properly. However for cases where consumer would like to use GPU passthrough and does not want a display device added should set this to `false`.
`arch_type` refers to architecture type and can be specified for the guest. By default the value is `null` and system in this case will choose a reasonable default based on host.
`machine_type` refers to machine type of the guest based on the architecture type selected with `arch_type`. By default the value is `null` and system in this case will choose a reasonable default based on `arch_type` configuration.
`shutdown_timeout` indicates the time in seconds the system waits for the VM to cleanly shutdown. During system shutdown, if the VM hasn't exited after a hardware shutdown signal has been sent by the system within `shutdown_timeout` seconds, system initiates poweroff for the VM to stop it.
`hide_from_msr` is a boolean which when set will hide the KVM hypervisor from standard MSR based discovery and is useful to enable when doing GPU passthrough.
SCALE Angelfish: Specifying `devices` is deprecated and will be removed in next major release.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateVMRequest
func (*VmApiService) CreateVMExecute ¶
func (a *VmApiService) CreateVMExecute(r ApiCreateVMRequest) (*VM, *http.Response, error)
Execute executes the request
@return VM
func (*VmApiService) DeleteVM ¶
func (a *VmApiService) DeleteVM(ctx context.Context, id int32) ApiDeleteVMRequest
DeleteVM Method for DeleteVM
Delete a VM.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiDeleteVMRequest
func (*VmApiService) DeleteVMExecute ¶
func (a *VmApiService) DeleteVMExecute(r ApiDeleteVMRequest) (*http.Response, error)
Execute executes the request
func (*VmApiService) GetVM ¶
func (a *VmApiService) GetVM(ctx context.Context, id int32) ApiGetVMRequest
GetVM Method for GetVM
Get VM details
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiGetVMRequest
func (*VmApiService) GetVMExecute ¶
func (a *VmApiService) GetVMExecute(r ApiGetVMRequest) (*VM, *http.Response, error)
Execute executes the request
@return VM
func (*VmApiService) ListVMS ¶
func (a *VmApiService) ListVMS(ctx context.Context) ApiListVMSRequest
ListVMS Method for ListVMS
Get a list of VMs
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiListVMSRequest
func (*VmApiService) ListVMSExecute ¶
func (a *VmApiService) ListVMSExecute(r ApiListVMSRequest) ([]VM, *http.Response, error)
Execute executes the request
@return []VM
func (*VmApiService) UpdateVM ¶
func (a *VmApiService) UpdateVM(ctx context.Context, id int32) ApiUpdateVMRequest
UpdateVM Method for UpdateVM
Update all information of a specific VM.
`devices` is a list of virtualized hardware to attach to the virtual machine. If `devices` is not present, no change is made to devices. If either the device list order or data stored by the device changes when the attribute is passed, these actions are taken:
If there is no device in the `devices` list which was previously attached to the VM, that device is removed from the virtual machine.
Devices are updated in the `devices` list when they contain a valid `id` attribute that corresponds to an existing device.
Devices that do not have an `id` attribute are created and attached to `id` VM.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id @return ApiUpdateVMRequest
func (*VmApiService) UpdateVMExecute ¶
func (a *VmApiService) UpdateVMExecute(r ApiUpdateVMRequest) (*VM, *http.Response, error)
Execute executes the request
@return VM
Source Files ¶
- api_cronjob.go
- api_dataset.go
- api_group.go
- api_network.go
- api_pool.go
- api_service.go
- api_sharing.go
- api_user.go
- api_vm.go
- client.go
- configuration.go
- model_composite_value.go
- model_create_cronjob_params.go
- model_create_dataset_params.go
- model_create_dataset_params_encryption_options.go
- model_create_group_params.go
- model_create_share_nfs_params.go
- model_create_share_smb_params.go
- model_create_user_params.go
- model_create_vm_params.go
- model_cron_job.go
- model_cron_job_schedule.go
- model_dataset.go
- model_delete_group_params.go
- model_delete_user_params.go
- model_group.go
- model_network_config.go
- model_network_config_service_announcement.go
- model_network_summary.go
- model_network_summary_ips_value.go
- model_pool.go
- model_service.go
- model_share_nfs.go
- model_share_smb.go
- model_update_dataset_params.go
- model_update_user_params.go
- model_update_vm_params.go
- model_user.go
- model_user_group.go
- model_vm.go
- model_vm_device.go
- model_vm_status.go
- response.go
- utils.go