Name | Type | Description | Notes |
---|---|---|---|
CustomerFrgId | Pointer to string | The customer fragment ID that will be used to split the key (if empty, the key will be created independently of a customer fragment) | [optional] |
DeleteProtection | Pointer to string | Protection from accidental deletion of this item | [optional] |
Description | Pointer to string | Description of the object | [optional] |
In | string | PKCS#12 input file (private key and certificate only) | |
Json | Pointer to bool | Set output format to JSON | [optional] |
Metadata | Pointer to string | Deprecated - use description | [optional] |
Name | string | Name of key to be created | |
Passphrase | string | Passphrase to unlock the pkcs#12 bundle | |
SplitLevel | Pointer to int64 | The number of fragments that the item will be split into | [optional] [default to 2] |
Tag | Pointer to []string | List of the tags attached to this key | [optional] |
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] |
func NewUploadPKCS12(in string, name string, passphrase string, ) *UploadPKCS12
NewUploadPKCS12 instantiates a new UploadPKCS12 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 NewUploadPKCS12WithDefaults() *UploadPKCS12
NewUploadPKCS12WithDefaults instantiates a new UploadPKCS12 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 (o *UploadPKCS12) GetCustomerFrgId() string
GetCustomerFrgId returns the CustomerFrgId field if non-nil, zero value otherwise.
func (o *UploadPKCS12) GetCustomerFrgIdOk() (*string, bool)
GetCustomerFrgIdOk returns a tuple with the CustomerFrgId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadPKCS12) SetCustomerFrgId(v string)
SetCustomerFrgId sets CustomerFrgId field to given value.
func (o *UploadPKCS12) HasCustomerFrgId() bool
HasCustomerFrgId returns a boolean if a field has been set.
func (o *UploadPKCS12) GetDeleteProtection() string
GetDeleteProtection returns the DeleteProtection field if non-nil, zero value otherwise.
func (o *UploadPKCS12) GetDeleteProtectionOk() (*string, bool)
GetDeleteProtectionOk returns a tuple with the DeleteProtection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadPKCS12) SetDeleteProtection(v string)
SetDeleteProtection sets DeleteProtection field to given value.
func (o *UploadPKCS12) HasDeleteProtection() bool
HasDeleteProtection returns a boolean if a field has been set.
func (o *UploadPKCS12) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *UploadPKCS12) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadPKCS12) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *UploadPKCS12) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *UploadPKCS12) GetIn() string
GetIn returns the In field if non-nil, zero value otherwise.
func (o *UploadPKCS12) GetInOk() (*string, bool)
GetInOk returns a tuple with the In field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadPKCS12) SetIn(v string)
SetIn sets In field to given value.
func (o *UploadPKCS12) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *UploadPKCS12) 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.
func (o *UploadPKCS12) SetJson(v bool)
SetJson sets Json field to given value.
func (o *UploadPKCS12) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *UploadPKCS12) GetMetadata() string
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *UploadPKCS12) GetMetadataOk() (*string, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadPKCS12) SetMetadata(v string)
SetMetadata sets Metadata field to given value.
func (o *UploadPKCS12) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.
func (o *UploadPKCS12) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *UploadPKCS12) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadPKCS12) SetName(v string)
SetName sets Name field to given value.
func (o *UploadPKCS12) GetPassphrase() string
GetPassphrase returns the Passphrase field if non-nil, zero value otherwise.
func (o *UploadPKCS12) GetPassphraseOk() (*string, bool)
GetPassphraseOk returns a tuple with the Passphrase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadPKCS12) SetPassphrase(v string)
SetPassphrase sets Passphrase field to given value.
func (o *UploadPKCS12) GetSplitLevel() int64
GetSplitLevel returns the SplitLevel field if non-nil, zero value otherwise.
func (o *UploadPKCS12) GetSplitLevelOk() (*int64, bool)
GetSplitLevelOk returns a tuple with the SplitLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadPKCS12) SetSplitLevel(v int64)
SetSplitLevel sets SplitLevel field to given value.
func (o *UploadPKCS12) HasSplitLevel() bool
HasSplitLevel returns a boolean if a field has been set.
func (o *UploadPKCS12) GetTag() []string
GetTag returns the Tag field if non-nil, zero value otherwise.
func (o *UploadPKCS12) GetTagOk() (*[]string, bool)
GetTagOk returns a tuple with the Tag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *UploadPKCS12) SetTag(v []string)
SetTag sets Tag field to given value.
func (o *UploadPKCS12) HasTag() bool
HasTag returns a boolean if a field has been set.
func (o *UploadPKCS12) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *UploadPKCS12) 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.
func (o *UploadPKCS12) SetToken(v string)
SetToken sets Token field to given value.
func (o *UploadPKCS12) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *UploadPKCS12) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *UploadPKCS12) 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.
func (o *UploadPKCS12) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *UploadPKCS12) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.