GoodMem
ReferenceClient SDKsGo SDKModels

BinaryContent Model

BinaryContent Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
ContentTypestringMIME type of the binary content.
DatastringBase64-encoded binary data.

Methods

NewBinaryContent

func NewBinaryContent(contentType string, data string, ) *BinaryContent

NewBinaryContent instantiates a new BinaryContent 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

NewBinaryContentWithDefaults

func NewBinaryContentWithDefaults() *BinaryContent

NewBinaryContentWithDefaults instantiates a new BinaryContent 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

GetContentType

func (o *BinaryContent) GetContentType() string

GetContentType returns the ContentType field if non-nil, zero value otherwise.

GetContentTypeOk

func (o *BinaryContent) GetContentTypeOk() (*string, bool)

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

SetContentType

func (o *BinaryContent) SetContentType(v string)

SetContentType sets ContentType field to given value.

GetData

func (o *BinaryContent) GetData() string

GetData returns the Data field if non-nil, zero value otherwise.

GetDataOk

func (o *BinaryContent) GetDataOk() (*string, bool)

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

SetData

func (o *BinaryContent) SetData(v string)

SetData sets Data field to given value.

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK