Name | Type | Description | Notes |
---|---|---|---|
Subject | string | Subject for the requested certificate | |
KeyType | string | Certificate key type [RSA, ECC] | |
KeyLength | int32 | Size of the certificate key (ex: RSA 1024, 2048, 4096/ECC 256, 384, 521) | |
Template | Pointer to string | [optional] | |
SANs | Pointer to map[string][]string | [optional] |
func NewModelsEnrollmentCSRGenerationRequest(subject string, keyType string, keyLength int32, ) *ModelsEnrollmentCSRGenerationRequest
NewModelsEnrollmentCSRGenerationRequest instantiates a new ModelsEnrollmentCSRGenerationRequest 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 NewModelsEnrollmentCSRGenerationRequestWithDefaults() *ModelsEnrollmentCSRGenerationRequest
NewModelsEnrollmentCSRGenerationRequestWithDefaults instantiates a new ModelsEnrollmentCSRGenerationRequest 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 *ModelsEnrollmentCSRGenerationRequest) GetSubject() string
GetSubject returns the Subject field if non-nil, zero value otherwise.
func (o *ModelsEnrollmentCSRGenerationRequest) GetSubjectOk() (*string, bool)
GetSubjectOk returns a tuple with the Subject field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsEnrollmentCSRGenerationRequest) SetSubject(v string)
SetSubject sets Subject field to given value.
func (o *ModelsEnrollmentCSRGenerationRequest) GetKeyType() string
GetKeyType returns the KeyType field if non-nil, zero value otherwise.
func (o *ModelsEnrollmentCSRGenerationRequest) GetKeyTypeOk() (*string, bool)
GetKeyTypeOk returns a tuple with the KeyType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsEnrollmentCSRGenerationRequest) SetKeyType(v string)
SetKeyType sets KeyType field to given value.
func (o *ModelsEnrollmentCSRGenerationRequest) GetKeyLength() int32
GetKeyLength returns the KeyLength field if non-nil, zero value otherwise.
func (o *ModelsEnrollmentCSRGenerationRequest) GetKeyLengthOk() (*int32, bool)
GetKeyLengthOk returns a tuple with the KeyLength field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsEnrollmentCSRGenerationRequest) SetKeyLength(v int32)
SetKeyLength sets KeyLength field to given value.
func (o *ModelsEnrollmentCSRGenerationRequest) GetTemplate() string
GetTemplate returns the Template field if non-nil, zero value otherwise.
func (o *ModelsEnrollmentCSRGenerationRequest) GetTemplateOk() (*string, bool)
GetTemplateOk returns a tuple with the Template field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsEnrollmentCSRGenerationRequest) SetTemplate(v string)
SetTemplate sets Template field to given value.
func (o *ModelsEnrollmentCSRGenerationRequest) HasTemplate() bool
HasTemplate returns a boolean if a field has been set.
func (o *ModelsEnrollmentCSRGenerationRequest) GetSANs() map[string][]string
GetSANs returns the SANs field if non-nil, zero value otherwise.
func (o *ModelsEnrollmentCSRGenerationRequest) GetSANsOk() (*map[string][]string, bool)
GetSANsOk returns a tuple with the SANs field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ModelsEnrollmentCSRGenerationRequest) SetSANs(v map[string][]string)
SetSANs sets SANs field to given value.
func (o *ModelsEnrollmentCSRGenerationRequest) HasSANs() bool
HasSANs returns a boolean if a field has been set.