Skip to content

Latest commit

 

History

History
202 lines (109 loc) · 5.22 KB

UscGet.md

File metadata and controls

202 lines (109 loc) · 5.22 KB

UscGet

Properties

Name Type Description Notes
Json Pointer to bool Set output format to JSON [optional] [default to false]
Namespace Pointer to string The namespace (relevant for Hashi vault target) [optional]
SecretId string The secret id (or name, for AWS, Azure, K8s or Hashi vault targets) to get from the Universal Secrets Connector
Token Pointer to string Authentication token (see `/auth` and `/configure`) [optional]
UidToken Pointer to string The universal identity token, Required only for universal_identity authentication [optional]
UscName string Name of the Universal Secrets Connector item
VersionId Pointer to string The version id (if not specified, will retrieve the last version) [optional]

Methods

NewUscGet

func NewUscGet(secretId string, uscName string, ) *UscGet

NewUscGet instantiates a new UscGet 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

NewUscGetWithDefaults

func NewUscGetWithDefaults() *UscGet

NewUscGetWithDefaults instantiates a new UscGet 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

GetJson

func (o *UscGet) GetJson() bool

GetJson returns the Json field if non-nil, zero value otherwise.

GetJsonOk

func (o *UscGet) GetJsonOk() (*bool, bool)

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

SetJson

func (o *UscGet) SetJson(v bool)

SetJson sets Json field to given value.

HasJson

func (o *UscGet) HasJson() bool

HasJson returns a boolean if a field has been set.

GetNamespace

func (o *UscGet) GetNamespace() string

GetNamespace returns the Namespace field if non-nil, zero value otherwise.

GetNamespaceOk

func (o *UscGet) GetNamespaceOk() (*string, bool)

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

SetNamespace

func (o *UscGet) SetNamespace(v string)

SetNamespace sets Namespace field to given value.

HasNamespace

func (o *UscGet) HasNamespace() bool

HasNamespace returns a boolean if a field has been set.

GetSecretId

func (o *UscGet) GetSecretId() string

GetSecretId returns the SecretId field if non-nil, zero value otherwise.

GetSecretIdOk

func (o *UscGet) GetSecretIdOk() (*string, bool)

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

SetSecretId

func (o *UscGet) SetSecretId(v string)

SetSecretId sets SecretId field to given value.

GetToken

func (o *UscGet) GetToken() string

GetToken returns the Token field if non-nil, zero value otherwise.

GetTokenOk

func (o *UscGet) GetTokenOk() (*string, bool)

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

SetToken

func (o *UscGet) SetToken(v string)

SetToken sets Token field to given value.

HasToken

func (o *UscGet) HasToken() bool

HasToken returns a boolean if a field has been set.

GetUidToken

func (o *UscGet) GetUidToken() string

GetUidToken returns the UidToken field if non-nil, zero value otherwise.

GetUidTokenOk

func (o *UscGet) GetUidTokenOk() (*string, bool)

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

SetUidToken

func (o *UscGet) SetUidToken(v string)

SetUidToken sets UidToken field to given value.

HasUidToken

func (o *UscGet) HasUidToken() bool

HasUidToken returns a boolean if a field has been set.

GetUscName

func (o *UscGet) GetUscName() string

GetUscName returns the UscName field if non-nil, zero value otherwise.

GetUscNameOk

func (o *UscGet) GetUscNameOk() (*string, bool)

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

SetUscName

func (o *UscGet) SetUscName(v string)

SetUscName sets UscName field to given value.

GetVersionId

func (o *UscGet) GetVersionId() string

GetVersionId returns the VersionId field if non-nil, zero value otherwise.

GetVersionIdOk

func (o *UscGet) GetVersionIdOk() (*string, bool)

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

SetVersionId

func (o *UscGet) SetVersionId(v string)

SetVersionId sets VersionId field to given value.

HasVersionId

func (o *UscGet) HasVersionId() bool

HasVersionId returns a boolean if a field has been set.

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