Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 2.59 KB

PostObjectStorageSslRequest.md

File metadata and controls

72 lines (39 loc) · 2.59 KB

PostObjectStorageSslRequest

Properties

Name Type Description Notes
Certificate string Your Base64 encoded and PEM formatted SSL certificate. Line breaks must be represented as `\n` in the string for requests (but not when using the Linode CLI)
PrivateKey string The private key associated with this TLS/SSL certificate. Line breaks must be represented as `\n` in the string for requests (but not when using the Linode CLI)

Methods

NewPostObjectStorageSslRequest

func NewPostObjectStorageSslRequest(certificate string, privateKey string, ) *PostObjectStorageSslRequest

NewPostObjectStorageSslRequest instantiates a new PostObjectStorageSslRequest 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

NewPostObjectStorageSslRequestWithDefaults

func NewPostObjectStorageSslRequestWithDefaults() *PostObjectStorageSslRequest

NewPostObjectStorageSslRequestWithDefaults instantiates a new PostObjectStorageSslRequest 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

GetCertificate

func (o *PostObjectStorageSslRequest) GetCertificate() string

GetCertificate returns the Certificate field if non-nil, zero value otherwise.

GetCertificateOk

func (o *PostObjectStorageSslRequest) GetCertificateOk() (*string, bool)

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

SetCertificate

func (o *PostObjectStorageSslRequest) SetCertificate(v string)

SetCertificate sets Certificate field to given value.

GetPrivateKey

func (o *PostObjectStorageSslRequest) GetPrivateKey() string

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

GetPrivateKeyOk

func (o *PostObjectStorageSslRequest) 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 *PostObjectStorageSslRequest) SetPrivateKey(v string)

SetPrivateKey sets PrivateKey field to given value.

[Back to Model list] [Back to API list] [Back to README]