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 ApiDeleteRequest
- type ApiGetRequest
- type ApiModifyRequest
- type ApiRetrieveRequest
- type ApiSecretsCreateRequest
- type ApiSecretsListRequest
- func (r ApiSecretsListRequest) Execute() (SecretList, *_nethttp.Response, error)
- func (r ApiSecretsListRequest) Filter(filter string) ApiSecretsListRequest
- func (r ApiSecretsListRequest) Limit(limit int32) ApiSecretsListRequest
- func (r ApiSecretsListRequest) OrderBy(orderBy []string) ApiSecretsListRequest
- func (r ApiSecretsListRequest) Search(search string) ApiSecretsListRequest
- type BasicAuth
- type Configuration
- type FailureStatusCode
- type GenericOpenAPIError
- type List
- func (o *List) GetNextUrl() string
- func (o *List) GetNextUrlOk() (*string, bool)
- func (o *List) GetObject() string
- func (o *List) GetObjectOk() (*string, bool)
- func (o *List) GetPreviousUrl() string
- func (o *List) GetPreviousUrlOk() (*string, bool)
- func (o List) MarshalJSON() ([]byte, error)
- func (o *List) SetNextUrl(v string)
- func (o *List) SetObject(v string)
- func (o *List) SetPreviousUrl(v string)
- func (o *List) UnmarshalJSON(bytes []byte) (err error)
- type Metadata
- func (o *Metadata) GetCreated() time.Time
- func (o *Metadata) GetCreatedOk() (*time.Time, bool)
- func (o *Metadata) GetCrn() string
- func (o *Metadata) GetCrnOk() (*string, bool)
- func (o *Metadata) GetId() string
- func (o *Metadata) GetIdOk() (*string, bool)
- func (o *Metadata) GetModified() time.Time
- func (o *Metadata) GetModifiedOk() (*time.Time, bool)
- func (o *Metadata) HasCreated() bool
- func (o *Metadata) HasCrn() bool
- func (o *Metadata) HasId() bool
- func (o *Metadata) HasModified() bool
- func (o Metadata) MarshalJSON() ([]byte, error)
- func (o *Metadata) SetCreated(v time.Time)
- func (o *Metadata) SetCrn(v string)
- func (o *Metadata) SetId(v string)
- func (o *Metadata) SetModified(v time.Time)
- func (o *Metadata) UnmarshalJSON(bytes []byte) (err error)
- type ModelError
- func (o *ModelError) GetDetail() string
- func (o *ModelError) GetDetailOk() (*string, bool)
- func (o *ModelError) GetInstance() string
- func (o *ModelError) GetInstanceOk() (*string, bool)
- func (o *ModelError) GetStatus() FailureStatusCode
- func (o *ModelError) GetStatusOk() (*FailureStatusCode, bool)
- func (o *ModelError) GetTitle() string
- func (o *ModelError) GetTitleOk() (*string, bool)
- func (o *ModelError) GetType() string
- func (o *ModelError) GetTypeOk() (*string, bool)
- func (o *ModelError) HasDetail() bool
- func (o *ModelError) HasInstance() bool
- func (o *ModelError) HasTitle() bool
- func (o *ModelError) HasType() bool
- func (o ModelError) MarshalJSON() ([]byte, error)
- func (o *ModelError) SetDetail(v string)
- func (o *ModelError) SetInstance(v string)
- func (o *ModelError) SetStatus(v FailureStatusCode)
- func (o *ModelError) SetTitle(v string)
- func (o *ModelError) SetType(v string)
- func (o *ModelError) UnmarshalJSON(bytes []byte) (err error)
- type NullableBool
- type NullableFailureStatusCode
- func (v NullableFailureStatusCode) Get() *FailureStatusCode
- func (v NullableFailureStatusCode) IsSet() bool
- func (v NullableFailureStatusCode) MarshalJSON() ([]byte, error)
- func (v *NullableFailureStatusCode) Set(val *FailureStatusCode)
- func (v *NullableFailureStatusCode) UnmarshalJSON(src []byte) error
- func (v *NullableFailureStatusCode) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableList
- type NullableMetadata
- type NullableModelError
- type NullablePrivilegedBagData
- func (v NullablePrivilegedBagData) Get() *PrivilegedBagData
- func (v NullablePrivilegedBagData) IsSet() bool
- func (v NullablePrivilegedBagData) MarshalJSON() ([]byte, error)
- func (v *NullablePrivilegedBagData) Set(val *PrivilegedBagData)
- func (v *NullablePrivilegedBagData) UnmarshalJSON(src []byte) error
- func (v *NullablePrivilegedBagData) Unset()
- type NullablePrivilegedBagDataAllOf
- func (v NullablePrivilegedBagDataAllOf) Get() *PrivilegedBagDataAllOf
- func (v NullablePrivilegedBagDataAllOf) IsSet() bool
- func (v NullablePrivilegedBagDataAllOf) MarshalJSON() ([]byte, error)
- func (v *NullablePrivilegedBagDataAllOf) Set(val *PrivilegedBagDataAllOf)
- func (v *NullablePrivilegedBagDataAllOf) UnmarshalJSON(src []byte) error
- func (v *NullablePrivilegedBagDataAllOf) Unset()
- type NullablePrivilegedData
- func (v NullablePrivilegedData) Get() *PrivilegedData
- func (v NullablePrivilegedData) IsSet() bool
- func (v NullablePrivilegedData) MarshalJSON() ([]byte, error)
- func (v *NullablePrivilegedData) Set(val *PrivilegedData)
- func (v *NullablePrivilegedData) UnmarshalJSON(src []byte) error
- func (v *NullablePrivilegedData) Unset()
- type NullablePrivilegedTextData
- func (v NullablePrivilegedTextData) Get() *PrivilegedTextData
- func (v NullablePrivilegedTextData) IsSet() bool
- func (v NullablePrivilegedTextData) MarshalJSON() ([]byte, error)
- func (v *NullablePrivilegedTextData) Set(val *PrivilegedTextData)
- func (v *NullablePrivilegedTextData) UnmarshalJSON(src []byte) error
- func (v *NullablePrivilegedTextData) Unset()
- type NullablePrivilegedTextDataAllOf
- func (v NullablePrivilegedTextDataAllOf) Get() *PrivilegedTextDataAllOf
- func (v NullablePrivilegedTextDataAllOf) IsSet() bool
- func (v NullablePrivilegedTextDataAllOf) MarshalJSON() ([]byte, error)
- func (v *NullablePrivilegedTextDataAllOf) Set(val *PrivilegedTextDataAllOf)
- func (v *NullablePrivilegedTextDataAllOf) UnmarshalJSON(src []byte) error
- func (v *NullablePrivilegedTextDataAllOf) Unset()
- type NullableSecretBagPatchable
- func (v NullableSecretBagPatchable) Get() *SecretBagPatchable
- func (v NullableSecretBagPatchable) IsSet() bool
- func (v NullableSecretBagPatchable) MarshalJSON() ([]byte, error)
- func (v *NullableSecretBagPatchable) Set(val *SecretBagPatchable)
- func (v *NullableSecretBagPatchable) UnmarshalJSON(src []byte) error
- func (v *NullableSecretBagPatchable) Unset()
- type NullableSecretBagWritable
- func (v NullableSecretBagWritable) Get() *SecretBagWritable
- func (v NullableSecretBagWritable) IsSet() bool
- func (v NullableSecretBagWritable) MarshalJSON() ([]byte, error)
- func (v *NullableSecretBagWritable) Set(val *SecretBagWritable)
- func (v *NullableSecretBagWritable) UnmarshalJSON(src []byte) error
- func (v *NullableSecretBagWritable) Unset()
- type NullableSecretBagWritableAllOf
- func (v NullableSecretBagWritableAllOf) Get() *SecretBagWritableAllOf
- func (v NullableSecretBagWritableAllOf) IsSet() bool
- func (v NullableSecretBagWritableAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableSecretBagWritableAllOf) Set(val *SecretBagWritableAllOf)
- func (v *NullableSecretBagWritableAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableSecretBagWritableAllOf) Unset()
- type NullableSecretDense
- func (v NullableSecretDense) Get() *SecretDense
- func (v NullableSecretDense) IsSet() bool
- func (v NullableSecretDense) MarshalJSON() ([]byte, error)
- func (v *NullableSecretDense) Set(val *SecretDense)
- func (v *NullableSecretDense) UnmarshalJSON(src []byte) error
- func (v *NullableSecretDense) Unset()
- type NullableSecretDenseAllOf
- func (v NullableSecretDenseAllOf) Get() *SecretDenseAllOf
- func (v NullableSecretDenseAllOf) IsSet() bool
- func (v NullableSecretDenseAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableSecretDenseAllOf) Set(val *SecretDenseAllOf)
- func (v *NullableSecretDenseAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableSecretDenseAllOf) Unset()
- type NullableSecretFolderWritable
- func (v NullableSecretFolderWritable) Get() *SecretFolderWritable
- func (v NullableSecretFolderWritable) IsSet() bool
- func (v NullableSecretFolderWritable) MarshalJSON() ([]byte, error)
- func (v *NullableSecretFolderWritable) Set(val *SecretFolderWritable)
- func (v *NullableSecretFolderWritable) UnmarshalJSON(src []byte) error
- func (v *NullableSecretFolderWritable) Unset()
- type NullableSecretList
- type NullableSecretListAllOf
- func (v NullableSecretListAllOf) Get() *SecretListAllOf
- func (v NullableSecretListAllOf) IsSet() bool
- func (v NullableSecretListAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableSecretListAllOf) Set(val *SecretListAllOf)
- func (v *NullableSecretListAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableSecretListAllOf) Unset()
- type NullableSecretPatchable
- func (v NullableSecretPatchable) Get() *SecretPatchable
- func (v NullableSecretPatchable) IsSet() bool
- func (v NullableSecretPatchable) MarshalJSON() ([]byte, error)
- func (v *NullableSecretPatchable) Set(val *SecretPatchable)
- func (v *NullableSecretPatchable) UnmarshalJSON(src []byte) error
- func (v *NullableSecretPatchable) Unset()
- type NullableSecretSparse
- func (v NullableSecretSparse) Get() *SecretSparse
- func (v NullableSecretSparse) IsSet() bool
- func (v NullableSecretSparse) MarshalJSON() ([]byte, error)
- func (v *NullableSecretSparse) Set(val *SecretSparse)
- func (v *NullableSecretSparse) UnmarshalJSON(src []byte) error
- func (v *NullableSecretSparse) Unset()
- type NullableSecretTextPatchable
- func (v NullableSecretTextPatchable) Get() *SecretTextPatchable
- func (v NullableSecretTextPatchable) IsSet() bool
- func (v NullableSecretTextPatchable) MarshalJSON() ([]byte, error)
- func (v *NullableSecretTextPatchable) Set(val *SecretTextPatchable)
- func (v *NullableSecretTextPatchable) UnmarshalJSON(src []byte) error
- func (v *NullableSecretTextPatchable) Unset()
- type NullableSecretTextWritable
- func (v NullableSecretTextWritable) Get() *SecretTextWritable
- func (v NullableSecretTextWritable) IsSet() bool
- func (v NullableSecretTextWritable) MarshalJSON() ([]byte, error)
- func (v *NullableSecretTextWritable) Set(val *SecretTextWritable)
- func (v *NullableSecretTextWritable) UnmarshalJSON(src []byte) error
- func (v *NullableSecretTextWritable) Unset()
- type NullableSecretTextWritableAllOf
- func (v NullableSecretTextWritableAllOf) Get() *SecretTextWritableAllOf
- func (v NullableSecretTextWritableAllOf) IsSet() bool
- func (v NullableSecretTextWritableAllOf) MarshalJSON() ([]byte, error)
- func (v *NullableSecretTextWritableAllOf) Set(val *SecretTextWritableAllOf)
- func (v *NullableSecretTextWritableAllOf) UnmarshalJSON(src []byte) error
- func (v *NullableSecretTextWritableAllOf) Unset()
- type NullableSecretWritable
- func (v NullableSecretWritable) Get() *SecretWritable
- func (v NullableSecretWritable) IsSet() bool
- func (v NullableSecretWritable) MarshalJSON() ([]byte, error)
- func (v *NullableSecretWritable) Set(val *SecretWritable)
- func (v *NullableSecretWritable) UnmarshalJSON(src []byte) error
- func (v *NullableSecretWritable) Unset()
- type NullableSecrettypes
- func (v NullableSecrettypes) Get() *Secrettypes
- func (v NullableSecrettypes) IsSet() bool
- func (v NullableSecrettypes) MarshalJSON() ([]byte, error)
- func (v *NullableSecrettypes) Set(val *Secrettypes)
- func (v *NullableSecrettypes) UnmarshalJSON(src []byte) error
- func (v *NullableSecrettypes) Unset()
- type NullableString
- type NullableTime
- type PrivilegedBagData
- func (o *PrivilegedBagData) GetData() map[string]string
- func (o *PrivilegedBagData) GetDataOk() (*map[string]string, bool)
- func (o PrivilegedBagData) MarshalJSON() ([]byte, error)
- func (o *PrivilegedBagData) SetData(v map[string]string)
- func (o *PrivilegedBagData) UnmarshalJSON(bytes []byte) (err error)
- type PrivilegedBagDataAllOf
- func (o *PrivilegedBagDataAllOf) GetData() map[string]string
- func (o *PrivilegedBagDataAllOf) GetDataOk() (*map[string]string, bool)
- func (o *PrivilegedBagDataAllOf) HasData() bool
- func (o PrivilegedBagDataAllOf) MarshalJSON() ([]byte, error)
- func (o *PrivilegedBagDataAllOf) SetData(v map[string]string)
- func (o *PrivilegedBagDataAllOf) UnmarshalJSON(bytes []byte) (err error)
- type PrivilegedData
- type PrivilegedTextData
- type PrivilegedTextDataAllOf
- func (o *PrivilegedTextDataAllOf) GetData() string
- func (o *PrivilegedTextDataAllOf) GetDataOk() (*string, bool)
- func (o *PrivilegedTextDataAllOf) HasData() bool
- func (o PrivilegedTextDataAllOf) MarshalJSON() ([]byte, error)
- func (o *PrivilegedTextDataAllOf) SetData(v string)
- func (o *PrivilegedTextDataAllOf) UnmarshalJSON(bytes []byte) (err error)
- type SecretBagPatchable
- func (o *SecretBagPatchable) GetData() map[string]string
- func (o *SecretBagPatchable) GetDataOk() (*map[string]string, bool)
- func (o SecretBagPatchable) MarshalJSON() ([]byte, error)
- func (o *SecretBagPatchable) SetData(v map[string]string)
- func (o *SecretBagPatchable) UnmarshalJSON(bytes []byte) (err error)
- type SecretBagWritable
- func (o *SecretBagWritable) GetData() map[string]string
- func (o *SecretBagWritable) GetDataOk() (*map[string]string, bool)
- func (o SecretBagWritable) MarshalJSON() ([]byte, error)
- func (o *SecretBagWritable) SetData(v map[string]string)
- func (o *SecretBagWritable) UnmarshalJSON(bytes []byte) (err error)
- type SecretBagWritableAllOf
- func (o *SecretBagWritableAllOf) GetData() map[string]string
- func (o *SecretBagWritableAllOf) GetDataOk() (*map[string]string, bool)
- func (o SecretBagWritableAllOf) MarshalJSON() ([]byte, error)
- func (o *SecretBagWritableAllOf) SetData(v map[string]string)
- func (o *SecretBagWritableAllOf) UnmarshalJSON(bytes []byte) (err error)
- type SecretDense
- type SecretDenseAllOf
- type SecretFolderWritable
- type SecretList
- func (o *SecretList) GetItems() []SecretSparse
- func (o *SecretList) GetItemsOk() (*[]SecretSparse, bool)
- func (o *SecretList) GetNextUrl() string
- func (o *SecretList) GetNextUrlOk() (*string, bool)
- func (o *SecretList) GetObject() string
- func (o *SecretList) GetObjectOk() (*string, bool)
- func (o *SecretList) GetPreviousUrl() string
- func (o *SecretList) GetPreviousUrlOk() (*string, bool)
- func (o SecretList) MarshalJSON() ([]byte, error)
- func (o *SecretList) SetItems(v []SecretSparse)
- func (o *SecretList) SetNextUrl(v string)
- func (o *SecretList) SetObject(v string)
- func (o *SecretList) SetPreviousUrl(v string)
- func (o *SecretList) UnmarshalJSON(bytes []byte) (err error)
- type SecretListAllOf
- type SecretMarshaler
- type SecretPatchable
- type SecretSparse
- func (o *SecretSparse) GetId() string
- func (o *SecretSparse) GetIdOk() (*string, bool)
- func (o *SecretSparse) GetName() string
- func (o *SecretSparse) GetNameOk() (*string, bool)
- func (o SecretSparse) MarshalJSON() ([]byte, error)
- func (o *SecretSparse) SetId(v string)
- func (o *SecretSparse) SetName(v string)
- func (o *SecretSparse) UnmarshalJSON(bytes []byte) (err error)
- type SecretTextPatchable
- type SecretTextWritable
- type SecretTextWritableAllOf
- func (o *SecretTextWritableAllOf) GetData() string
- func (o *SecretTextWritableAllOf) GetDataOk() (*string, bool)
- func (o SecretTextWritableAllOf) MarshalJSON() ([]byte, error)
- func (o *SecretTextWritableAllOf) SetData(v string)
- func (o *SecretTextWritableAllOf) UnmarshalJSON(bytes []byte) (err error)
- type SecretWritable
- func (o *SecretWritable) GetName() string
- func (o *SecretWritable) GetNameOk() (*string, bool)
- func (o *SecretWritable) GetType() Secrettypes
- func (o *SecretWritable) GetTypeOk() (*Secrettypes, bool)
- func (o SecretWritable) MarshalJSON() ([]byte, error)
- func (o *SecretWritable) SetName(v string)
- func (o *SecretWritable) SetType(v Secrettypes)
- func (o *SecretWritable) UnmarshalJSON(bytes []byte) (err error)
- type SecretsApi
- type SecretsApiService
- func (a *SecretsApiService) Delete(ctx _context.Context, nameOrId string) ApiDeleteRequest
- func (a *SecretsApiService) DeleteExecute(r ApiDeleteRequest) (*_nethttp.Response, error)
- func (a *SecretsApiService) Get(ctx _context.Context, nameOrId string) ApiGetRequest
- func (a *SecretsApiService) GetExecute(r ApiGetRequest) (SecretDense, *_nethttp.Response, error)
- func (a *SecretsApiService) Modify(ctx _context.Context, nameOrId string) ApiModifyRequest
- func (a *SecretsApiService) ModifyExecute(r ApiModifyRequest) (SecretDense, *_nethttp.Response, error)
- func (a *SecretsApiService) Retrieve(ctx _context.Context, nameOrId string) ApiRetrieveRequest
- func (a *SecretsApiService) RetrieveExecute(r ApiRetrieveRequest) (PrivilegedData, *_nethttp.Response, error)
- func (a *SecretsApiService) SecretsCreate(ctx _context.Context) ApiSecretsCreateRequest
- func (a *SecretsApiService) SecretsCreateExecute(r ApiSecretsCreateRequest) (SecretDense, *_nethttp.Response, error)
- func (a *SecretsApiService) SecretsList(ctx _context.Context) ApiSecretsListRequest
- func (a *SecretsApiService) SecretsListExecute(r ApiSecretsListRequest) (SecretList, *_nethttp.Response, error)
- type Secrettypes
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
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 { SecretsApi SecretsApi // contains filtered or unexported fields }
APIClient manages communication with the Centrify Vault REST API API v1.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) AddDefaultHeaders ¶
AddDefaultHeaders sets the default HTTP header
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
func (*APIClient) SetUserAgent ¶
SetUserAgent sets the user agent
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 APIResonse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ApiDeleteRequest ¶
type ApiDeleteRequest struct { ApiService SecretsApi // contains filtered or unexported fields }
type ApiGetRequest ¶
type ApiGetRequest struct { ApiService SecretsApi // contains filtered or unexported fields }
func (ApiGetRequest) Execute ¶
func (r ApiGetRequest) Execute() (SecretDense, *_nethttp.Response, error)
type ApiModifyRequest ¶
type ApiModifyRequest struct { ApiService SecretsApi // contains filtered or unexported fields }
func (ApiModifyRequest) Execute ¶
func (r ApiModifyRequest) Execute() (SecretDense, *_nethttp.Response, error)
func (ApiModifyRequest) SecretPatchable ¶
func (r ApiModifyRequest) SecretPatchable(secretPatchable SecretMarshaler) ApiModifyRequest
type ApiRetrieveRequest ¶
type ApiRetrieveRequest struct { ApiService SecretsApi // contains filtered or unexported fields }
func (ApiRetrieveRequest) Execute ¶
func (r ApiRetrieveRequest) Execute() (PrivilegedData, *_nethttp.Response, error)
type ApiSecretsCreateRequest ¶
type ApiSecretsCreateRequest struct { ApiService SecretsApi // contains filtered or unexported fields }
func (ApiSecretsCreateRequest) Execute ¶
func (r ApiSecretsCreateRequest) Execute() (SecretDense, *_nethttp.Response, error)
func (ApiSecretsCreateRequest) SecretWritable ¶
func (r ApiSecretsCreateRequest) SecretWritable(secretWritable SecretMarshaler) ApiSecretsCreateRequest
type ApiSecretsListRequest ¶
type ApiSecretsListRequest struct { ApiService SecretsApi // contains filtered or unexported fields }
func (ApiSecretsListRequest) Execute ¶
func (r ApiSecretsListRequest) Execute() (SecretList, *_nethttp.Response, error)
func (ApiSecretsListRequest) Filter ¶
func (r ApiSecretsListRequest) Filter(filter string) ApiSecretsListRequest
func (ApiSecretsListRequest) Limit ¶
func (r ApiSecretsListRequest) Limit(limit int32) ApiSecretsListRequest
func (ApiSecretsListRequest) OrderBy ¶
func (r ApiSecretsListRequest) OrderBy(orderBy []string) ApiSecretsListRequest
func (ApiSecretsListRequest) Search ¶
func (r ApiSecretsListRequest) Search(search string) ApiSecretsListRequest
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 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 FailureStatusCode ¶
type FailureStatusCode int32
FailureStatusCode A conventional HTTP status code: * 401 - Authorization error with your API key or account * 403 - Forbidden error with your API key or account * 404 - The requested item does not exist * 413 - Payload too large * 422 - The query or body parameters did not pass validation * 429 - Too many requests in a given amount of time * 500 - An internal server error occurred, please contact support@centrify.com
func (FailureStatusCode) Ptr ¶
func (v FailureStatusCode) Ptr() *FailureStatusCode
Ptr returns reference to failure_status_code value
func (*FailureStatusCode) UnmarshalJSON ¶
func (v *FailureStatusCode) 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 List ¶
type List struct { // What kind of resource does this list contain? Object string `json:"object"` // Url of next page of items in list. NextUrl NullableString `json:"next_url"` // Url of previous page of items in list. PreviousUrl NullableString `json:"previous_url"` AdditionalProperties map[string]interface{} }
List Multiple items returned in order
func NewList ¶
func NewList(object string, nextUrl NullableString, previousUrl NullableString) *List
NewList instantiates a new List 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 NewListWithDefaults ¶
func NewListWithDefaults() *List
NewListWithDefaults instantiates a new List 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 (*List) GetNextUrl ¶
GetNextUrl returns the NextUrl field value If the value is explicit nil, the zero value for string will be returned
func (*List) GetNextUrlOk ¶
GetNextUrlOk returns a tuple with the NextUrl field value 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 (*List) GetObjectOk ¶
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*List) GetPreviousUrl ¶
GetPreviousUrl returns the PreviousUrl field value If the value is explicit nil, the zero value for string will be returned
func (*List) GetPreviousUrlOk ¶
GetPreviousUrlOk returns a tuple with the PreviousUrl field value 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 (List) MarshalJSON ¶
func (*List) SetPreviousUrl ¶
SetPreviousUrl sets field value
func (*List) UnmarshalJSON ¶
type Metadata ¶
type Metadata struct { // Unique ID, generated upon creation Id *string `json:"id,omitempty"` // Unique global reference, generated upon creation, useful for APIs that operate on multiple types of objects. Crn *string `json:"crn,omitempty"` // A timestamp in ISO 8601 format of the date the address was created. Created *time.Time `json:"created,omitempty"` // A timestamp in ISO 8601 format of the date the address was last modified. Modified *time.Time `json:"modified,omitempty"` AdditionalProperties map[string]interface{} }
Metadata Common metadata for Centrify resources
func NewMetadata ¶
func NewMetadata() *Metadata
NewMetadata instantiates a new Metadata 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 NewMetadataWithDefaults ¶
func NewMetadataWithDefaults() *Metadata
NewMetadataWithDefaults instantiates a new Metadata 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 (*Metadata) GetCreated ¶
GetCreated returns the Created field value if set, zero value otherwise.
func (*Metadata) GetCreatedOk ¶
GetCreatedOk returns a tuple with the Created field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) GetCrnOk ¶
GetCrnOk returns a tuple with the Crn field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) 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 (*Metadata) GetModified ¶
GetModified returns the Modified field value if set, zero value otherwise.
func (*Metadata) GetModifiedOk ¶
GetModifiedOk returns a tuple with the Modified field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Metadata) HasCreated ¶
HasCreated returns a boolean if a field has been set.
func (*Metadata) HasModified ¶
HasModified returns a boolean if a field has been set.
func (Metadata) MarshalJSON ¶
func (*Metadata) SetCreated ¶
SetCreated gets a reference to the given time.Time and assigns it to the Created field.
func (*Metadata) SetCrn ¶
SetCrn gets a reference to the given string and assigns it to the Crn field.
func (*Metadata) SetModified ¶
SetModified gets a reference to the given time.Time and assigns it to the Modified field.
func (*Metadata) UnmarshalJSON ¶
type ModelError ¶
type ModelError struct { // A reference URL which contains more information about the type of error Type *string `json:"type,omitempty"` // A short, summary of the problem type. Title *string `json:"title,omitempty"` Status FailureStatusCode `json:"status"` // A human readable explanation specific to this occurrence of the problem. Detail *string `json:"detail,omitempty"` // A URI to the requested resource Instance *string `json:"instance,omitempty"` AdditionalProperties map[string]interface{} }
ModelError Centrify uses RESTful HTTP response codes to indicate success or failure of an API request. In general, 2xx indicates success, 4xx indicate an input error, and 5xx indicates an error on Centrify's end.
func NewModelError ¶
func NewModelError(status FailureStatusCode) *ModelError
NewModelError instantiates a new ModelError 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 NewModelErrorWithDefaults ¶
func NewModelErrorWithDefaults() *ModelError
NewModelErrorWithDefaults instantiates a new ModelError 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 (*ModelError) GetDetail ¶
func (o *ModelError) GetDetail() string
GetDetail returns the Detail field value if set, zero value otherwise.
func (*ModelError) GetDetailOk ¶
func (o *ModelError) 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 (*ModelError) GetInstance ¶
func (o *ModelError) GetInstance() string
GetInstance returns the Instance field value if set, zero value otherwise.
func (*ModelError) GetInstanceOk ¶
func (o *ModelError) GetInstanceOk() (*string, bool)
GetInstanceOk returns a tuple with the Instance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ModelError) GetStatus ¶
func (o *ModelError) GetStatus() FailureStatusCode
GetStatus returns the Status field value
func (*ModelError) GetStatusOk ¶
func (o *ModelError) GetStatusOk() (*FailureStatusCode, bool)
GetStatusOk returns a tuple with the Status field value and a boolean to check if the value has been set.
func (*ModelError) GetTitle ¶
func (o *ModelError) GetTitle() string
GetTitle returns the Title field value if set, zero value otherwise.
func (*ModelError) GetTitleOk ¶
func (o *ModelError) 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 (*ModelError) GetType ¶
func (o *ModelError) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ModelError) GetTypeOk ¶
func (o *ModelError) 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 (*ModelError) HasDetail ¶
func (o *ModelError) HasDetail() bool
HasDetail returns a boolean if a field has been set.
func (*ModelError) HasInstance ¶
func (o *ModelError) HasInstance() bool
HasInstance returns a boolean if a field has been set.
func (*ModelError) HasTitle ¶
func (o *ModelError) HasTitle() bool
HasTitle returns a boolean if a field has been set.
func (*ModelError) HasType ¶
func (o *ModelError) HasType() bool
HasType returns a boolean if a field has been set.
func (ModelError) MarshalJSON ¶
func (o ModelError) MarshalJSON() ([]byte, error)
func (*ModelError) SetDetail ¶
func (o *ModelError) SetDetail(v string)
SetDetail gets a reference to the given string and assigns it to the Detail field.
func (*ModelError) SetInstance ¶
func (o *ModelError) SetInstance(v string)
SetInstance gets a reference to the given string and assigns it to the Instance field.
func (*ModelError) SetStatus ¶
func (o *ModelError) SetStatus(v FailureStatusCode)
SetStatus sets field value
func (*ModelError) SetTitle ¶
func (o *ModelError) SetTitle(v string)
SetTitle gets a reference to the given string and assigns it to the Title field.
func (*ModelError) SetType ¶
func (o *ModelError) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (*ModelError) UnmarshalJSON ¶
func (o *ModelError) 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 NullableFailureStatusCode ¶
type NullableFailureStatusCode struct {
// contains filtered or unexported fields
}
func NewNullableFailureStatusCode ¶
func NewNullableFailureStatusCode(val *FailureStatusCode) *NullableFailureStatusCode
func (NullableFailureStatusCode) Get ¶
func (v NullableFailureStatusCode) Get() *FailureStatusCode
func (NullableFailureStatusCode) IsSet ¶
func (v NullableFailureStatusCode) IsSet() bool
func (NullableFailureStatusCode) MarshalJSON ¶
func (v NullableFailureStatusCode) MarshalJSON() ([]byte, error)
func (*NullableFailureStatusCode) Set ¶
func (v *NullableFailureStatusCode) Set(val *FailureStatusCode)
func (*NullableFailureStatusCode) UnmarshalJSON ¶
func (v *NullableFailureStatusCode) UnmarshalJSON(src []byte) error
func (*NullableFailureStatusCode) Unset ¶
func (v *NullableFailureStatusCode) 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 NullableList ¶
type NullableList struct {
// contains filtered or unexported fields
}
func NewNullableList ¶
func NewNullableList(val *List) *NullableList
func (NullableList) Get ¶
func (v NullableList) Get() *List
func (NullableList) IsSet ¶
func (v NullableList) IsSet() bool
func (NullableList) MarshalJSON ¶
func (v NullableList) MarshalJSON() ([]byte, error)
func (*NullableList) Set ¶
func (v *NullableList) Set(val *List)
func (*NullableList) UnmarshalJSON ¶
func (v *NullableList) UnmarshalJSON(src []byte) error
func (*NullableList) Unset ¶
func (v *NullableList) Unset()
type NullableMetadata ¶
type NullableMetadata struct {
// contains filtered or unexported fields
}
func NewNullableMetadata ¶
func NewNullableMetadata(val *Metadata) *NullableMetadata
func (NullableMetadata) Get ¶
func (v NullableMetadata) Get() *Metadata
func (NullableMetadata) IsSet ¶
func (v NullableMetadata) IsSet() bool
func (NullableMetadata) MarshalJSON ¶
func (v NullableMetadata) MarshalJSON() ([]byte, error)
func (*NullableMetadata) Set ¶
func (v *NullableMetadata) Set(val *Metadata)
func (*NullableMetadata) UnmarshalJSON ¶
func (v *NullableMetadata) UnmarshalJSON(src []byte) error
func (*NullableMetadata) Unset ¶
func (v *NullableMetadata) Unset()
type NullableModelError ¶
type NullableModelError struct {
// contains filtered or unexported fields
}
func NewNullableModelError ¶
func NewNullableModelError(val *ModelError) *NullableModelError
func (NullableModelError) Get ¶
func (v NullableModelError) Get() *ModelError
func (NullableModelError) IsSet ¶
func (v NullableModelError) IsSet() bool
func (NullableModelError) MarshalJSON ¶
func (v NullableModelError) MarshalJSON() ([]byte, error)
func (*NullableModelError) Set ¶
func (v *NullableModelError) Set(val *ModelError)
func (*NullableModelError) UnmarshalJSON ¶
func (v *NullableModelError) UnmarshalJSON(src []byte) error
func (*NullableModelError) Unset ¶
func (v *NullableModelError) Unset()
type NullablePrivilegedBagData ¶
type NullablePrivilegedBagData struct {
// contains filtered or unexported fields
}
func NewNullablePrivilegedBagData ¶
func NewNullablePrivilegedBagData(val *PrivilegedBagData) *NullablePrivilegedBagData
func (NullablePrivilegedBagData) Get ¶
func (v NullablePrivilegedBagData) Get() *PrivilegedBagData
func (NullablePrivilegedBagData) IsSet ¶
func (v NullablePrivilegedBagData) IsSet() bool
func (NullablePrivilegedBagData) MarshalJSON ¶
func (v NullablePrivilegedBagData) MarshalJSON() ([]byte, error)
func (*NullablePrivilegedBagData) Set ¶
func (v *NullablePrivilegedBagData) Set(val *PrivilegedBagData)
func (*NullablePrivilegedBagData) UnmarshalJSON ¶
func (v *NullablePrivilegedBagData) UnmarshalJSON(src []byte) error
func (*NullablePrivilegedBagData) Unset ¶
func (v *NullablePrivilegedBagData) Unset()
type NullablePrivilegedBagDataAllOf ¶
type NullablePrivilegedBagDataAllOf struct {
// contains filtered or unexported fields
}
func NewNullablePrivilegedBagDataAllOf ¶
func NewNullablePrivilegedBagDataAllOf(val *PrivilegedBagDataAllOf) *NullablePrivilegedBagDataAllOf
func (NullablePrivilegedBagDataAllOf) Get ¶
func (v NullablePrivilegedBagDataAllOf) Get() *PrivilegedBagDataAllOf
func (NullablePrivilegedBagDataAllOf) IsSet ¶
func (v NullablePrivilegedBagDataAllOf) IsSet() bool
func (NullablePrivilegedBagDataAllOf) MarshalJSON ¶
func (v NullablePrivilegedBagDataAllOf) MarshalJSON() ([]byte, error)
func (*NullablePrivilegedBagDataAllOf) Set ¶
func (v *NullablePrivilegedBagDataAllOf) Set(val *PrivilegedBagDataAllOf)
func (*NullablePrivilegedBagDataAllOf) UnmarshalJSON ¶
func (v *NullablePrivilegedBagDataAllOf) UnmarshalJSON(src []byte) error
func (*NullablePrivilegedBagDataAllOf) Unset ¶
func (v *NullablePrivilegedBagDataAllOf) Unset()
type NullablePrivilegedData ¶
type NullablePrivilegedData struct {
// contains filtered or unexported fields
}
func NewNullablePrivilegedData ¶
func NewNullablePrivilegedData(val *PrivilegedData) *NullablePrivilegedData
func (NullablePrivilegedData) Get ¶
func (v NullablePrivilegedData) Get() *PrivilegedData
func (NullablePrivilegedData) IsSet ¶
func (v NullablePrivilegedData) IsSet() bool
func (NullablePrivilegedData) MarshalJSON ¶
func (v NullablePrivilegedData) MarshalJSON() ([]byte, error)
func (*NullablePrivilegedData) Set ¶
func (v *NullablePrivilegedData) Set(val *PrivilegedData)
func (*NullablePrivilegedData) UnmarshalJSON ¶
func (v *NullablePrivilegedData) UnmarshalJSON(src []byte) error
func (*NullablePrivilegedData) Unset ¶
func (v *NullablePrivilegedData) Unset()
type NullablePrivilegedTextData ¶
type NullablePrivilegedTextData struct {
// contains filtered or unexported fields
}
func NewNullablePrivilegedTextData ¶
func NewNullablePrivilegedTextData(val *PrivilegedTextData) *NullablePrivilegedTextData
func (NullablePrivilegedTextData) Get ¶
func (v NullablePrivilegedTextData) Get() *PrivilegedTextData
func (NullablePrivilegedTextData) IsSet ¶
func (v NullablePrivilegedTextData) IsSet() bool
func (NullablePrivilegedTextData) MarshalJSON ¶
func (v NullablePrivilegedTextData) MarshalJSON() ([]byte, error)
func (*NullablePrivilegedTextData) Set ¶
func (v *NullablePrivilegedTextData) Set(val *PrivilegedTextData)
func (*NullablePrivilegedTextData) UnmarshalJSON ¶
func (v *NullablePrivilegedTextData) UnmarshalJSON(src []byte) error
func (*NullablePrivilegedTextData) Unset ¶
func (v *NullablePrivilegedTextData) Unset()
type NullablePrivilegedTextDataAllOf ¶
type NullablePrivilegedTextDataAllOf struct {
// contains filtered or unexported fields
}
func NewNullablePrivilegedTextDataAllOf ¶
func NewNullablePrivilegedTextDataAllOf(val *PrivilegedTextDataAllOf) *NullablePrivilegedTextDataAllOf
func (NullablePrivilegedTextDataAllOf) Get ¶
func (v NullablePrivilegedTextDataAllOf) Get() *PrivilegedTextDataAllOf
func (NullablePrivilegedTextDataAllOf) IsSet ¶
func (v NullablePrivilegedTextDataAllOf) IsSet() bool
func (NullablePrivilegedTextDataAllOf) MarshalJSON ¶
func (v NullablePrivilegedTextDataAllOf) MarshalJSON() ([]byte, error)
func (*NullablePrivilegedTextDataAllOf) Set ¶
func (v *NullablePrivilegedTextDataAllOf) Set(val *PrivilegedTextDataAllOf)
func (*NullablePrivilegedTextDataAllOf) UnmarshalJSON ¶
func (v *NullablePrivilegedTextDataAllOf) UnmarshalJSON(src []byte) error
func (*NullablePrivilegedTextDataAllOf) Unset ¶
func (v *NullablePrivilegedTextDataAllOf) Unset()
type NullableSecretBagPatchable ¶
type NullableSecretBagPatchable struct {
// contains filtered or unexported fields
}
func NewNullableSecretBagPatchable ¶
func NewNullableSecretBagPatchable(val *SecretBagPatchable) *NullableSecretBagPatchable
func (NullableSecretBagPatchable) Get ¶
func (v NullableSecretBagPatchable) Get() *SecretBagPatchable
func (NullableSecretBagPatchable) IsSet ¶
func (v NullableSecretBagPatchable) IsSet() bool
func (NullableSecretBagPatchable) MarshalJSON ¶
func (v NullableSecretBagPatchable) MarshalJSON() ([]byte, error)
func (*NullableSecretBagPatchable) Set ¶
func (v *NullableSecretBagPatchable) Set(val *SecretBagPatchable)
func (*NullableSecretBagPatchable) UnmarshalJSON ¶
func (v *NullableSecretBagPatchable) UnmarshalJSON(src []byte) error
func (*NullableSecretBagPatchable) Unset ¶
func (v *NullableSecretBagPatchable) Unset()
type NullableSecretBagWritable ¶
type NullableSecretBagWritable struct {
// contains filtered or unexported fields
}
func NewNullableSecretBagWritable ¶
func NewNullableSecretBagWritable(val *SecretBagWritable) *NullableSecretBagWritable
func (NullableSecretBagWritable) Get ¶
func (v NullableSecretBagWritable) Get() *SecretBagWritable
func (NullableSecretBagWritable) IsSet ¶
func (v NullableSecretBagWritable) IsSet() bool
func (NullableSecretBagWritable) MarshalJSON ¶
func (v NullableSecretBagWritable) MarshalJSON() ([]byte, error)
func (*NullableSecretBagWritable) Set ¶
func (v *NullableSecretBagWritable) Set(val *SecretBagWritable)
func (*NullableSecretBagWritable) UnmarshalJSON ¶
func (v *NullableSecretBagWritable) UnmarshalJSON(src []byte) error
func (*NullableSecretBagWritable) Unset ¶
func (v *NullableSecretBagWritable) Unset()
type NullableSecretBagWritableAllOf ¶
type NullableSecretBagWritableAllOf struct {
// contains filtered or unexported fields
}
func NewNullableSecretBagWritableAllOf ¶
func NewNullableSecretBagWritableAllOf(val *SecretBagWritableAllOf) *NullableSecretBagWritableAllOf
func (NullableSecretBagWritableAllOf) Get ¶
func (v NullableSecretBagWritableAllOf) Get() *SecretBagWritableAllOf
func (NullableSecretBagWritableAllOf) IsSet ¶
func (v NullableSecretBagWritableAllOf) IsSet() bool
func (NullableSecretBagWritableAllOf) MarshalJSON ¶
func (v NullableSecretBagWritableAllOf) MarshalJSON() ([]byte, error)
func (*NullableSecretBagWritableAllOf) Set ¶
func (v *NullableSecretBagWritableAllOf) Set(val *SecretBagWritableAllOf)
func (*NullableSecretBagWritableAllOf) UnmarshalJSON ¶
func (v *NullableSecretBagWritableAllOf) UnmarshalJSON(src []byte) error
func (*NullableSecretBagWritableAllOf) Unset ¶
func (v *NullableSecretBagWritableAllOf) Unset()
type NullableSecretDense ¶
type NullableSecretDense struct {
// contains filtered or unexported fields
}
func NewNullableSecretDense ¶
func NewNullableSecretDense(val *SecretDense) *NullableSecretDense
func (NullableSecretDense) Get ¶
func (v NullableSecretDense) Get() *SecretDense
func (NullableSecretDense) IsSet ¶
func (v NullableSecretDense) IsSet() bool
func (NullableSecretDense) MarshalJSON ¶
func (v NullableSecretDense) MarshalJSON() ([]byte, error)
func (*NullableSecretDense) Set ¶
func (v *NullableSecretDense) Set(val *SecretDense)
func (*NullableSecretDense) UnmarshalJSON ¶
func (v *NullableSecretDense) UnmarshalJSON(src []byte) error
func (*NullableSecretDense) Unset ¶
func (v *NullableSecretDense) Unset()
type NullableSecretDenseAllOf ¶
type NullableSecretDenseAllOf struct {
// contains filtered or unexported fields
}
func NewNullableSecretDenseAllOf ¶
func NewNullableSecretDenseAllOf(val *SecretDenseAllOf) *NullableSecretDenseAllOf
func (NullableSecretDenseAllOf) Get ¶
func (v NullableSecretDenseAllOf) Get() *SecretDenseAllOf
func (NullableSecretDenseAllOf) IsSet ¶
func (v NullableSecretDenseAllOf) IsSet() bool
func (NullableSecretDenseAllOf) MarshalJSON ¶
func (v NullableSecretDenseAllOf) MarshalJSON() ([]byte, error)
func (*NullableSecretDenseAllOf) Set ¶
func (v *NullableSecretDenseAllOf) Set(val *SecretDenseAllOf)
func (*NullableSecretDenseAllOf) UnmarshalJSON ¶
func (v *NullableSecretDenseAllOf) UnmarshalJSON(src []byte) error
func (*NullableSecretDenseAllOf) Unset ¶
func (v *NullableSecretDenseAllOf) Unset()
type NullableSecretFolderWritable ¶
type NullableSecretFolderWritable struct {
// contains filtered or unexported fields
}
func NewNullableSecretFolderWritable ¶
func NewNullableSecretFolderWritable(val *SecretFolderWritable) *NullableSecretFolderWritable
func (NullableSecretFolderWritable) Get ¶
func (v NullableSecretFolderWritable) Get() *SecretFolderWritable
func (NullableSecretFolderWritable) IsSet ¶
func (v NullableSecretFolderWritable) IsSet() bool
func (NullableSecretFolderWritable) MarshalJSON ¶
func (v NullableSecretFolderWritable) MarshalJSON() ([]byte, error)
func (*NullableSecretFolderWritable) Set ¶
func (v *NullableSecretFolderWritable) Set(val *SecretFolderWritable)
func (*NullableSecretFolderWritable) UnmarshalJSON ¶
func (v *NullableSecretFolderWritable) UnmarshalJSON(src []byte) error
func (*NullableSecretFolderWritable) Unset ¶
func (v *NullableSecretFolderWritable) Unset()
type NullableSecretList ¶
type NullableSecretList struct {
// contains filtered or unexported fields
}
func NewNullableSecretList ¶
func NewNullableSecretList(val *SecretList) *NullableSecretList
func (NullableSecretList) Get ¶
func (v NullableSecretList) Get() *SecretList
func (NullableSecretList) IsSet ¶
func (v NullableSecretList) IsSet() bool
func (NullableSecretList) MarshalJSON ¶
func (v NullableSecretList) MarshalJSON() ([]byte, error)
func (*NullableSecretList) Set ¶
func (v *NullableSecretList) Set(val *SecretList)
func (*NullableSecretList) UnmarshalJSON ¶
func (v *NullableSecretList) UnmarshalJSON(src []byte) error
func (*NullableSecretList) Unset ¶
func (v *NullableSecretList) Unset()
type NullableSecretListAllOf ¶
type NullableSecretListAllOf struct {
// contains filtered or unexported fields
}
func NewNullableSecretListAllOf ¶
func NewNullableSecretListAllOf(val *SecretListAllOf) *NullableSecretListAllOf
func (NullableSecretListAllOf) Get ¶
func (v NullableSecretListAllOf) Get() *SecretListAllOf
func (NullableSecretListAllOf) IsSet ¶
func (v NullableSecretListAllOf) IsSet() bool
func (NullableSecretListAllOf) MarshalJSON ¶
func (v NullableSecretListAllOf) MarshalJSON() ([]byte, error)
func (*NullableSecretListAllOf) Set ¶
func (v *NullableSecretListAllOf) Set(val *SecretListAllOf)
func (*NullableSecretListAllOf) UnmarshalJSON ¶
func (v *NullableSecretListAllOf) UnmarshalJSON(src []byte) error
func (*NullableSecretListAllOf) Unset ¶
func (v *NullableSecretListAllOf) Unset()
type NullableSecretPatchable ¶
type NullableSecretPatchable struct {
// contains filtered or unexported fields
}
func NewNullableSecretPatchable ¶
func NewNullableSecretPatchable(val *SecretPatchable) *NullableSecretPatchable
func (NullableSecretPatchable) Get ¶
func (v NullableSecretPatchable) Get() *SecretPatchable
func (NullableSecretPatchable) IsSet ¶
func (v NullableSecretPatchable) IsSet() bool
func (NullableSecretPatchable) MarshalJSON ¶
func (v NullableSecretPatchable) MarshalJSON() ([]byte, error)
func (*NullableSecretPatchable) Set ¶
func (v *NullableSecretPatchable) Set(val *SecretPatchable)
func (*NullableSecretPatchable) UnmarshalJSON ¶
func (v *NullableSecretPatchable) UnmarshalJSON(src []byte) error
func (*NullableSecretPatchable) Unset ¶
func (v *NullableSecretPatchable) Unset()
type NullableSecretSparse ¶
type NullableSecretSparse struct {
// contains filtered or unexported fields
}
func NewNullableSecretSparse ¶
func NewNullableSecretSparse(val *SecretSparse) *NullableSecretSparse
func (NullableSecretSparse) Get ¶
func (v NullableSecretSparse) Get() *SecretSparse
func (NullableSecretSparse) IsSet ¶
func (v NullableSecretSparse) IsSet() bool
func (NullableSecretSparse) MarshalJSON ¶
func (v NullableSecretSparse) MarshalJSON() ([]byte, error)
func (*NullableSecretSparse) Set ¶
func (v *NullableSecretSparse) Set(val *SecretSparse)
func (*NullableSecretSparse) UnmarshalJSON ¶
func (v *NullableSecretSparse) UnmarshalJSON(src []byte) error
func (*NullableSecretSparse) Unset ¶
func (v *NullableSecretSparse) Unset()
type NullableSecretTextPatchable ¶
type NullableSecretTextPatchable struct {
// contains filtered or unexported fields
}
func NewNullableSecretTextPatchable ¶
func NewNullableSecretTextPatchable(val *SecretTextPatchable) *NullableSecretTextPatchable
func (NullableSecretTextPatchable) Get ¶
func (v NullableSecretTextPatchable) Get() *SecretTextPatchable
func (NullableSecretTextPatchable) IsSet ¶
func (v NullableSecretTextPatchable) IsSet() bool
func (NullableSecretTextPatchable) MarshalJSON ¶
func (v NullableSecretTextPatchable) MarshalJSON() ([]byte, error)
func (*NullableSecretTextPatchable) Set ¶
func (v *NullableSecretTextPatchable) Set(val *SecretTextPatchable)
func (*NullableSecretTextPatchable) UnmarshalJSON ¶
func (v *NullableSecretTextPatchable) UnmarshalJSON(src []byte) error
func (*NullableSecretTextPatchable) Unset ¶
func (v *NullableSecretTextPatchable) Unset()
type NullableSecretTextWritable ¶
type NullableSecretTextWritable struct {
// contains filtered or unexported fields
}
func NewNullableSecretTextWritable ¶
func NewNullableSecretTextWritable(val *SecretTextWritable) *NullableSecretTextWritable
func (NullableSecretTextWritable) Get ¶
func (v NullableSecretTextWritable) Get() *SecretTextWritable
func (NullableSecretTextWritable) IsSet ¶
func (v NullableSecretTextWritable) IsSet() bool
func (NullableSecretTextWritable) MarshalJSON ¶
func (v NullableSecretTextWritable) MarshalJSON() ([]byte, error)
func (*NullableSecretTextWritable) Set ¶
func (v *NullableSecretTextWritable) Set(val *SecretTextWritable)
func (*NullableSecretTextWritable) UnmarshalJSON ¶
func (v *NullableSecretTextWritable) UnmarshalJSON(src []byte) error
func (*NullableSecretTextWritable) Unset ¶
func (v *NullableSecretTextWritable) Unset()
type NullableSecretTextWritableAllOf ¶
type NullableSecretTextWritableAllOf struct {
// contains filtered or unexported fields
}
func NewNullableSecretTextWritableAllOf ¶
func NewNullableSecretTextWritableAllOf(val *SecretTextWritableAllOf) *NullableSecretTextWritableAllOf
func (NullableSecretTextWritableAllOf) Get ¶
func (v NullableSecretTextWritableAllOf) Get() *SecretTextWritableAllOf
func (NullableSecretTextWritableAllOf) IsSet ¶
func (v NullableSecretTextWritableAllOf) IsSet() bool
func (NullableSecretTextWritableAllOf) MarshalJSON ¶
func (v NullableSecretTextWritableAllOf) MarshalJSON() ([]byte, error)
func (*NullableSecretTextWritableAllOf) Set ¶
func (v *NullableSecretTextWritableAllOf) Set(val *SecretTextWritableAllOf)
func (*NullableSecretTextWritableAllOf) UnmarshalJSON ¶
func (v *NullableSecretTextWritableAllOf) UnmarshalJSON(src []byte) error
func (*NullableSecretTextWritableAllOf) Unset ¶
func (v *NullableSecretTextWritableAllOf) Unset()
type NullableSecretWritable ¶
type NullableSecretWritable struct {
// contains filtered or unexported fields
}
func NewNullableSecretWritable ¶
func NewNullableSecretWritable(val *SecretWritable) *NullableSecretWritable
func (NullableSecretWritable) Get ¶
func (v NullableSecretWritable) Get() *SecretWritable
func (NullableSecretWritable) IsSet ¶
func (v NullableSecretWritable) IsSet() bool
func (NullableSecretWritable) MarshalJSON ¶
func (v NullableSecretWritable) MarshalJSON() ([]byte, error)
func (*NullableSecretWritable) Set ¶
func (v *NullableSecretWritable) Set(val *SecretWritable)
func (*NullableSecretWritable) UnmarshalJSON ¶
func (v *NullableSecretWritable) UnmarshalJSON(src []byte) error
func (*NullableSecretWritable) Unset ¶
func (v *NullableSecretWritable) Unset()
type NullableSecrettypes ¶
type NullableSecrettypes struct {
// contains filtered or unexported fields
}
func NewNullableSecrettypes ¶
func NewNullableSecrettypes(val *Secrettypes) *NullableSecrettypes
func (NullableSecrettypes) Get ¶
func (v NullableSecrettypes) Get() *Secrettypes
func (NullableSecrettypes) IsSet ¶
func (v NullableSecrettypes) IsSet() bool
func (NullableSecrettypes) MarshalJSON ¶
func (v NullableSecrettypes) MarshalJSON() ([]byte, error)
func (*NullableSecrettypes) Set ¶
func (v *NullableSecrettypes) Set(val *Secrettypes)
func (*NullableSecrettypes) UnmarshalJSON ¶
func (v *NullableSecrettypes) UnmarshalJSON(src []byte) error
func (*NullableSecrettypes) Unset ¶
func (v *NullableSecrettypes) 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 PrivilegedBagData ¶
type PrivilegedBagData struct { PrivilegedData // The privileged data in a secret bag. Required for vault and modify operations. Data map[string]string `json:"data"` AdditionalProperties map[string]interface{} }
PrivilegedBagData struct for PrivilegedBagData
func NewPrivilegedBagData ¶
func NewPrivilegedBagData(data map[string]string, type_ Secrettypes) *PrivilegedBagData
NewPrivilegedBagData instantiates a new PrivilegedBagData 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 NewPrivilegedBagDataWithDefaults ¶
func NewPrivilegedBagDataWithDefaults() *PrivilegedBagData
NewPrivilegedBagDataWithDefaults instantiates a new PrivilegedBagData 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 (*PrivilegedBagData) GetData ¶
func (o *PrivilegedBagData) GetData() map[string]string
GetData returns the Data field value
func (*PrivilegedBagData) GetDataOk ¶
func (o *PrivilegedBagData) GetDataOk() (*map[string]string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (PrivilegedBagData) MarshalJSON ¶
func (o PrivilegedBagData) MarshalJSON() ([]byte, error)
func (*PrivilegedBagData) SetData ¶
func (o *PrivilegedBagData) SetData(v map[string]string)
SetData sets field value
func (*PrivilegedBagData) UnmarshalJSON ¶
func (o *PrivilegedBagData) UnmarshalJSON(bytes []byte) (err error)
type PrivilegedBagDataAllOf ¶
type PrivilegedBagDataAllOf struct { // The privileged data in a secret bag. Required for vault and modify operations. Data *map[string]string `json:"data,omitempty"` AdditionalProperties map[string]interface{} }
PrivilegedBagDataAllOf struct for PrivilegedBagDataAllOf
func NewPrivilegedBagDataAllOf ¶
func NewPrivilegedBagDataAllOf() *PrivilegedBagDataAllOf
NewPrivilegedBagDataAllOf instantiates a new PrivilegedBagDataAllOf 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 NewPrivilegedBagDataAllOfWithDefaults ¶
func NewPrivilegedBagDataAllOfWithDefaults() *PrivilegedBagDataAllOf
NewPrivilegedBagDataAllOfWithDefaults instantiates a new PrivilegedBagDataAllOf 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 (*PrivilegedBagDataAllOf) GetData ¶
func (o *PrivilegedBagDataAllOf) GetData() map[string]string
GetData returns the Data field value if set, zero value otherwise.
func (*PrivilegedBagDataAllOf) GetDataOk ¶
func (o *PrivilegedBagDataAllOf) GetDataOk() (*map[string]string, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PrivilegedBagDataAllOf) HasData ¶
func (o *PrivilegedBagDataAllOf) HasData() bool
HasData returns a boolean if a field has been set.
func (PrivilegedBagDataAllOf) MarshalJSON ¶
func (o PrivilegedBagDataAllOf) MarshalJSON() ([]byte, error)
func (*PrivilegedBagDataAllOf) SetData ¶
func (o *PrivilegedBagDataAllOf) SetData(v map[string]string)
SetData gets a reference to the given map[string]string and assigns it to the Data field.
func (*PrivilegedBagDataAllOf) UnmarshalJSON ¶
func (o *PrivilegedBagDataAllOf) UnmarshalJSON(bytes []byte) (err error)
type PrivilegedData ¶
type PrivilegedData struct { Type Secrettypes `json:"type"` AdditionalProperties map[string]interface{} }
PrivilegedData struct for PrivilegedData
func NewPrivilegedData ¶
func NewPrivilegedData(type_ Secrettypes) *PrivilegedData
NewPrivilegedData instantiates a new PrivilegedData 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 NewPrivilegedDataWithDefaults ¶
func NewPrivilegedDataWithDefaults() *PrivilegedData
NewPrivilegedDataWithDefaults instantiates a new PrivilegedData 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 (*PrivilegedData) GetType ¶
func (o *PrivilegedData) GetType() Secrettypes
GetType returns the Type field value
func (*PrivilegedData) GetTypeOk ¶
func (o *PrivilegedData) GetTypeOk() (*Secrettypes, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (PrivilegedData) MarshalJSON ¶
func (o PrivilegedData) MarshalJSON() ([]byte, error)
func (*PrivilegedData) SetType ¶
func (o *PrivilegedData) SetType(v Secrettypes)
SetType sets field value
func (*PrivilegedData) UnmarshalJSON ¶
func (o *PrivilegedData) UnmarshalJSON(bytes []byte) (err error)
type PrivilegedTextData ¶
type PrivilegedTextData struct { PrivilegedData // The privileged data in a text secret. Required for vault and modify operations. Data string `json:"data"` AdditionalProperties map[string]interface{} }
PrivilegedTextData struct for PrivilegedTextData
func NewPrivilegedTextData ¶
func NewPrivilegedTextData(data string, type_ Secrettypes) *PrivilegedTextData
NewPrivilegedTextData instantiates a new PrivilegedTextData 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 NewPrivilegedTextDataWithDefaults ¶
func NewPrivilegedTextDataWithDefaults() *PrivilegedTextData
NewPrivilegedTextDataWithDefaults instantiates a new PrivilegedTextData 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 (*PrivilegedTextData) GetData ¶
func (o *PrivilegedTextData) GetData() string
GetData returns the Data field value
func (*PrivilegedTextData) GetDataOk ¶
func (o *PrivilegedTextData) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (PrivilegedTextData) MarshalJSON ¶
func (o PrivilegedTextData) MarshalJSON() ([]byte, error)
func (*PrivilegedTextData) SetData ¶
func (o *PrivilegedTextData) SetData(v string)
SetData sets field value
func (*PrivilegedTextData) UnmarshalJSON ¶
func (o *PrivilegedTextData) UnmarshalJSON(bytes []byte) (err error)
type PrivilegedTextDataAllOf ¶
type PrivilegedTextDataAllOf struct { // The privileged data in a text secret. Required for vault and modify operations. Data *string `json:"data,omitempty"` AdditionalProperties map[string]interface{} }
PrivilegedTextDataAllOf struct for PrivilegedTextDataAllOf
func NewPrivilegedTextDataAllOf ¶
func NewPrivilegedTextDataAllOf() *PrivilegedTextDataAllOf
NewPrivilegedTextDataAllOf instantiates a new PrivilegedTextDataAllOf 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 NewPrivilegedTextDataAllOfWithDefaults ¶
func NewPrivilegedTextDataAllOfWithDefaults() *PrivilegedTextDataAllOf
NewPrivilegedTextDataAllOfWithDefaults instantiates a new PrivilegedTextDataAllOf 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 (*PrivilegedTextDataAllOf) GetData ¶
func (o *PrivilegedTextDataAllOf) GetData() string
GetData returns the Data field value if set, zero value otherwise.
func (*PrivilegedTextDataAllOf) GetDataOk ¶
func (o *PrivilegedTextDataAllOf) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PrivilegedTextDataAllOf) HasData ¶
func (o *PrivilegedTextDataAllOf) HasData() bool
HasData returns a boolean if a field has been set.
func (PrivilegedTextDataAllOf) MarshalJSON ¶
func (o PrivilegedTextDataAllOf) MarshalJSON() ([]byte, error)
func (*PrivilegedTextDataAllOf) SetData ¶
func (o *PrivilegedTextDataAllOf) SetData(v string)
SetData gets a reference to the given string and assigns it to the Data field.
func (*PrivilegedTextDataAllOf) UnmarshalJSON ¶
func (o *PrivilegedTextDataAllOf) UnmarshalJSON(bytes []byte) (err error)
type SecretBagPatchable ¶
type SecretBagPatchable struct { SecretPatchable // The privileged data in a secret bag. Required for vault and modify operations. Data map[string]string `json:"data"` AdditionalProperties map[string]interface{} }
SecretBagPatchable struct for SecretBagPatchable
func NewSecretBagPatchable ¶
func NewSecretBagPatchable(data map[string]string, type_ Secrettypes) *SecretBagPatchable
NewSecretBagPatchable instantiates a new SecretBagPatchable 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 NewSecretBagPatchableWithDefaults ¶
func NewSecretBagPatchableWithDefaults() *SecretBagPatchable
NewSecretBagPatchableWithDefaults instantiates a new SecretBagPatchable 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 (*SecretBagPatchable) GetData ¶
func (o *SecretBagPatchable) GetData() map[string]string
GetData returns the Data field value
func (*SecretBagPatchable) GetDataOk ¶
func (o *SecretBagPatchable) GetDataOk() (*map[string]string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecretBagPatchable) MarshalJSON ¶
func (o SecretBagPatchable) MarshalJSON() ([]byte, error)
func (*SecretBagPatchable) SetData ¶
func (o *SecretBagPatchable) SetData(v map[string]string)
SetData sets field value
func (*SecretBagPatchable) UnmarshalJSON ¶
func (o *SecretBagPatchable) UnmarshalJSON(bytes []byte) (err error)
type SecretBagWritable ¶
type SecretBagWritable struct { SecretWritable // The privileged data in a secret bag. Required for vault and modify operations. Data map[string]string `json:"data"` AdditionalProperties map[string]interface{} }
SecretBagWritable Useful model for determining what attributes of a secret bag are writable. Note that semantics of POST / PUT / PATCH apply differently.
func NewSecretBagWritable ¶
func NewSecretBagWritable(data map[string]string, type_ Secrettypes, name string) *SecretBagWritable
NewSecretBagWritable instantiates a new SecretBagWritable 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 NewSecretBagWritableWithDefaults ¶
func NewSecretBagWritableWithDefaults() *SecretBagWritable
NewSecretBagWritableWithDefaults instantiates a new SecretBagWritable 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 (*SecretBagWritable) GetData ¶
func (o *SecretBagWritable) GetData() map[string]string
GetData returns the Data field value
func (*SecretBagWritable) GetDataOk ¶
func (o *SecretBagWritable) GetDataOk() (*map[string]string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecretBagWritable) MarshalJSON ¶
func (o SecretBagWritable) MarshalJSON() ([]byte, error)
func (*SecretBagWritable) SetData ¶
func (o *SecretBagWritable) SetData(v map[string]string)
SetData sets field value
func (*SecretBagWritable) UnmarshalJSON ¶
func (o *SecretBagWritable) UnmarshalJSON(bytes []byte) (err error)
type SecretBagWritableAllOf ¶
type SecretBagWritableAllOf struct { // The privileged data in a secret bag. Required for vault and modify operations. Data map[string]string `json:"data"` AdditionalProperties map[string]interface{} }
SecretBagWritableAllOf struct for SecretBagWritableAllOf
func NewSecretBagWritableAllOf ¶
func NewSecretBagWritableAllOf(data map[string]string) *SecretBagWritableAllOf
NewSecretBagWritableAllOf instantiates a new SecretBagWritableAllOf 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 NewSecretBagWritableAllOfWithDefaults ¶
func NewSecretBagWritableAllOfWithDefaults() *SecretBagWritableAllOf
NewSecretBagWritableAllOfWithDefaults instantiates a new SecretBagWritableAllOf 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 (*SecretBagWritableAllOf) GetData ¶
func (o *SecretBagWritableAllOf) GetData() map[string]string
GetData returns the Data field value
func (*SecretBagWritableAllOf) GetDataOk ¶
func (o *SecretBagWritableAllOf) GetDataOk() (*map[string]string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecretBagWritableAllOf) MarshalJSON ¶
func (o SecretBagWritableAllOf) MarshalJSON() ([]byte, error)
func (*SecretBagWritableAllOf) SetData ¶
func (o *SecretBagWritableAllOf) SetData(v map[string]string)
SetData sets field value
func (*SecretBagWritableAllOf) UnmarshalJSON ¶
func (o *SecretBagWritableAllOf) UnmarshalJSON(bytes []byte) (err error)
type SecretDense ¶
type SecretDense struct { SecretWritable Meta Metadata `json:"meta"` AdditionalProperties map[string]interface{} }
SecretDense struct for SecretDense
func NewSecretDense ¶
func NewSecretDense(meta Metadata, type_ Secrettypes, name string) *SecretDense
NewSecretDense instantiates a new SecretDense 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 NewSecretDenseWithDefaults ¶
func NewSecretDenseWithDefaults() *SecretDense
NewSecretDenseWithDefaults instantiates a new SecretDense 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 (*SecretDense) GetMeta ¶
func (o *SecretDense) GetMeta() Metadata
GetMeta returns the Meta field value
func (*SecretDense) GetMetaOk ¶
func (o *SecretDense) GetMetaOk() (*Metadata, bool)
GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.
func (SecretDense) MarshalJSON ¶
func (o SecretDense) MarshalJSON() ([]byte, error)
func (*SecretDense) UnmarshalJSON ¶
func (o *SecretDense) UnmarshalJSON(bytes []byte) (err error)
type SecretDenseAllOf ¶
type SecretDenseAllOf struct { Meta Metadata `json:"meta"` AdditionalProperties map[string]interface{} }
SecretDenseAllOf struct for SecretDenseAllOf
func NewSecretDenseAllOf ¶
func NewSecretDenseAllOf(meta Metadata) *SecretDenseAllOf
NewSecretDenseAllOf instantiates a new SecretDenseAllOf 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 NewSecretDenseAllOfWithDefaults ¶
func NewSecretDenseAllOfWithDefaults() *SecretDenseAllOf
NewSecretDenseAllOfWithDefaults instantiates a new SecretDenseAllOf 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 (*SecretDenseAllOf) GetMeta ¶
func (o *SecretDenseAllOf) GetMeta() Metadata
GetMeta returns the Meta field value
func (*SecretDenseAllOf) GetMetaOk ¶
func (o *SecretDenseAllOf) GetMetaOk() (*Metadata, bool)
GetMetaOk returns a tuple with the Meta field value and a boolean to check if the value has been set.
func (SecretDenseAllOf) MarshalJSON ¶
func (o SecretDenseAllOf) MarshalJSON() ([]byte, error)
func (*SecretDenseAllOf) SetMeta ¶
func (o *SecretDenseAllOf) SetMeta(v Metadata)
SetMeta sets field value
func (*SecretDenseAllOf) UnmarshalJSON ¶
func (o *SecretDenseAllOf) UnmarshalJSON(bytes []byte) (err error)
type SecretFolderWritable ¶
type SecretFolderWritable struct { SecretWritable AdditionalProperties map[string]interface{} }
SecretFolderWritable struct for SecretFolderWritable
func NewSecretFolderWritable ¶
func NewSecretFolderWritable(type_ Secrettypes, name string) *SecretFolderWritable
NewSecretFolderWritable instantiates a new SecretFolderWritable 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 NewSecretFolderWritableWithDefaults ¶
func NewSecretFolderWritableWithDefaults() *SecretFolderWritable
NewSecretFolderWritableWithDefaults instantiates a new SecretFolderWritable 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 (SecretFolderWritable) MarshalJSON ¶
func (o SecretFolderWritable) MarshalJSON() ([]byte, error)
func (*SecretFolderWritable) UnmarshalJSON ¶
func (o *SecretFolderWritable) UnmarshalJSON(bytes []byte) (err error)
type SecretList ¶
type SecretList struct { Items []SecretSparse `json:"items"` // What kind of resource does this list contain? Object string `json:"object"` // Url of next page of items in list. NextUrl NullableString `json:"next_url"` // Url of previous page of items in list. PreviousUrl NullableString `json:"previous_url"` AdditionalProperties map[string]interface{} }
SecretList struct for SecretList
func NewSecretList ¶
func NewSecretList(items []SecretSparse, object string, nextUrl NullableString, previousUrl NullableString) *SecretList
NewSecretList instantiates a new SecretList 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 NewSecretListWithDefaults ¶
func NewSecretListWithDefaults() *SecretList
NewSecretListWithDefaults instantiates a new SecretList 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 (*SecretList) GetItems ¶
func (o *SecretList) GetItems() []SecretSparse
GetItems returns the Items field value
func (*SecretList) GetItemsOk ¶
func (o *SecretList) GetItemsOk() (*[]SecretSparse, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (*SecretList) GetNextUrl ¶
func (o *SecretList) GetNextUrl() string
GetNextUrl returns the NextUrl field value If the value is explicit nil, the zero value for string will be returned
func (*SecretList) GetNextUrlOk ¶
func (o *SecretList) GetNextUrlOk() (*string, bool)
GetNextUrlOk returns a tuple with the NextUrl field value 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 (*SecretList) GetObject ¶
func (o *SecretList) GetObject() string
GetObject returns the Object field value
func (*SecretList) GetObjectOk ¶
func (o *SecretList) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field value and a boolean to check if the value has been set.
func (*SecretList) GetPreviousUrl ¶
func (o *SecretList) GetPreviousUrl() string
GetPreviousUrl returns the PreviousUrl field value If the value is explicit nil, the zero value for string will be returned
func (*SecretList) GetPreviousUrlOk ¶
func (o *SecretList) GetPreviousUrlOk() (*string, bool)
GetPreviousUrlOk returns a tuple with the PreviousUrl field value 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 (SecretList) MarshalJSON ¶
func (o SecretList) MarshalJSON() ([]byte, error)
func (*SecretList) SetItems ¶
func (o *SecretList) SetItems(v []SecretSparse)
SetItems sets field value
func (*SecretList) SetNextUrl ¶
func (o *SecretList) SetNextUrl(v string)
SetNextUrl sets field value
func (*SecretList) SetPreviousUrl ¶
func (o *SecretList) SetPreviousUrl(v string)
SetPreviousUrl sets field value
func (*SecretList) UnmarshalJSON ¶
func (o *SecretList) UnmarshalJSON(bytes []byte) (err error)
type SecretListAllOf ¶
type SecretListAllOf struct { Items []SecretSparse `json:"items"` AdditionalProperties map[string]interface{} }
SecretListAllOf struct for SecretListAllOf
func NewSecretListAllOf ¶
func NewSecretListAllOf(items []SecretSparse) *SecretListAllOf
NewSecretListAllOf instantiates a new SecretListAllOf 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 NewSecretListAllOfWithDefaults ¶
func NewSecretListAllOfWithDefaults() *SecretListAllOf
NewSecretListAllOfWithDefaults instantiates a new SecretListAllOf 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 (*SecretListAllOf) GetItems ¶
func (o *SecretListAllOf) GetItems() []SecretSparse
GetItems returns the Items field value
func (*SecretListAllOf) GetItemsOk ¶
func (o *SecretListAllOf) GetItemsOk() (*[]SecretSparse, bool)
GetItemsOk returns a tuple with the Items field value and a boolean to check if the value has been set.
func (SecretListAllOf) MarshalJSON ¶
func (o SecretListAllOf) MarshalJSON() ([]byte, error)
func (*SecretListAllOf) SetItems ¶
func (o *SecretListAllOf) SetItems(v []SecretSparse)
SetItems sets field value
func (*SecretListAllOf) UnmarshalJSON ¶
func (o *SecretListAllOf) UnmarshalJSON(bytes []byte) (err error)
type SecretMarshaler ¶
type SecretMarshaler interface { MarshalJSON() ([]byte, error) UnmarshalJSON(bytes []byte) (err error) }
SecretMarshaler defines the interface that all SecretXXXWritable must support objects must support
type SecretPatchable ¶
type SecretPatchable struct { Type Secrettypes `json:"type"` AdditionalProperties map[string]interface{} }
SecretPatchable struct for SecretPatchable
func NewSecretPatchable ¶
func NewSecretPatchable(type_ Secrettypes) *SecretPatchable
NewSecretPatchable instantiates a new SecretPatchable 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 NewSecretPatchableWithDefaults ¶
func NewSecretPatchableWithDefaults() *SecretPatchable
NewSecretPatchableWithDefaults instantiates a new SecretPatchable 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 (*SecretPatchable) GetType ¶
func (o *SecretPatchable) GetType() Secrettypes
GetType returns the Type field value
func (*SecretPatchable) GetTypeOk ¶
func (o *SecretPatchable) GetTypeOk() (*Secrettypes, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (SecretPatchable) MarshalJSON ¶
func (o SecretPatchable) MarshalJSON() ([]byte, error)
func (*SecretPatchable) SetType ¶
func (o *SecretPatchable) SetType(v Secrettypes)
SetType sets field value
func (*SecretPatchable) UnmarshalJSON ¶
func (o *SecretPatchable) UnmarshalJSON(bytes []byte) (err error)
type SecretSparse ¶
type SecretSparse struct { // Unique ID, generated upon creation Id string `json:"id"` // Names of secrets may contain a alphanumeric characters separated by / to indicate folder membership. Vaulting a bag or text secret within folders will implicitely create the folders. Name string `json:"name"` AdditionalProperties map[string]interface{} }
SecretSparse struct for SecretSparse
func NewSecretSparse ¶
func NewSecretSparse(id string, name string) *SecretSparse
NewSecretSparse instantiates a new SecretSparse 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 NewSecretSparseWithDefaults ¶
func NewSecretSparseWithDefaults() *SecretSparse
NewSecretSparseWithDefaults instantiates a new SecretSparse 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 (*SecretSparse) GetIdOk ¶
func (o *SecretSparse) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value and a boolean to check if the value has been set.
func (*SecretSparse) GetName ¶
func (o *SecretSparse) GetName() string
GetName returns the Name field value
func (*SecretSparse) GetNameOk ¶
func (o *SecretSparse) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (SecretSparse) MarshalJSON ¶
func (o SecretSparse) MarshalJSON() ([]byte, error)
func (*SecretSparse) UnmarshalJSON ¶
func (o *SecretSparse) UnmarshalJSON(bytes []byte) (err error)
type SecretTextPatchable ¶
type SecretTextPatchable struct { SecretPatchable // The privileged data in a text secret. Required for vault and modify operations. Data string `json:"data"` AdditionalProperties map[string]interface{} }
SecretTextPatchable struct for SecretTextPatchable
func NewSecretTextPatchable ¶
func NewSecretTextPatchable(data string, type_ Secrettypes) *SecretTextPatchable
NewSecretTextPatchable instantiates a new SecretTextPatchable 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 NewSecretTextPatchableWithDefaults ¶
func NewSecretTextPatchableWithDefaults() *SecretTextPatchable
NewSecretTextPatchableWithDefaults instantiates a new SecretTextPatchable 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 (*SecretTextPatchable) GetData ¶
func (o *SecretTextPatchable) GetData() string
GetData returns the Data field value
func (*SecretTextPatchable) GetDataOk ¶
func (o *SecretTextPatchable) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecretTextPatchable) MarshalJSON ¶
func (o SecretTextPatchable) MarshalJSON() ([]byte, error)
func (*SecretTextPatchable) SetData ¶
func (o *SecretTextPatchable) SetData(v string)
SetData sets field value
func (*SecretTextPatchable) UnmarshalJSON ¶
func (o *SecretTextPatchable) UnmarshalJSON(bytes []byte) (err error)
type SecretTextWritable ¶
type SecretTextWritable struct { SecretWritable // The privileged data in a text secret. Required for vault and modify operations. Data string `json:"data"` AdditionalProperties map[string]interface{} }
SecretTextWritable struct for SecretTextWritable
func NewSecretTextWritable ¶
func NewSecretTextWritable(data string, type_ Secrettypes, name string) *SecretTextWritable
NewSecretTextWritable instantiates a new SecretTextWritable 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 NewSecretTextWritableWithDefaults ¶
func NewSecretTextWritableWithDefaults() *SecretTextWritable
NewSecretTextWritableWithDefaults instantiates a new SecretTextWritable 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 (*SecretTextWritable) GetData ¶
func (o *SecretTextWritable) GetData() string
GetData returns the Data field value
func (*SecretTextWritable) GetDataOk ¶
func (o *SecretTextWritable) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecretTextWritable) MarshalJSON ¶
func (o SecretTextWritable) MarshalJSON() ([]byte, error)
func (*SecretTextWritable) SetData ¶
func (o *SecretTextWritable) SetData(v string)
SetData sets field value
func (*SecretTextWritable) UnmarshalJSON ¶
func (o *SecretTextWritable) UnmarshalJSON(bytes []byte) (err error)
type SecretTextWritableAllOf ¶
type SecretTextWritableAllOf struct { // The privileged data in a text secret. Required for vault and modify operations. Data string `json:"data"` AdditionalProperties map[string]interface{} }
SecretTextWritableAllOf struct for SecretTextWritableAllOf
func NewSecretTextWritableAllOf ¶
func NewSecretTextWritableAllOf(data string) *SecretTextWritableAllOf
NewSecretTextWritableAllOf instantiates a new SecretTextWritableAllOf 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 NewSecretTextWritableAllOfWithDefaults ¶
func NewSecretTextWritableAllOfWithDefaults() *SecretTextWritableAllOf
NewSecretTextWritableAllOfWithDefaults instantiates a new SecretTextWritableAllOf 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 (*SecretTextWritableAllOf) GetData ¶
func (o *SecretTextWritableAllOf) GetData() string
GetData returns the Data field value
func (*SecretTextWritableAllOf) GetDataOk ¶
func (o *SecretTextWritableAllOf) GetDataOk() (*string, bool)
GetDataOk returns a tuple with the Data field value and a boolean to check if the value has been set.
func (SecretTextWritableAllOf) MarshalJSON ¶
func (o SecretTextWritableAllOf) MarshalJSON() ([]byte, error)
func (*SecretTextWritableAllOf) SetData ¶
func (o *SecretTextWritableAllOf) SetData(v string)
SetData sets field value
func (*SecretTextWritableAllOf) UnmarshalJSON ¶
func (o *SecretTextWritableAllOf) UnmarshalJSON(bytes []byte) (err error)
type SecretWritable ¶
type SecretWritable struct { Type Secrettypes `json:"type"` // Names of secrets may contain a alphanumeric characters separated by / to indicate folder membership. Vaulting a bag or text secret within folders will implicitely create the folders. Name string `json:"name"` AdditionalProperties map[string]interface{} }
SecretWritable struct for SecretWritable
func NewSecretWritable ¶
func NewSecretWritable(type_ Secrettypes, name string) *SecretWritable
NewSecretWritable instantiates a new SecretWritable 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 NewSecretWritableWithDefaults ¶
func NewSecretWritableWithDefaults() *SecretWritable
NewSecretWritableWithDefaults instantiates a new SecretWritable 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 (*SecretWritable) GetName ¶
func (o *SecretWritable) GetName() string
GetName returns the Name field value
func (*SecretWritable) GetNameOk ¶
func (o *SecretWritable) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value and a boolean to check if the value has been set.
func (*SecretWritable) GetType ¶
func (o *SecretWritable) GetType() Secrettypes
GetType returns the Type field value
func (*SecretWritable) GetTypeOk ¶
func (o *SecretWritable) GetTypeOk() (*Secrettypes, bool)
GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.
func (SecretWritable) MarshalJSON ¶
func (o SecretWritable) MarshalJSON() ([]byte, error)
func (*SecretWritable) SetName ¶
func (o *SecretWritable) SetName(v string)
SetName sets field value
func (*SecretWritable) SetType ¶
func (o *SecretWritable) SetType(v Secrettypes)
SetType sets field value
func (*SecretWritable) UnmarshalJSON ¶
func (o *SecretWritable) UnmarshalJSON(bytes []byte) (err error)
type SecretsApi ¶
type SecretsApi interface { /* * Delete Delete a secret * Deletes a secret from the vault. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param nameOrId The name or id of a secret. Note a name can be a path, and contained / characters should not be url encoded. * @return ApiDeleteRequest */ Delete(ctx _context.Context, nameOrId string) ApiDeleteRequest /* * DeleteExecute executes the request */ DeleteExecute(r ApiDeleteRequest) (*_nethttp.Response, error) /* * Get Get secrets * Gets a secret depending on the `{name}` path parameter. Does not include privileged data, see `/privilegeddata/secrets/{nameOrId}` path to retrieve privileged data. If {name} is the name of a folder of secrets, the results will only contain items that are direct descendants of the folder. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param nameOrId The name or id of a secret. Note a name can be a path, and contained / characters should not be url encoded. * @return ApiGetRequest */ Get(ctx _context.Context, nameOrId string) ApiGetRequest /* * GetExecute executes the request * @return SecretDense */ GetExecute(r ApiGetRequest) (SecretDense, *_nethttp.Response, error) /* * Modify Modify a secret * Modify a secret. Currently supports modifying a secret's privileged data. Note for a `bag` type secret, data is modified in its entirety. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param nameOrId The name or id of a secret. Note a name can be a path, and contained / characters should not be url encoded. * @return ApiModifyRequest */ Modify(ctx _context.Context, nameOrId string) ApiModifyRequest /* * ModifyExecute executes the request * @return SecretDense */ ModifyExecute(r ApiModifyRequest) (SecretDense, *_nethttp.Response, error) /* * Retrieve Retrieve privileged data * Retrieves the privileged data stored in the secret. ## Required Roles - TODO ## Required ACLs - retrieve - read * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param nameOrId The name or id of a secret. Note a name can be a path, and contained / characters should not be url encoded. * @return ApiRetrieveRequest */ Retrieve(ctx _context.Context, nameOrId string) ApiRetrieveRequest /* * RetrieveExecute executes the request * @return PrivilegedData */ RetrieveExecute(r ApiRetrieveRequest) (PrivilegedData, *_nethttp.Response, error) /* * SecretsCreate Create a secret * Creates a secret * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSecretsCreateRequest */ SecretsCreate(ctx _context.Context) ApiSecretsCreateRequest /* * SecretsCreateExecute executes the request * @return SecretDense */ SecretsCreateExecute(r ApiSecretsCreateRequest) (SecretDense, *_nethttp.Response, error) /* * SecretsList List secrets * Returns a list of sparse secrets. Optionally use the limit, orderBy, filter or search parameters to control the results. `Note` all responses are paged by default. The response contains a `previous_url` and `next_url` to access the next or previous page of the list. * @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSecretsListRequest */ SecretsList(ctx _context.Context) ApiSecretsListRequest /* * SecretsListExecute executes the request * @return SecretList */ SecretsListExecute(r ApiSecretsListRequest) (SecretList, *_nethttp.Response, error) }
type SecretsApiService ¶
type SecretsApiService service
SecretsApiService SecretsApi service
func (*SecretsApiService) Delete ¶
func (a *SecretsApiService) Delete(ctx _context.Context, nameOrId string) ApiDeleteRequest
* Delete Delete a secret * Deletes a secret from the vault.
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @param nameOrId The name or id of a secret. Note a name can be a path, and contained / characters should not be url encoded. * @return ApiDeleteRequest
func (*SecretsApiService) DeleteExecute ¶
func (a *SecretsApiService) DeleteExecute(r ApiDeleteRequest) (*_nethttp.Response, error)
* Execute executes the request
func (*SecretsApiService) Get ¶
func (a *SecretsApiService) Get(ctx _context.Context, nameOrId string) ApiGetRequest
- Get Get secrets
- Gets a secret depending on the `{name}` path parameter.
Does not include privileged data, see `/privilegeddata/secrets/{nameOrId}` path to retrieve privileged data. If {name} is the name of a folder of secrets, the results will only contain items that are direct descendants of the folder.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nameOrId The name or id of a secret. Note a name can be a path, and contained / characters should not be url encoded.
- @return ApiGetRequest
func (*SecretsApiService) GetExecute ¶
func (a *SecretsApiService) GetExecute(r ApiGetRequest) (SecretDense, *_nethttp.Response, error)
* Execute executes the request * @return SecretDense
func (*SecretsApiService) Modify ¶
func (a *SecretsApiService) Modify(ctx _context.Context, nameOrId string) ApiModifyRequest
- Modify Modify a secret
- Modify a secret.
Currently supports modifying a secret's privileged data.
Note for a `bag` type secret, data is modified in its entirety.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nameOrId The name or id of a secret. Note a name can be a path, and contained / characters should not be url encoded.
- @return ApiModifyRequest
func (*SecretsApiService) ModifyExecute ¶
func (a *SecretsApiService) ModifyExecute(r ApiModifyRequest) (SecretDense, *_nethttp.Response, error)
* Execute executes the request * @return SecretDense
func (*SecretsApiService) Retrieve ¶
func (a *SecretsApiService) Retrieve(ctx _context.Context, nameOrId string) ApiRetrieveRequest
- Retrieve Retrieve privileged data
- Retrieves the privileged data stored in the secret.
## Required Roles - TODO
## Required ACLs - retrieve - read
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nameOrId The name or id of a secret. Note a name can be a path, and contained / characters should not be url encoded.
- @return ApiRetrieveRequest
func (*SecretsApiService) RetrieveExecute ¶
func (a *SecretsApiService) RetrieveExecute(r ApiRetrieveRequest) (PrivilegedData, *_nethttp.Response, error)
* Execute executes the request * @return PrivilegedData
func (*SecretsApiService) SecretsCreate ¶
func (a *SecretsApiService) SecretsCreate(ctx _context.Context) ApiSecretsCreateRequest
* SecretsCreate Create a secret * Creates a secret
* @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). * @return ApiSecretsCreateRequest
func (*SecretsApiService) SecretsCreateExecute ¶
func (a *SecretsApiService) SecretsCreateExecute(r ApiSecretsCreateRequest) (SecretDense, *_nethttp.Response, error)
* Execute executes the request * @return SecretDense
func (*SecretsApiService) SecretsList ¶
func (a *SecretsApiService) SecretsList(ctx _context.Context) ApiSecretsListRequest
- SecretsList List secrets
- Returns a list of sparse secrets.
Optionally use the limit, orderBy, filter or search parameters to control the results.
`Note` all responses are paged by default. The response contains a `previous_url` and `next_url` to access the next or previous page of the list.
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiSecretsListRequest
func (*SecretsApiService) SecretsListExecute ¶
func (a *SecretsApiService) SecretsListExecute(r ApiSecretsListRequest) (SecretList, *_nethttp.Response, error)
* Execute executes the request * @return SecretList
type Secrettypes ¶
type Secrettypes string
Secrettypes Secret type is immutable. After initially vaulting a secret its type cannot be changed.
const ( TEXT Secrettypes = "text" KEYVALUE Secrettypes = "keyvalue" FOLDER Secrettypes = "folder" )
List of secrettypes
func (Secrettypes) Ptr ¶
func (v Secrettypes) Ptr() *Secrettypes
Ptr returns reference to secrettypes value
func (*Secrettypes) UnmarshalJSON ¶
func (v *Secrettypes) 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
Source Files
¶
- api_secrets.go
- client.go
- client_support.go
- configuration.go
- model_error.go
- model_failure_status_code.go
- model_list.go
- model_metadata.go
- model_privileged_bag_data.go
- model_privileged_bag_data_all_of.go
- model_privileged_data.go
- model_privileged_text_data.go
- model_privileged_text_data_all_of.go
- model_secret_bag_patchable.go
- model_secret_bag_writable.go
- model_secret_bag_writable_all_of.go
- model_secret_dense.go
- model_secret_dense_all_of.go
- model_secret_folder_writable.go
- model_secret_list.go
- model_secret_list_all_of.go
- model_secret_patchable.go
- model_secret_sparse.go
- model_secret_text_patchable.go
- model_secret_text_writable.go
- model_secret_text_writable_all_of.go
- model_secret_writable.go
- model_secrettypes.go
- response.go
- secret_support.go
- utils.go