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 AclAccess
- type ApiCteraGatewayOpenapiApiSharesAddAclRequest
- type ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest
- type ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest
- func (r ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest) Execute() (*_nethttp.Response, error)
- func (r ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest) NFSv3AccessControlEntry(nFSv3AccessControlEntry []NFSv3AccessControlEntry) ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest
- type ApiCteraGatewayOpenapiApiSharesGetAclRequest
- type ApiCteraGatewayOpenapiApiSharesGetScreenedFileTypesRequest
- type ApiCteraGatewayOpenapiApiSharesGetTrustedNfsClientsRequest
- type ApiCteraGatewayOpenapiApiSharesRemoveAclRequest
- func (r ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) Execute() (*_nethttp.Response, error)
- func (r ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) PrincipalName(principalName string) ApiCteraGatewayOpenapiApiSharesRemoveAclRequest
- func (r ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) PrincipalType(principalType PrincipalType) ApiCteraGatewayOpenapiApiSharesRemoveAclRequest
- type ApiCteraGatewayOpenapiApiSharesRemoveScreenedFileTypeRequest
- type ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest
- func (r ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest) Address(address string) ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest
- func (r ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest) Execute() (*_nethttp.Response, error)
- func (r ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest) Netmask(netmask string) ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest
- type ApiCteraGatewayOpenapiApiSharesSetAclRequest
- type ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest
- type ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest
- func (r ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest) Execute() (*_nethttp.Response, error)
- func (r ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest) NFSv3AccessControlEntry(nFSv3AccessControlEntry []NFSv3AccessControlEntry) ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest
- type ApiLoginPostRequest
- type ApiLogoutPostRequest
- type ApiSharesGetRequest
- type ApiSharesNameDeleteRequest
- type ApiSharesNameGetRequest
- type ApiSharesNamePutRequest
- type ApiSharesPostRequest
- type ApiUsersGetRequest
- type ApiUsersPostRequest
- type ApiUsersPutRequest
- type ApiUsersUserNameDeleteRequest
- type ApiUsersUserNameGetRequest
- type BasicAuth
- type ClientSideCaching
- type Configuration
- type Credentials
- func (o *Credentials) GetPassword() string
- func (o *Credentials) GetPasswordOk() (*string, bool)
- func (o *Credentials) GetUsername() string
- func (o *Credentials) GetUsernameOk() (*string, bool)
- func (o Credentials) MarshalJSON() ([]byte, error)
- func (o *Credentials) SetPassword(v string)
- func (o *Credentials) SetUsername(v string)
- type ErrorMessage
- func (o *ErrorMessage) GetDetail() string
- func (o *ErrorMessage) GetDetailOk() (*string, bool)
- func (o *ErrorMessage) GetStatus() int32
- func (o *ErrorMessage) GetStatusOk() (*int32, bool)
- func (o *ErrorMessage) GetTitle() string
- func (o *ErrorMessage) GetTitleOk() (*string, bool)
- func (o *ErrorMessage) GetType() string
- func (o *ErrorMessage) GetTypeOk() (*string, bool)
- func (o *ErrorMessage) HasDetail() bool
- func (o *ErrorMessage) HasTitle() bool
- func (o *ErrorMessage) HasType() bool
- func (o ErrorMessage) MarshalJSON() ([]byte, error)
- func (o *ErrorMessage) SetDetail(v string)
- func (o *ErrorMessage) SetStatus(v int32)
- func (o *ErrorMessage) SetTitle(v string)
- func (o *ErrorMessage) SetType(v string)
- type FileAccessMode
- type GenericOpenAPIError
- type LoginApiService
- func (a *LoginApiService) LoginPost(ctx _context.Context) ApiLoginPostRequest
- func (a *LoginApiService) LoginPostExecute(r ApiLoginPostRequest) (string, *_nethttp.Response, error)
- func (a *LoginApiService) LogoutPost(ctx _context.Context) ApiLogoutPostRequest
- func (a *LoginApiService) LogoutPostExecute(r ApiLogoutPostRequest) (*_nethttp.Response, error)
- type NFSv3AccessControlEntry
- func (o *NFSv3AccessControlEntry) GetAddress() string
- func (o *NFSv3AccessControlEntry) GetAddressOk() (*string, bool)
- func (o *NFSv3AccessControlEntry) GetNetmask() string
- func (o *NFSv3AccessControlEntry) GetNetmaskOk() (*string, bool)
- func (o *NFSv3AccessControlEntry) GetPerm() FileAccessMode
- func (o *NFSv3AccessControlEntry) GetPermOk() (*FileAccessMode, bool)
- func (o NFSv3AccessControlEntry) MarshalJSON() ([]byte, error)
- func (o *NFSv3AccessControlEntry) SetAddress(v string)
- func (o *NFSv3AccessControlEntry) SetNetmask(v string)
- func (o *NFSv3AccessControlEntry) SetPerm(v FileAccessMode)
- type NullableAclAccess
- type NullableBool
- type NullableClientSideCaching
- func (v NullableClientSideCaching) Get() *ClientSideCaching
- func (v NullableClientSideCaching) IsSet() bool
- func (v NullableClientSideCaching) MarshalJSON() ([]byte, error)
- func (v *NullableClientSideCaching) Set(val *ClientSideCaching)
- func (v *NullableClientSideCaching) UnmarshalJSON(src []byte) error
- func (v *NullableClientSideCaching) Unset()
- type NullableCredentials
- func (v NullableCredentials) Get() *Credentials
- func (v NullableCredentials) IsSet() bool
- func (v NullableCredentials) MarshalJSON() ([]byte, error)
- func (v *NullableCredentials) Set(val *Credentials)
- func (v *NullableCredentials) UnmarshalJSON(src []byte) error
- func (v *NullableCredentials) Unset()
- type NullableErrorMessage
- func (v NullableErrorMessage) Get() *ErrorMessage
- func (v NullableErrorMessage) IsSet() bool
- func (v NullableErrorMessage) MarshalJSON() ([]byte, error)
- func (v *NullableErrorMessage) Set(val *ErrorMessage)
- func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error
- func (v *NullableErrorMessage) Unset()
- type NullableFileAccessMode
- func (v NullableFileAccessMode) Get() *FileAccessMode
- func (v NullableFileAccessMode) IsSet() bool
- func (v NullableFileAccessMode) MarshalJSON() ([]byte, error)
- func (v *NullableFileAccessMode) Set(val *FileAccessMode)
- func (v *NullableFileAccessMode) UnmarshalJSON(src []byte) error
- func (v *NullableFileAccessMode) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableNFSv3AccessControlEntry
- func (v NullableNFSv3AccessControlEntry) Get() *NFSv3AccessControlEntry
- func (v NullableNFSv3AccessControlEntry) IsSet() bool
- func (v NullableNFSv3AccessControlEntry) MarshalJSON() ([]byte, error)
- func (v *NullableNFSv3AccessControlEntry) Set(val *NFSv3AccessControlEntry)
- func (v *NullableNFSv3AccessControlEntry) UnmarshalJSON(src []byte) error
- func (v *NullableNFSv3AccessControlEntry) Unset()
- type NullablePrincipalType
- func (v NullablePrincipalType) Get() *PrincipalType
- func (v NullablePrincipalType) IsSet() bool
- func (v NullablePrincipalType) MarshalJSON() ([]byte, error)
- func (v *NullablePrincipalType) Set(val *PrincipalType)
- func (v *NullablePrincipalType) UnmarshalJSON(src []byte) error
- func (v *NullablePrincipalType) Unset()
- type NullableShare
- type NullableShareAccessControlEntry
- func (v NullableShareAccessControlEntry) Get() *ShareAccessControlEntry
- func (v NullableShareAccessControlEntry) IsSet() bool
- func (v NullableShareAccessControlEntry) MarshalJSON() ([]byte, error)
- func (v *NullableShareAccessControlEntry) Set(val *ShareAccessControlEntry)
- func (v *NullableShareAccessControlEntry) UnmarshalJSON(src []byte) error
- func (v *NullableShareAccessControlEntry) Unset()
- type NullableString
- type NullableTime
- type NullableUser
- type PrincipalType
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type Share
- func (o *Share) GetAccess() AclAccess
- func (o *Share) GetAccessOk() (*AclAccess, bool)
- func (o *Share) GetAcl() []ShareAccessControlEntry
- func (o *Share) GetAclOk() (*[]ShareAccessControlEntry, bool)
- func (o *Share) GetClientSideCaching() ClientSideCaching
- func (o *Share) GetClientSideCachingOk() (*ClientSideCaching, bool)
- func (o *Share) GetComment() string
- func (o *Share) GetCommentOk() (*string, bool)
- func (o *Share) GetDirPermissions() int32
- func (o *Share) GetDirPermissionsOk() (*int32, bool)
- func (o *Share) GetDirectory() string
- func (o *Share) GetDirectoryOk() (*string, bool)
- func (o *Share) GetExportToAfp() bool
- func (o *Share) GetExportToAfpOk() (*bool, bool)
- func (o *Share) GetExportToFtp() bool
- func (o *Share) GetExportToFtpOk() (*bool, bool)
- func (o *Share) GetExportToNfs() bool
- func (o *Share) GetExportToNfsOk() (*bool, bool)
- func (o *Share) GetExportToPcAgent() bool
- func (o *Share) GetExportToPcAgentOk() (*bool, bool)
- func (o *Share) GetExportToRsync() bool
- func (o *Share) GetExportToRsyncOk() (*bool, bool)
- func (o *Share) GetIndexed() bool
- func (o *Share) GetIndexedOk() (*bool, bool)
- func (o *Share) GetName() string
- func (o *Share) GetNameOk() (*string, bool)
- func (o *Share) GetTrustedNfsClients() []NFSv3AccessControlEntry
- func (o *Share) GetTrustedNfsClientsOk() (*[]NFSv3AccessControlEntry, bool)
- func (o *Share) HasAccess() bool
- func (o *Share) HasAcl() bool
- func (o *Share) HasClientSideCaching() bool
- func (o *Share) HasComment() bool
- func (o *Share) HasDirPermissions() bool
- func (o *Share) HasDirectory() bool
- func (o *Share) HasExportToAfp() bool
- func (o *Share) HasExportToFtp() bool
- func (o *Share) HasExportToNfs() bool
- func (o *Share) HasExportToPcAgent() bool
- func (o *Share) HasExportToRsync() bool
- func (o *Share) HasIndexed() bool
- func (o *Share) HasTrustedNfsClients() bool
- func (o Share) MarshalJSON() ([]byte, error)
- func (o *Share) SetAccess(v AclAccess)
- func (o *Share) SetAcl(v []ShareAccessControlEntry)
- func (o *Share) SetClientSideCaching(v ClientSideCaching)
- func (o *Share) SetComment(v string)
- func (o *Share) SetDirPermissions(v int32)
- func (o *Share) SetDirectory(v string)
- func (o *Share) SetExportToAfp(v bool)
- func (o *Share) SetExportToFtp(v bool)
- func (o *Share) SetExportToNfs(v bool)
- func (o *Share) SetExportToPcAgent(v bool)
- func (o *Share) SetExportToRsync(v bool)
- func (o *Share) SetIndexed(v bool)
- func (o *Share) SetName(v string)
- func (o *Share) SetTrustedNfsClients(v []NFSv3AccessControlEntry)
- type ShareAccessControlEntry
- func (o *ShareAccessControlEntry) GetName() string
- func (o *ShareAccessControlEntry) GetNameOk() (*string, bool)
- func (o *ShareAccessControlEntry) GetPerm() FileAccessMode
- func (o *ShareAccessControlEntry) GetPermOk() (*FileAccessMode, bool)
- func (o *ShareAccessControlEntry) GetPrincipalType() PrincipalType
- func (o *ShareAccessControlEntry) GetPrincipalTypeOk() (*PrincipalType, bool)
- func (o ShareAccessControlEntry) MarshalJSON() ([]byte, error)
- func (o *ShareAccessControlEntry) SetName(v string)
- func (o *ShareAccessControlEntry) SetPerm(v FileAccessMode)
- func (o *ShareAccessControlEntry) SetPrincipalType(v PrincipalType)
- type SharesApiService
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddAcl(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesAddAclRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddAclExecute(r ApiCteraGatewayOpenapiApiSharesAddAclRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddScreenedFileTypes(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddScreenedFileTypesExecute(r ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddTrustedNfsClients(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddTrustedNfsClientsExecute(r ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetAcl(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesGetAclRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetAclExecute(r ApiCteraGatewayOpenapiApiSharesGetAclRequest) ([][]ShareAccessControlEntry, *_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetScreenedFileTypes(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesGetScreenedFileTypesRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetScreenedFileTypesExecute(r ApiCteraGatewayOpenapiApiSharesGetScreenedFileTypesRequest) ([]string, *_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetTrustedNfsClients(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesGetTrustedNfsClientsRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetTrustedNfsClientsExecute(r ApiCteraGatewayOpenapiApiSharesGetTrustedNfsClientsRequest) ([][]NFSv3AccessControlEntry, *_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveAcl(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesRemoveAclRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveAclExecute(r ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveScreenedFileType(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesRemoveScreenedFileTypeRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveScreenedFileTypeExecute(r ApiCteraGatewayOpenapiApiSharesRemoveScreenedFileTypeRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveTrustedNfsClient(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveTrustedNfsClientExecute(r ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetAcl(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesSetAclRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetAclExecute(r ApiCteraGatewayOpenapiApiSharesSetAclRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetScreenedFileTypes(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetScreenedFileTypesExecute(r ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetTrustedNfsClients(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest
- func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetTrustedNfsClientsExecute(r ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) SharesGet(ctx _context.Context) ApiSharesGetRequest
- func (a *SharesApiService) SharesGetExecute(r ApiSharesGetRequest) ([]Share, *_nethttp.Response, error)
- func (a *SharesApiService) SharesNameDelete(ctx _context.Context, name string) ApiSharesNameDeleteRequest
- func (a *SharesApiService) SharesNameDeleteExecute(r ApiSharesNameDeleteRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) SharesNameGet(ctx _context.Context, name string) ApiSharesNameGetRequest
- func (a *SharesApiService) SharesNameGetExecute(r ApiSharesNameGetRequest) (Share, *_nethttp.Response, error)
- func (a *SharesApiService) SharesNamePut(ctx _context.Context, name string) ApiSharesNamePutRequest
- func (a *SharesApiService) SharesNamePutExecute(r ApiSharesNamePutRequest) (*_nethttp.Response, error)
- func (a *SharesApiService) SharesPost(ctx _context.Context) ApiSharesPostRequest
- func (a *SharesApiService) SharesPostExecute(r ApiSharesPostRequest) (*_nethttp.Response, error)
- type User
- 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) GetPassword() string
- func (o *User) GetPasswordOk() (*string, bool)
- func (o *User) GetUid() int32
- func (o *User) GetUidOk() (*int32, bool)
- func (o *User) GetUsername() string
- func (o *User) GetUsernameOk() (*string, bool)
- func (o *User) GetUuid() string
- func (o *User) GetUuidOk() (*string, bool)
- func (o *User) HasEmail() bool
- func (o *User) HasFullName() bool
- func (o *User) HasPassword() bool
- func (o *User) HasUid() bool
- func (o *User) HasUuid() bool
- func (o User) MarshalJSON() ([]byte, error)
- func (o *User) SetEmail(v string)
- func (o *User) SetFullName(v string)
- func (o *User) SetPassword(v string)
- func (o *User) SetUid(v int32)
- func (o *User) SetUsername(v string)
- func (o *User) SetUuid(v string)
- type UsersApiService
- func (a *UsersApiService) UsersGet(ctx _context.Context) ApiUsersGetRequest
- func (a *UsersApiService) UsersGetExecute(r ApiUsersGetRequest) ([]User, *_nethttp.Response, error)
- func (a *UsersApiService) UsersPost(ctx _context.Context) ApiUsersPostRequest
- func (a *UsersApiService) UsersPostExecute(r ApiUsersPostRequest) (*_nethttp.Response, error)
- func (a *UsersApiService) UsersPut(ctx _context.Context) ApiUsersPutRequest
- func (a *UsersApiService) UsersPutExecute(r ApiUsersPutRequest) (*_nethttp.Response, error)
- func (a *UsersApiService) UsersUserNameDelete(ctx _context.Context, userName string) ApiUsersUserNameDeleteRequest
- func (a *UsersApiService) UsersUserNameDeleteExecute(r ApiUsersUserNameDeleteRequest) (*_nethttp.Response, error)
- func (a *UsersApiService) UsersUserNameGet(ctx _context.Context, userName string) ApiUsersUserNameGetRequest
- func (a *UsersApiService) UsersUserNameGetExecute(r ApiUsersUserNameGetRequest) (User, *_nethttp.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 { LoginApi *LoginApiService UsersApi *UsersApiService // contains filtered or unexported fields }
APIClient manages communication with the CTERA Gateway API v1.0.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 AclAccess ¶
type AclAccess string
AclAccess the model 'AclAccess'
const ( WINDOWS_NT AclAccess = "WindowsNT" ONLY_AUTHENTICATED_USERS AclAccess = "OnlyAuthenticatedUsers" )
List of AclAccess
func NewAclAccessFromValue ¶
NewAclAccessFromValue returns a pointer to a valid AclAccess for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*AclAccess) UnmarshalJSON ¶
type ApiCteraGatewayOpenapiApiSharesAddAclRequest ¶
type ApiCteraGatewayOpenapiApiSharesAddAclRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesAddAclRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesAddAclRequest) Execute() (*_nethttp.Response, error)
func (ApiCteraGatewayOpenapiApiSharesAddAclRequest) ShareAccessControlEntry ¶
func (r ApiCteraGatewayOpenapiApiSharesAddAclRequest) ShareAccessControlEntry(shareAccessControlEntry []ShareAccessControlEntry) ApiCteraGatewayOpenapiApiSharesAddAclRequest
type ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest ¶
type ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest) Execute() (*_nethttp.Response, error)
func (ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest) RequestBody ¶
func (r ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest) RequestBody(requestBody []string) ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest
type ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest ¶
type ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest) Execute() (*_nethttp.Response, error)
func (ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest) NFSv3AccessControlEntry ¶
func (r ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest) NFSv3AccessControlEntry(nFSv3AccessControlEntry []NFSv3AccessControlEntry) ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest
type ApiCteraGatewayOpenapiApiSharesGetAclRequest ¶
type ApiCteraGatewayOpenapiApiSharesGetAclRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesGetAclRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesGetAclRequest) Execute() ([][]ShareAccessControlEntry, *_nethttp.Response, error)
type ApiCteraGatewayOpenapiApiSharesGetScreenedFileTypesRequest ¶
type ApiCteraGatewayOpenapiApiSharesGetScreenedFileTypesRequest struct { // contains filtered or unexported fields }
type ApiCteraGatewayOpenapiApiSharesGetTrustedNfsClientsRequest ¶
type ApiCteraGatewayOpenapiApiSharesGetTrustedNfsClientsRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesGetTrustedNfsClientsRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesGetTrustedNfsClientsRequest) Execute() ([][]NFSv3AccessControlEntry, *_nethttp.Response, error)
type ApiCteraGatewayOpenapiApiSharesRemoveAclRequest ¶
type ApiCteraGatewayOpenapiApiSharesRemoveAclRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) Execute() (*_nethttp.Response, error)
func (ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) PrincipalName ¶
func (r ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) PrincipalName(principalName string) ApiCteraGatewayOpenapiApiSharesRemoveAclRequest
func (ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) PrincipalType ¶
func (r ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) PrincipalType(principalType PrincipalType) ApiCteraGatewayOpenapiApiSharesRemoveAclRequest
type ApiCteraGatewayOpenapiApiSharesRemoveScreenedFileTypeRequest ¶
type ApiCteraGatewayOpenapiApiSharesRemoveScreenedFileTypeRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesRemoveScreenedFileTypeRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesRemoveScreenedFileTypeRequest) Execute() (*_nethttp.Response, error)
type ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest ¶
type ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest) Execute() (*_nethttp.Response, error)
type ApiCteraGatewayOpenapiApiSharesSetAclRequest ¶
type ApiCteraGatewayOpenapiApiSharesSetAclRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesSetAclRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesSetAclRequest) Execute() (*_nethttp.Response, error)
func (ApiCteraGatewayOpenapiApiSharesSetAclRequest) ShareAccessControlEntry ¶
func (r ApiCteraGatewayOpenapiApiSharesSetAclRequest) ShareAccessControlEntry(shareAccessControlEntry []ShareAccessControlEntry) ApiCteraGatewayOpenapiApiSharesSetAclRequest
type ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest ¶
type ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest) Execute() (*_nethttp.Response, error)
func (ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest) RequestBody ¶
func (r ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest) RequestBody(requestBody []string) ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest
type ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest ¶
type ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest struct { // contains filtered or unexported fields }
func (ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest) Execute ¶
func (r ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest) Execute() (*_nethttp.Response, error)
func (ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest) NFSv3AccessControlEntry ¶
func (r ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest) NFSv3AccessControlEntry(nFSv3AccessControlEntry []NFSv3AccessControlEntry) ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest
type ApiLoginPostRequest ¶
type ApiLoginPostRequest struct { ApiService *LoginApiService // contains filtered or unexported fields }
func (ApiLoginPostRequest) Credentials ¶
func (r ApiLoginPostRequest) Credentials(credentials Credentials) ApiLoginPostRequest
type ApiLogoutPostRequest ¶
type ApiLogoutPostRequest struct { ApiService *LoginApiService // contains filtered or unexported fields }
type ApiSharesGetRequest ¶
type ApiSharesGetRequest struct { // contains filtered or unexported fields }
type ApiSharesNameDeleteRequest ¶
type ApiSharesNameDeleteRequest struct { // contains filtered or unexported fields }
type ApiSharesNameGetRequest ¶
type ApiSharesNameGetRequest struct { // contains filtered or unexported fields }
type ApiSharesNamePutRequest ¶
type ApiSharesNamePutRequest struct { // contains filtered or unexported fields }
func (ApiSharesNamePutRequest) Execute ¶
func (r ApiSharesNamePutRequest) Execute() (*_nethttp.Response, error)
func (ApiSharesNamePutRequest) Share ¶
func (r ApiSharesNamePutRequest) Share(share Share) ApiSharesNamePutRequest
type ApiSharesPostRequest ¶
type ApiSharesPostRequest struct { // contains filtered or unexported fields }
func (ApiSharesPostRequest) Execute ¶
func (r ApiSharesPostRequest) Execute() (*_nethttp.Response, error)
func (ApiSharesPostRequest) Share ¶
func (r ApiSharesPostRequest) Share(share Share) ApiSharesPostRequest
type ApiUsersGetRequest ¶
type ApiUsersGetRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiUsersPostRequest ¶
type ApiUsersPostRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiUsersPostRequest) Execute ¶
func (r ApiUsersPostRequest) Execute() (*_nethttp.Response, error)
func (ApiUsersPostRequest) User ¶
func (r ApiUsersPostRequest) User(user User) ApiUsersPostRequest
type ApiUsersPutRequest ¶
type ApiUsersPutRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
func (ApiUsersPutRequest) Execute ¶
func (r ApiUsersPutRequest) Execute() (*_nethttp.Response, error)
func (ApiUsersPutRequest) User ¶
func (r ApiUsersPutRequest) User(user User) ApiUsersPutRequest
type ApiUsersUserNameDeleteRequest ¶
type ApiUsersUserNameDeleteRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
type ApiUsersUserNameGetRequest ¶
type ApiUsersUserNameGetRequest struct { ApiService *UsersApiService // contains filtered or unexported fields }
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 ClientSideCaching ¶
type ClientSideCaching string
ClientSideCaching the model 'ClientSideCaching'
const ( MANUAL ClientSideCaching = "Manual" DOCUMENTS ClientSideCaching = "Documents" DISABLED ClientSideCaching = "Disabled" )
List of ClientSideCaching
func NewClientSideCachingFromValue ¶
func NewClientSideCachingFromValue(v string) (*ClientSideCaching, error)
NewClientSideCachingFromValue returns a pointer to a valid ClientSideCaching for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ClientSideCaching) IsValid ¶
func (v ClientSideCaching) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ClientSideCaching) Ptr ¶
func (v ClientSideCaching) Ptr() *ClientSideCaching
Ptr returns reference to ClientSideCaching value
func (*ClientSideCaching) UnmarshalJSON ¶
func (v *ClientSideCaching) UnmarshalJSON(src []byte) 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 Credentials ¶
Credentials struct for Credentials
func NewCredentials ¶
func NewCredentials(username string, password string) *Credentials
NewCredentials instantiates a new Credentials 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 NewCredentialsWithDefaults ¶
func NewCredentialsWithDefaults() *Credentials
NewCredentialsWithDefaults instantiates a new Credentials 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 (*Credentials) GetPassword ¶
func (o *Credentials) GetPassword() string
GetPassword returns the Password field value
func (*Credentials) GetPasswordOk ¶
func (o *Credentials) GetPasswordOk() (*string, bool)
GetPasswordOk returns a tuple with the Password field value and a boolean to check if the value has been set.
func (*Credentials) GetUsername ¶
func (o *Credentials) GetUsername() string
GetUsername returns the Username field value
func (*Credentials) GetUsernameOk ¶
func (o *Credentials) GetUsernameOk() (*string, bool)
GetUsernameOk returns a tuple with the Username field value and a boolean to check if the value has been set.
func (Credentials) MarshalJSON ¶
func (o Credentials) MarshalJSON() ([]byte, error)
func (*Credentials) SetPassword ¶
func (o *Credentials) SetPassword(v string)
SetPassword sets field value
func (*Credentials) SetUsername ¶
func (o *Credentials) SetUsername(v string)
SetUsername sets field value
type ErrorMessage ¶
type ErrorMessage struct { Status int32 `json:"status"` Type *string `json:"type,omitempty"` Title *string `json:"title,omitempty"` Detail *string `json:"detail,omitempty"` }
ErrorMessage struct for ErrorMessage
func NewErrorMessage ¶
func NewErrorMessage(status int32) *ErrorMessage
NewErrorMessage instantiates a new ErrorMessage 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 NewErrorMessageWithDefaults ¶
func NewErrorMessageWithDefaults() *ErrorMessage
NewErrorMessageWithDefaults instantiates a new ErrorMessage 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 (*ErrorMessage) GetDetail ¶
func (o *ErrorMessage) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*ErrorMessage) GetDetailOk ¶
func (o *ErrorMessage) GetDetailOk() (*string, bool)
GetDetailOk returns a tuple with the Detail field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorMessage) GetStatus ¶
func (o *ErrorMessage) GetStatus() int32
GetStatus returns the Status field value
func (*ErrorMessage) GetStatusOk ¶
func (o *ErrorMessage) GetStatusOk() (*int32, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ErrorMessage) GetTitle ¶
func (o *ErrorMessage) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ErrorMessage) GetTitleOk ¶
func (o *ErrorMessage) GetTitleOk() (*string, bool)
GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ErrorMessage) GetType ¶
func (o *ErrorMessage) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ErrorMessage) GetTypeOk ¶
func (o *ErrorMessage) 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 (*ErrorMessage) HasDetail ¶
func (o *ErrorMessage) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*ErrorMessage) HasTitle ¶
func (o *ErrorMessage) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ErrorMessage) HasType ¶
func (o *ErrorMessage) HasType() bool
HasType returns a boolean if a field has been set.
func (ErrorMessage) MarshalJSON ¶
func (o ErrorMessage) MarshalJSON() ([]byte, error)
func (*ErrorMessage) SetDetail ¶
func (o *ErrorMessage) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*ErrorMessage) SetStatus ¶
func (o *ErrorMessage) SetStatus(v int32)
SetStatus sets field value
func (*ErrorMessage) SetTitle ¶
func (o *ErrorMessage) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*ErrorMessage) SetType ¶
func (o *ErrorMessage) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
type FileAccessMode ¶
type FileAccessMode string
FileAccessMode the model 'FileAccessMode'
const ( RW FileAccessMode = "RW" RO FileAccessMode = "RO" NA FileAccessMode = "NA" )
List of FileAccessMode
func NewFileAccessModeFromValue ¶
func NewFileAccessModeFromValue(v string) (*FileAccessMode, error)
NewFileAccessModeFromValue returns a pointer to a valid FileAccessMode for the value passed as argument, or an error if the value passed is not allowed by the enum
func (FileAccessMode) IsValid ¶
func (v FileAccessMode) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (FileAccessMode) Ptr ¶
func (v FileAccessMode) Ptr() *FileAccessMode
Ptr returns reference to FileAccessMode value
func (*FileAccessMode) UnmarshalJSON ¶
func (v *FileAccessMode) UnmarshalJSON(src []byte) 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 LoginApiService ¶
type LoginApiService service
LoginApiService LoginApi service
func (*LoginApiService) LoginPost ¶
func (a *LoginApiService) LoginPost(ctx _context.Context) ApiLoginPostRequest
* LoginPost Get JWT from User/Password * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiLoginPostRequest
func (*LoginApiService) LoginPostExecute ¶
func (a *LoginApiService) LoginPostExecute(r ApiLoginPostRequest) (string, *_nethttp.Response, error)
* Execute executes the request * @return string
func (*LoginApiService) LogoutPost ¶
func (a *LoginApiService) LogoutPost(ctx _context.Context) ApiLogoutPostRequest
* LogoutPost Log out * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiLogoutPostRequest
func (*LoginApiService) LogoutPostExecute ¶
func (a *LoginApiService) LogoutPostExecute(r ApiLogoutPostRequest) (*_nethttp.Response, error)
* Execute executes the request
type NFSv3AccessControlEntry ¶
type NFSv3AccessControlEntry struct { Address string `json:"address"` Netmask string `json:"netmask"` Perm FileAccessMode `json:"perm"` }
NFSv3AccessControlEntry struct for NFSv3AccessControlEntry
func NewNFSv3AccessControlEntry ¶
func NewNFSv3AccessControlEntry(address string, netmask string, perm FileAccessMode) *NFSv3AccessControlEntry
NewNFSv3AccessControlEntry instantiates a new NFSv3AccessControlEntry 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 NewNFSv3AccessControlEntryWithDefaults ¶
func NewNFSv3AccessControlEntryWithDefaults() *NFSv3AccessControlEntry
NewNFSv3AccessControlEntryWithDefaults instantiates a new NFSv3AccessControlEntry 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 (*NFSv3AccessControlEntry) GetAddress ¶
func (o *NFSv3AccessControlEntry) GetAddress() string
GetAddress returns the Address field value
func (*NFSv3AccessControlEntry) GetAddressOk ¶
func (o *NFSv3AccessControlEntry) GetAddressOk() (*string, bool)
GetAddressOk returns a tuple with the Address field value and a boolean to check if the value has been set.
func (*NFSv3AccessControlEntry) GetNetmask ¶
func (o *NFSv3AccessControlEntry) GetNetmask() string
GetNetmask returns the Netmask field value
func (*NFSv3AccessControlEntry) GetNetmaskOk ¶
func (o *NFSv3AccessControlEntry) GetNetmaskOk() (*string, bool)
GetNetmaskOk returns a tuple with the Netmask field value and a boolean to check if the value has been set.
func (*NFSv3AccessControlEntry) GetPerm ¶
func (o *NFSv3AccessControlEntry) GetPerm() FileAccessMode
GetPerm returns the Perm field value
func (*NFSv3AccessControlEntry) GetPermOk ¶
func (o *NFSv3AccessControlEntry) GetPermOk() (*FileAccessMode, bool)
GetPermOk returns a tuple with the Perm field value and a boolean to check if the value has been set.
func (NFSv3AccessControlEntry) MarshalJSON ¶
func (o NFSv3AccessControlEntry) MarshalJSON() ([]byte, error)
func (*NFSv3AccessControlEntry) SetAddress ¶
func (o *NFSv3AccessControlEntry) SetAddress(v string)
SetAddress sets field value
func (*NFSv3AccessControlEntry) SetNetmask ¶
func (o *NFSv3AccessControlEntry) SetNetmask(v string)
SetNetmask sets field value
func (*NFSv3AccessControlEntry) SetPerm ¶
func (o *NFSv3AccessControlEntry) SetPerm(v FileAccessMode)
SetPerm sets field value
type NullableAclAccess ¶
type NullableAclAccess struct {
// contains filtered or unexported fields
}
func NewNullableAclAccess ¶
func NewNullableAclAccess(val *AclAccess) *NullableAclAccess
func (NullableAclAccess) Get ¶
func (v NullableAclAccess) Get() *AclAccess
func (NullableAclAccess) IsSet ¶
func (v NullableAclAccess) IsSet() bool
func (NullableAclAccess) MarshalJSON ¶
func (v NullableAclAccess) MarshalJSON() ([]byte, error)
func (*NullableAclAccess) Set ¶
func (v *NullableAclAccess) Set(val *AclAccess)
func (*NullableAclAccess) UnmarshalJSON ¶
func (v *NullableAclAccess) UnmarshalJSON(src []byte) error
func (*NullableAclAccess) Unset ¶
func (v *NullableAclAccess) Unset()
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 NullableClientSideCaching ¶
type NullableClientSideCaching struct {
// contains filtered or unexported fields
}
func NewNullableClientSideCaching ¶
func NewNullableClientSideCaching(val *ClientSideCaching) *NullableClientSideCaching
func (NullableClientSideCaching) Get ¶
func (v NullableClientSideCaching) Get() *ClientSideCaching
func (NullableClientSideCaching) IsSet ¶
func (v NullableClientSideCaching) IsSet() bool
func (NullableClientSideCaching) MarshalJSON ¶
func (v NullableClientSideCaching) MarshalJSON() ([]byte, error)
func (*NullableClientSideCaching) Set ¶
func (v *NullableClientSideCaching) Set(val *ClientSideCaching)
func (*NullableClientSideCaching) UnmarshalJSON ¶
func (v *NullableClientSideCaching) UnmarshalJSON(src []byte) error
func (*NullableClientSideCaching) Unset ¶
func (v *NullableClientSideCaching) Unset()
type NullableCredentials ¶
type NullableCredentials struct {
// contains filtered or unexported fields
}
func NewNullableCredentials ¶
func NewNullableCredentials(val *Credentials) *NullableCredentials
func (NullableCredentials) Get ¶
func (v NullableCredentials) Get() *Credentials
func (NullableCredentials) IsSet ¶
func (v NullableCredentials) IsSet() bool
func (NullableCredentials) MarshalJSON ¶
func (v NullableCredentials) MarshalJSON() ([]byte, error)
func (*NullableCredentials) Set ¶
func (v *NullableCredentials) Set(val *Credentials)
func (*NullableCredentials) UnmarshalJSON ¶
func (v *NullableCredentials) UnmarshalJSON(src []byte) error
func (*NullableCredentials) Unset ¶
func (v *NullableCredentials) Unset()
type NullableErrorMessage ¶
type NullableErrorMessage struct {
// contains filtered or unexported fields
}
func NewNullableErrorMessage ¶
func NewNullableErrorMessage(val *ErrorMessage) *NullableErrorMessage
func (NullableErrorMessage) Get ¶
func (v NullableErrorMessage) Get() *ErrorMessage
func (NullableErrorMessage) IsSet ¶
func (v NullableErrorMessage) IsSet() bool
func (NullableErrorMessage) MarshalJSON ¶
func (v NullableErrorMessage) MarshalJSON() ([]byte, error)
func (*NullableErrorMessage) Set ¶
func (v *NullableErrorMessage) Set(val *ErrorMessage)
func (*NullableErrorMessage) UnmarshalJSON ¶
func (v *NullableErrorMessage) UnmarshalJSON(src []byte) error
func (*NullableErrorMessage) Unset ¶
func (v *NullableErrorMessage) Unset()
type NullableFileAccessMode ¶
type NullableFileAccessMode struct {
// contains filtered or unexported fields
}
func NewNullableFileAccessMode ¶
func NewNullableFileAccessMode(val *FileAccessMode) *NullableFileAccessMode
func (NullableFileAccessMode) Get ¶
func (v NullableFileAccessMode) Get() *FileAccessMode
func (NullableFileAccessMode) IsSet ¶
func (v NullableFileAccessMode) IsSet() bool
func (NullableFileAccessMode) MarshalJSON ¶
func (v NullableFileAccessMode) MarshalJSON() ([]byte, error)
func (*NullableFileAccessMode) Set ¶
func (v *NullableFileAccessMode) Set(val *FileAccessMode)
func (*NullableFileAccessMode) UnmarshalJSON ¶
func (v *NullableFileAccessMode) UnmarshalJSON(src []byte) error
func (*NullableFileAccessMode) Unset ¶
func (v *NullableFileAccessMode) 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 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 NullableNFSv3AccessControlEntry ¶
type NullableNFSv3AccessControlEntry struct {
// contains filtered or unexported fields
}
func NewNullableNFSv3AccessControlEntry ¶
func NewNullableNFSv3AccessControlEntry(val *NFSv3AccessControlEntry) *NullableNFSv3AccessControlEntry
func (NullableNFSv3AccessControlEntry) Get ¶
func (v NullableNFSv3AccessControlEntry) Get() *NFSv3AccessControlEntry
func (NullableNFSv3AccessControlEntry) IsSet ¶
func (v NullableNFSv3AccessControlEntry) IsSet() bool
func (NullableNFSv3AccessControlEntry) MarshalJSON ¶
func (v NullableNFSv3AccessControlEntry) MarshalJSON() ([]byte, error)
func (*NullableNFSv3AccessControlEntry) Set ¶
func (v *NullableNFSv3AccessControlEntry) Set(val *NFSv3AccessControlEntry)
func (*NullableNFSv3AccessControlEntry) UnmarshalJSON ¶
func (v *NullableNFSv3AccessControlEntry) UnmarshalJSON(src []byte) error
func (*NullableNFSv3AccessControlEntry) Unset ¶
func (v *NullableNFSv3AccessControlEntry) Unset()
type NullablePrincipalType ¶
type NullablePrincipalType struct {
// contains filtered or unexported fields
}
func NewNullablePrincipalType ¶
func NewNullablePrincipalType(val *PrincipalType) *NullablePrincipalType
func (NullablePrincipalType) Get ¶
func (v NullablePrincipalType) Get() *PrincipalType
func (NullablePrincipalType) IsSet ¶
func (v NullablePrincipalType) IsSet() bool
func (NullablePrincipalType) MarshalJSON ¶
func (v NullablePrincipalType) MarshalJSON() ([]byte, error)
func (*NullablePrincipalType) Set ¶
func (v *NullablePrincipalType) Set(val *PrincipalType)
func (*NullablePrincipalType) UnmarshalJSON ¶
func (v *NullablePrincipalType) UnmarshalJSON(src []byte) error
func (*NullablePrincipalType) Unset ¶
func (v *NullablePrincipalType) Unset()
type NullableShare ¶
type NullableShare struct {
// contains filtered or unexported fields
}
func NewNullableShare ¶
func NewNullableShare(val *Share) *NullableShare
func (NullableShare) Get ¶
func (v NullableShare) Get() *Share
func (NullableShare) IsSet ¶
func (v NullableShare) IsSet() bool
func (NullableShare) MarshalJSON ¶
func (v NullableShare) MarshalJSON() ([]byte, error)
func (*NullableShare) Set ¶
func (v *NullableShare) Set(val *Share)
func (*NullableShare) UnmarshalJSON ¶
func (v *NullableShare) UnmarshalJSON(src []byte) error
func (*NullableShare) Unset ¶
func (v *NullableShare) Unset()
type NullableShareAccessControlEntry ¶
type NullableShareAccessControlEntry struct {
// contains filtered or unexported fields
}
func NewNullableShareAccessControlEntry ¶
func NewNullableShareAccessControlEntry(val *ShareAccessControlEntry) *NullableShareAccessControlEntry
func (NullableShareAccessControlEntry) Get ¶
func (v NullableShareAccessControlEntry) Get() *ShareAccessControlEntry
func (NullableShareAccessControlEntry) IsSet ¶
func (v NullableShareAccessControlEntry) IsSet() bool
func (NullableShareAccessControlEntry) MarshalJSON ¶
func (v NullableShareAccessControlEntry) MarshalJSON() ([]byte, error)
func (*NullableShareAccessControlEntry) Set ¶
func (v *NullableShareAccessControlEntry) Set(val *ShareAccessControlEntry)
func (*NullableShareAccessControlEntry) UnmarshalJSON ¶
func (v *NullableShareAccessControlEntry) UnmarshalJSON(src []byte) error
func (*NullableShareAccessControlEntry) Unset ¶
func (v *NullableShareAccessControlEntry) 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 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 PrincipalType ¶
type PrincipalType string
PrincipalType the model 'PrincipalType'
const ( LU PrincipalType = "LU" LG PrincipalType = "LG" DU PrincipalType = "DU" DG PrincipalType = "DG" )
List of PrincipalType
func NewPrincipalTypeFromValue ¶
func NewPrincipalTypeFromValue(v string) (*PrincipalType, error)
NewPrincipalTypeFromValue returns a pointer to a valid PrincipalType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (PrincipalType) IsValid ¶
func (v PrincipalType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (PrincipalType) Ptr ¶
func (v PrincipalType) Ptr() *PrincipalType
Ptr returns reference to PrincipalType value
func (*PrincipalType) UnmarshalJSON ¶
func (v *PrincipalType) UnmarshalJSON(src []byte) error
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 Share ¶
type Share struct {}
Share struct for Share
func NewShare ¶
NewShare instantiates a new Share 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 NewShareWithDefaults ¶
func NewShareWithDefaults() *Share
NewShareWithDefaults instantiates a new Share 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 (*Share) GetAccessOk ¶
GetAccessOk returns a tuple with the Access field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetAcl ¶
func (o *Share) GetAcl() []ShareAccessControlEntry
GetAcl returns the Acl field value if set, zero value otherwise.
func (*Share) GetAclOk ¶
func (o *Share) GetAclOk() (*[]ShareAccessControlEntry, 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 (*Share) GetClientSideCaching ¶
func (o *Share) GetClientSideCaching() ClientSideCaching
GetClientSideCaching returns the ClientSideCaching field value if set, zero value otherwise.
func (*Share) GetClientSideCachingOk ¶
func (o *Share) GetClientSideCachingOk() (*ClientSideCaching, bool)
GetClientSideCachingOk returns a tuple with the ClientSideCaching field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetComment ¶
GetComment returns the Comment field value if set, zero value otherwise.
func (*Share) 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 (*Share) GetDirPermissions ¶
GetDirPermissions returns the DirPermissions field value if set, zero value otherwise.
func (*Share) GetDirPermissionsOk ¶
GetDirPermissionsOk returns a tuple with the DirPermissions field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetDirectory ¶
GetDirectory returns the Directory field value if set, zero value otherwise.
func (*Share) GetDirectoryOk ¶
GetDirectoryOk returns a tuple with the Directory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetExportToAfp ¶
GetExportToAfp returns the ExportToAfp field value if set, zero value otherwise.
func (*Share) GetExportToAfpOk ¶
GetExportToAfpOk returns a tuple with the ExportToAfp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetExportToFtp ¶
GetExportToFtp returns the ExportToFtp field value if set, zero value otherwise.
func (*Share) GetExportToFtpOk ¶
GetExportToFtpOk returns a tuple with the ExportToFtp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetExportToNfs ¶
GetExportToNfs returns the ExportToNfs field value if set, zero value otherwise.
func (*Share) GetExportToNfsOk ¶
GetExportToNfsOk returns a tuple with the ExportToNfs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetExportToPcAgent ¶
GetExportToPcAgent returns the ExportToPcAgent field value if set, zero value otherwise.
func (*Share) GetExportToPcAgentOk ¶
GetExportToPcAgentOk returns a tuple with the ExportToPcAgent field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetExportToRsync ¶
GetExportToRsync returns the ExportToRsync field value if set, zero value otherwise.
func (*Share) GetExportToRsyncOk ¶
GetExportToRsyncOk returns a tuple with the ExportToRsync field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetIndexed ¶
GetIndexed returns the Indexed field value if set, zero value otherwise.
func (*Share) GetIndexedOk ¶
GetIndexedOk returns a tuple with the Indexed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) GetNameOk ¶
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*Share) GetTrustedNfsClients ¶
func (o *Share) GetTrustedNfsClients() []NFSv3AccessControlEntry
GetTrustedNfsClients returns the TrustedNfsClients field value if set, zero value otherwise.
func (*Share) GetTrustedNfsClientsOk ¶
func (o *Share) GetTrustedNfsClientsOk() (*[]NFSv3AccessControlEntry, bool)
GetTrustedNfsClientsOk returns a tuple with the TrustedNfsClients field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Share) HasClientSideCaching ¶
HasClientSideCaching returns a boolean if a field has been set.
func (*Share) HasComment ¶
HasComment returns a boolean if a field has been set.
func (*Share) HasDirPermissions ¶
HasDirPermissions returns a boolean if a field has been set.
func (*Share) HasDirectory ¶
HasDirectory returns a boolean if a field has been set.
func (*Share) HasExportToAfp ¶
HasExportToAfp returns a boolean if a field has been set.
func (*Share) HasExportToFtp ¶
HasExportToFtp returns a boolean if a field has been set.
func (*Share) HasExportToNfs ¶
HasExportToNfs returns a boolean if a field has been set.
func (*Share) HasExportToPcAgent ¶
HasExportToPcAgent returns a boolean if a field has been set.
func (*Share) HasExportToRsync ¶
HasExportToRsync returns a boolean if a field has been set.
func (*Share) HasIndexed ¶
HasIndexed returns a boolean if a field has been set.
func (*Share) HasTrustedNfsClients ¶
HasTrustedNfsClients returns a boolean if a field has been set.
func (Share) MarshalJSON ¶
func (*Share) SetAccess ¶
SetAccess gets a reference to the given AclAccess and assigns it to the Access field.
func (*Share) SetAcl ¶
func (o *Share) SetAcl(v []ShareAccessControlEntry)
SetAcl gets a reference to the given []ShareAccessControlEntry and assigns it to the Acl field.
func (*Share) SetClientSideCaching ¶
func (o *Share) SetClientSideCaching(v ClientSideCaching)
SetClientSideCaching gets a reference to the given ClientSideCaching and assigns it to the ClientSideCaching field.
func (*Share) SetComment ¶
SetComment gets a reference to the given string and assigns it to the Comment field.
func (*Share) SetDirPermissions ¶
SetDirPermissions gets a reference to the given int32 and assigns it to the DirPermissions field.
func (*Share) SetDirectory ¶
SetDirectory gets a reference to the given string and assigns it to the Directory field.
func (*Share) SetExportToAfp ¶
SetExportToAfp gets a reference to the given bool and assigns it to the ExportToAfp field.
func (*Share) SetExportToFtp ¶
SetExportToFtp gets a reference to the given bool and assigns it to the ExportToFtp field.
func (*Share) SetExportToNfs ¶
SetExportToNfs gets a reference to the given bool and assigns it to the ExportToNfs field.
func (*Share) SetExportToPcAgent ¶
SetExportToPcAgent gets a reference to the given bool and assigns it to the ExportToPcAgent field.
func (*Share) SetExportToRsync ¶
SetExportToRsync gets a reference to the given bool and assigns it to the ExportToRsync field.
func (*Share) SetIndexed ¶
SetIndexed gets a reference to the given bool and assigns it to the Indexed field.
func (*Share) SetTrustedNfsClients ¶
func (o *Share) SetTrustedNfsClients(v []NFSv3AccessControlEntry)
SetTrustedNfsClients gets a reference to the given []NFSv3AccessControlEntry and assigns it to the TrustedNfsClients field.
type ShareAccessControlEntry ¶
type ShareAccessControlEntry struct {}
ShareAccessControlEntry struct for ShareAccessControlEntry
func NewShareAccessControlEntry ¶
func NewShareAccessControlEntry(principalType PrincipalType, name string, perm FileAccessMode) *ShareAccessControlEntry
NewShareAccessControlEntry instantiates a new ShareAccessControlEntry 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 NewShareAccessControlEntryWithDefaults ¶
func NewShareAccessControlEntryWithDefaults() *ShareAccessControlEntry
NewShareAccessControlEntryWithDefaults instantiates a new ShareAccessControlEntry 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 (*ShareAccessControlEntry) GetName ¶
func (o *ShareAccessControlEntry) GetName() string
GetName returns the Name field value
func (*ShareAccessControlEntry) GetNameOk ¶
func (o *ShareAccessControlEntry) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*ShareAccessControlEntry) GetPerm ¶
func (o *ShareAccessControlEntry) GetPerm() FileAccessMode
GetPerm returns the Perm field value
func (*ShareAccessControlEntry) GetPermOk ¶
func (o *ShareAccessControlEntry) GetPermOk() (*FileAccessMode, bool)
GetPermOk returns a tuple with the Perm field value and a boolean to check if the value has been set.
func (*ShareAccessControlEntry) GetPrincipalType ¶
func (o *ShareAccessControlEntry) GetPrincipalType() PrincipalType
GetPrincipalType returns the PrincipalType field value
func (*ShareAccessControlEntry) GetPrincipalTypeOk ¶
func (o *ShareAccessControlEntry) GetPrincipalTypeOk() (*PrincipalType, bool)
GetPrincipalTypeOk returns a tuple with the PrincipalType field value and a boolean to check if the value has been set.
func (ShareAccessControlEntry) MarshalJSON ¶
func (o ShareAccessControlEntry) MarshalJSON() ([]byte, error)
func (*ShareAccessControlEntry) SetName ¶
func (o *ShareAccessControlEntry) SetName(v string)
SetName sets field value
func (*ShareAccessControlEntry) SetPerm ¶
func (o *ShareAccessControlEntry) SetPerm(v FileAccessMode)
SetPerm sets field value
func (*ShareAccessControlEntry) SetPrincipalType ¶
func (o *ShareAccessControlEntry) SetPrincipalType(v PrincipalType)
SetPrincipalType sets field value
type SharesApiService ¶
type SharesApiService service
SharesApiService SharesApi service
func (*SharesApiService) CteraGatewayOpenapiApiSharesAddAcl ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddAcl(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesAddAclRequest
* CteraGatewayOpenapiApiSharesAddAcl Add the ACLs of the share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesAddAclRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesAddAclExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddAclExecute(r ApiCteraGatewayOpenapiApiSharesAddAclRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) CteraGatewayOpenapiApiSharesAddScreenedFileTypes ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddScreenedFileTypes(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest
* CteraGatewayOpenapiApiSharesAddScreenedFileTypes Add to the screened files types of the share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesAddScreenedFileTypesExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddScreenedFileTypesExecute(r ApiCteraGatewayOpenapiApiSharesAddScreenedFileTypesRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) CteraGatewayOpenapiApiSharesAddTrustedNfsClients ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddTrustedNfsClients(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest
* CteraGatewayOpenapiApiSharesAddTrustedNfsClients Add the Trusted NFS Clients of the share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesAddTrustedNfsClientsExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesAddTrustedNfsClientsExecute(r ApiCteraGatewayOpenapiApiSharesAddTrustedNfsClientsRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) CteraGatewayOpenapiApiSharesGetAcl ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetAcl(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesGetAclRequest
* CteraGatewayOpenapiApiSharesGetAcl List the ACLs of the share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesGetAclRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesGetAclExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetAclExecute(r ApiCteraGatewayOpenapiApiSharesGetAclRequest) ([][]ShareAccessControlEntry, *_nethttp.Response, error)
* Execute executes the request * @return [][]ShareAccessControlEntry
func (*SharesApiService) CteraGatewayOpenapiApiSharesGetScreenedFileTypes ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetScreenedFileTypes(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesGetScreenedFileTypesRequest
* CteraGatewayOpenapiApiSharesGetScreenedFileTypes List the screened file types of the share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesGetScreenedFileTypesRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesGetScreenedFileTypesExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetScreenedFileTypesExecute(r ApiCteraGatewayOpenapiApiSharesGetScreenedFileTypesRequest) ([]string, *_nethttp.Response, error)
* Execute executes the request * @return []string
func (*SharesApiService) CteraGatewayOpenapiApiSharesGetTrustedNfsClients ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetTrustedNfsClients(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesGetTrustedNfsClientsRequest
* CteraGatewayOpenapiApiSharesGetTrustedNfsClients List the Trusted NFS Clients of the share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesGetTrustedNfsClientsRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesGetTrustedNfsClientsExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesGetTrustedNfsClientsExecute(r ApiCteraGatewayOpenapiApiSharesGetTrustedNfsClientsRequest) ([][]NFSv3AccessControlEntry, *_nethttp.Response, error)
* Execute executes the request * @return [][]NFSv3AccessControlEntry
func (*SharesApiService) CteraGatewayOpenapiApiSharesRemoveAcl ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveAcl(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesRemoveAclRequest
* CteraGatewayOpenapiApiSharesRemoveAcl Remove the ACL of the share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesRemoveAclRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesRemoveAclExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveAclExecute(r ApiCteraGatewayOpenapiApiSharesRemoveAclRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) CteraGatewayOpenapiApiSharesRemoveScreenedFileType ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveScreenedFileType(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesRemoveScreenedFileTypeRequest
* CteraGatewayOpenapiApiSharesRemoveScreenedFileType Remove from the screened file type of the share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesRemoveScreenedFileTypeRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesRemoveScreenedFileTypeExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveScreenedFileTypeExecute(r ApiCteraGatewayOpenapiApiSharesRemoveScreenedFileTypeRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) CteraGatewayOpenapiApiSharesRemoveTrustedNfsClient ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveTrustedNfsClient(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest
* CteraGatewayOpenapiApiSharesRemoveTrustedNfsClient Remove the Trusted NFS Client of the share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesRemoveTrustedNfsClientExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesRemoveTrustedNfsClientExecute(r ApiCteraGatewayOpenapiApiSharesRemoveTrustedNfsClientRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) CteraGatewayOpenapiApiSharesSetAcl ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetAcl(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesSetAclRequest
* CteraGatewayOpenapiApiSharesSetAcl Set the ACLs of the share (override the current ACL list) * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesSetAclRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesSetAclExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetAclExecute(r ApiCteraGatewayOpenapiApiSharesSetAclRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) CteraGatewayOpenapiApiSharesSetScreenedFileTypes ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetScreenedFileTypes(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest
* CteraGatewayOpenapiApiSharesSetScreenedFileTypes Set the list of screened file types of the share (override the current list) * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesSetScreenedFileTypesExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetScreenedFileTypesExecute(r ApiCteraGatewayOpenapiApiSharesSetScreenedFileTypesRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) CteraGatewayOpenapiApiSharesSetTrustedNfsClients ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetTrustedNfsClients(ctx _context.Context, name string) ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest
* CteraGatewayOpenapiApiSharesSetTrustedNfsClients Set the Trusted NFS Clients of the share (override the current list) * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share * @return ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest
func (*SharesApiService) CteraGatewayOpenapiApiSharesSetTrustedNfsClientsExecute ¶
func (a *SharesApiService) CteraGatewayOpenapiApiSharesSetTrustedNfsClientsExecute(r ApiCteraGatewayOpenapiApiSharesSetTrustedNfsClientsRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) SharesGet ¶
func (a *SharesApiService) SharesGet(ctx _context.Context) ApiSharesGetRequest
* SharesGet List all shares * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSharesGetRequest
func (*SharesApiService) SharesGetExecute ¶
func (a *SharesApiService) SharesGetExecute(r ApiSharesGetRequest) ([]Share, *_nethttp.Response, error)
* Execute executes the request * @return []Share
func (*SharesApiService) SharesNameDelete ¶
func (a *SharesApiService) SharesNameDelete(ctx _context.Context, name string) ApiSharesNameDeleteRequest
* SharesNameDelete Delete a share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share to delete * @return ApiSharesNameDeleteRequest
func (*SharesApiService) SharesNameDeleteExecute ¶
func (a *SharesApiService) SharesNameDeleteExecute(r ApiSharesNameDeleteRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) SharesNameGet ¶
func (a *SharesApiService) SharesNameGet(ctx _context.Context, name string) ApiSharesNameGetRequest
* SharesNameGet Get the specified share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share to retrieve * @return ApiSharesNameGetRequest
func (*SharesApiService) SharesNameGetExecute ¶
func (a *SharesApiService) SharesNameGetExecute(r ApiSharesNameGetRequest) (Share, *_nethttp.Response, error)
* Execute executes the request * @return Share
func (*SharesApiService) SharesNamePut ¶
func (a *SharesApiService) SharesNamePut(ctx _context.Context, name string) ApiSharesNamePutRequest
* SharesNamePut Update existing share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param name The name of the share to update * @return ApiSharesNamePutRequest
func (*SharesApiService) SharesNamePutExecute ¶
func (a *SharesApiService) SharesNamePutExecute(r ApiSharesNamePutRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SharesApiService) SharesPost ¶
func (a *SharesApiService) SharesPost(ctx _context.Context) ApiSharesPostRequest
* SharesPost Create a new Share * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSharesPostRequest
func (*SharesApiService) SharesPostExecute ¶
func (a *SharesApiService) SharesPostExecute(r ApiSharesPostRequest) (*_nethttp.Response, error)
* Execute executes the request
type User ¶
type User struct { Uuid *string `json:"_uuid,omitempty"` Uid *int32 `json:"uid,omitempty"` Username string `json:"username"` FullName *string `json:"fullName,omitempty"` Email *string `json:"email,omitempty"` Password *string `json:"password,omitempty"` }
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) 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.
func (*User) GetFullName ¶
GetFullName returns the FullName field value if set, zero value otherwise.
func (*User) GetFullNameOk ¶
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 (*User) GetPassword ¶
GetPassword returns the Password field value if set, zero value otherwise.
func (*User) GetPasswordOk ¶
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 (*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) 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) 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 (*User) HasFullName ¶
HasFullName returns a boolean if a field has been set.
func (*User) HasPassword ¶
HasPassword returns a boolean if a field has been set.
func (User) MarshalJSON ¶
func (*User) SetEmail ¶
SetEmail gets a reference to the given string and assigns it to the Email field.
func (*User) SetFullName ¶
SetFullName gets a reference to the given string and assigns it to the FullName field.
func (*User) SetPassword ¶
SetPassword gets a reference to the given string and assigns it to the Password field.
type UsersApiService ¶
type UsersApiService service
UsersApiService UsersApi service
func (*UsersApiService) UsersGet ¶
func (a *UsersApiService) UsersGet(ctx _context.Context) ApiUsersGetRequest
* UsersGet List all users * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiUsersGetRequest
func (*UsersApiService) UsersGetExecute ¶
func (a *UsersApiService) UsersGetExecute(r ApiUsersGetRequest) ([]User, *_nethttp.Response, error)
* Execute executes the request * @return []User
func (*UsersApiService) UsersPost ¶
func (a *UsersApiService) UsersPost(ctx _context.Context) ApiUsersPostRequest
* UsersPost Create a User * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiUsersPostRequest
func (*UsersApiService) UsersPostExecute ¶
func (a *UsersApiService) UsersPostExecute(r ApiUsersPostRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*UsersApiService) UsersPut ¶
func (a *UsersApiService) UsersPut(ctx _context.Context) ApiUsersPutRequest
* UsersPut Update a user * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiUsersPutRequest
func (*UsersApiService) UsersPutExecute ¶
func (a *UsersApiService) UsersPutExecute(r ApiUsersPutRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*UsersApiService) UsersUserNameDelete ¶
func (a *UsersApiService) UsersUserNameDelete(ctx _context.Context, userName string) ApiUsersUserNameDeleteRequest
* UsersUserNameDelete Delete a user * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param userName The username of the user to retrieve * @return ApiUsersUserNameDeleteRequest
func (*UsersApiService) UsersUserNameDeleteExecute ¶
func (a *UsersApiService) UsersUserNameDeleteExecute(r ApiUsersUserNameDeleteRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*UsersApiService) UsersUserNameGet ¶
func (a *UsersApiService) UsersUserNameGet(ctx _context.Context, userName string) ApiUsersUserNameGetRequest
* UsersUserNameGet Info for a specific user * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param userName The username of the user to retrieve * @return ApiUsersUserNameGetRequest
func (*UsersApiService) UsersUserNameGetExecute ¶
func (a *UsersApiService) UsersUserNameGetExecute(r ApiUsersUserNameGetRequest) (User, *_nethttp.Response, error)
* Execute executes the request * @return User
Source Files ¶
- api_login.go
- api_shares.go
- api_users.go
- client.go
- configuration.go
- model_acl_access.go
- model_client_side_caching.go
- model_credentials.go
- model_error_message.go
- model_file_access_mode.go
- model_nfsv3_access_control_entry.go
- model_principal_type.go
- model_share.go
- model_share_access_control_entry.go
- model_user.go
- response.go
- utils.go