# CreateServerCertificateRequest

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Body** | **string** | The PEM-encoded X509 certificate.&lt;br /&gt;With OSC CLI, use the following syntax to make sure your certificate file is correctly parsed: &#x60;--Body&#x3D;&amp;quot;$(cat FILENAME)&amp;quot;&#x60;. | 
**Chain** | Pointer to **string** | The PEM-encoded intermediate certification authorities.&lt;br /&gt;With OSC CLI, use the following syntax to make sure your certificate chain file is correctly parsed: &#x60;--Chain&#x3D;&amp;quot;$(cat FILENAME)&amp;quot;&#x60;. | [optional] 
**DryRun** | Pointer to **bool** | If true, checks whether you have the required permissions to perform the action. | [optional] 
**Name** | **string** | A unique name for the certificate. Constraints: 1-128 alphanumeric characters, pluses (&#x60;+&#x60;), equals (&#x60;&#x3D;&#x60;), commas (&#x60;,&#x60;), periods (&#x60;.&#x60;), at signs (&#x60;@&#x60;), minuses (&#x60;-&#x60;), or underscores (&#x60;_&#x60;). | 
**Path** | Pointer to **string** | The path to the server certificate, set to a slash (&#x60;/&#x60;) if not specified. | [optional] 
**PrivateKey** | **string** | The PEM-encoded private key matching the certificate.&lt;br /&gt;With OSC CLI, use the following syntax to make sure your key file is correctly parsed: &#x60;--PrivateKey&#x3D;&amp;quot;$(cat FILENAME)&amp;quot;&#x60;. | 

## Methods

### NewCreateServerCertificateRequest

`func NewCreateServerCertificateRequest(body string, name string, privateKey string, ) *CreateServerCertificateRequest`

NewCreateServerCertificateRequest instantiates a new CreateServerCertificateRequest 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

### NewCreateServerCertificateRequestWithDefaults

`func NewCreateServerCertificateRequestWithDefaults() *CreateServerCertificateRequest`

NewCreateServerCertificateRequestWithDefaults instantiates a new CreateServerCertificateRequest 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

### GetBody

`func (o *CreateServerCertificateRequest) GetBody() string`

GetBody returns the Body field if non-nil, zero value otherwise.

### GetBodyOk

`func (o *CreateServerCertificateRequest) GetBodyOk() (*string, bool)`

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

### SetBody

`func (o *CreateServerCertificateRequest) SetBody(v string)`

SetBody sets Body field to given value.


### GetChain

`func (o *CreateServerCertificateRequest) GetChain() string`

GetChain returns the Chain field if non-nil, zero value otherwise.

### GetChainOk

`func (o *CreateServerCertificateRequest) GetChainOk() (*string, bool)`

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

### SetChain

`func (o *CreateServerCertificateRequest) SetChain(v string)`

SetChain sets Chain field to given value.

### HasChain

`func (o *CreateServerCertificateRequest) HasChain() bool`

HasChain returns a boolean if a field has been set.

### GetDryRun

`func (o *CreateServerCertificateRequest) GetDryRun() bool`

GetDryRun returns the DryRun field if non-nil, zero value otherwise.

### GetDryRunOk

`func (o *CreateServerCertificateRequest) GetDryRunOk() (*bool, bool)`

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

### SetDryRun

`func (o *CreateServerCertificateRequest) SetDryRun(v bool)`

SetDryRun sets DryRun field to given value.

### HasDryRun

`func (o *CreateServerCertificateRequest) HasDryRun() bool`

HasDryRun returns a boolean if a field has been set.

### GetName

`func (o *CreateServerCertificateRequest) GetName() string`

GetName returns the Name field if non-nil, zero value otherwise.

### GetNameOk

`func (o *CreateServerCertificateRequest) 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.

### SetName

`func (o *CreateServerCertificateRequest) SetName(v string)`

SetName sets Name field to given value.


### GetPath

`func (o *CreateServerCertificateRequest) GetPath() string`

GetPath returns the Path field if non-nil, zero value otherwise.

### GetPathOk

`func (o *CreateServerCertificateRequest) GetPathOk() (*string, bool)`

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

### SetPath

`func (o *CreateServerCertificateRequest) SetPath(v string)`

SetPath sets Path field to given value.

### HasPath

`func (o *CreateServerCertificateRequest) HasPath() bool`

HasPath returns a boolean if a field has been set.

### GetPrivateKey

`func (o *CreateServerCertificateRequest) GetPrivateKey() string`

GetPrivateKey returns the PrivateKey field if non-nil, zero value otherwise.

### GetPrivateKeyOk

`func (o *CreateServerCertificateRequest) GetPrivateKeyOk() (*string, bool)`

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

### SetPrivateKey

`func (o *CreateServerCertificateRequest) SetPrivateKey(v string)`

SetPrivateKey sets PrivateKey field to given value.



[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


