Name | Type | Description | Notes |
---|---|---|---|
ProjectId | Pointer to string | The project ID, which you can retrieve by calling List all projects. Notes: 1. If you set `vault_type` to `OrgControlled`, the value of `project_id` will be ignored. 2. If you set `vault_type` to `UserControlled`, then `project_id` is required. | [optional] |
Name | string | The vault name. | |
VaultType | MPCVaultType |
func NewCreateMpcVaultRequest(name string, vaultType MPCVaultType, ) *CreateMpcVaultRequest
NewCreateMpcVaultRequest instantiates a new CreateMpcVaultRequest 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 NewCreateMpcVaultRequestWithDefaults() *CreateMpcVaultRequest
NewCreateMpcVaultRequestWithDefaults instantiates a new CreateMpcVaultRequest 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 *CreateMpcVaultRequest) GetProjectId() string
GetProjectId returns the ProjectId field if non-nil, zero value otherwise.
func (o *CreateMpcVaultRequest) GetProjectIdOk() (*string, bool)
GetProjectIdOk returns a tuple with the ProjectId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateMpcVaultRequest) SetProjectId(v string)
SetProjectId sets ProjectId field to given value.
func (o *CreateMpcVaultRequest) HasProjectId() bool
HasProjectId returns a boolean if a field has been set.
func (o *CreateMpcVaultRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateMpcVaultRequest) 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 *CreateMpcVaultRequest) SetName(v string)
SetName sets Name field to given value.
func (o *CreateMpcVaultRequest) GetVaultType() MPCVaultType
GetVaultType returns the VaultType field if non-nil, zero value otherwise.
func (o *CreateMpcVaultRequest) GetVaultTypeOk() (*MPCVaultType, bool)
GetVaultTypeOk returns a tuple with the VaultType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateMpcVaultRequest) SetVaultType(v MPCVaultType)
SetVaultType sets VaultType field to given value.