Name | Type | Description | Notes |
---|---|---|---|
Name | string | The project name. | |
Participants | int32 | The number of key share holders in the project. Notes: 1. Currently, the available Threshold Signature Schemes (TSS) are 2-2, 2-3, and 3-3 schemes (in the "threshold - participants" format), so you can only set `participants` to 2 or 3. 2. `threshold` must be less than or equal to `participants`. | |
Threshold | int32 | The number of key share holders required to sign an operation in the project. Notes: 1. Currently, the available Threshold Signature Schemes (TSS) are 2-2, 2-3, and 3-3 schemes (in the "threshold - participants" format), so you can only set `threshold` to 2 or 3. 2. `threshold` must be less than or equal to `participants`. |
func NewCreateMpcProjectRequest(name string, participants int32, threshold int32, ) *CreateMpcProjectRequest
NewCreateMpcProjectRequest instantiates a new CreateMpcProjectRequest 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 NewCreateMpcProjectRequestWithDefaults() *CreateMpcProjectRequest
NewCreateMpcProjectRequestWithDefaults instantiates a new CreateMpcProjectRequest 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 *CreateMpcProjectRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CreateMpcProjectRequest) 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 *CreateMpcProjectRequest) SetName(v string)
SetName sets Name field to given value.
func (o *CreateMpcProjectRequest) GetParticipants() int32
GetParticipants returns the Participants field if non-nil, zero value otherwise.
func (o *CreateMpcProjectRequest) GetParticipantsOk() (*int32, bool)
GetParticipantsOk returns a tuple with the Participants field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateMpcProjectRequest) SetParticipants(v int32)
SetParticipants sets Participants field to given value.
func (o *CreateMpcProjectRequest) GetThreshold() int32
GetThreshold returns the Threshold field if non-nil, zero value otherwise.
func (o *CreateMpcProjectRequest) GetThresholdOk() (*int32, bool)
GetThresholdOk returns a tuple with the Threshold field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CreateMpcProjectRequest) SetThreshold(v int32)
SetThreshold sets Threshold field to given value.