Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 2.76 KB

Attachment.md

File metadata and controls

108 lines (59 loc) · 2.76 KB

Attachment

Properties

Name Type Description Notes
Id Pointer to string The file ID of the attachment. [optional]
MimeType Pointer to string The MIME type of the attachment. [optional]
Filename Pointer to string The filename of the attachment. [optional]

Methods

NewAttachment

func NewAttachment() *Attachment

NewAttachment instantiates a new Attachment 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

NewAttachmentWithDefaults

func NewAttachmentWithDefaults() *Attachment

NewAttachmentWithDefaults instantiates a new Attachment 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

GetId

func (o *Attachment) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *Attachment) GetIdOk() (*string, bool)

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

SetId

func (o *Attachment) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *Attachment) HasId() bool

HasId returns a boolean if a field has been set.

GetMimeType

func (o *Attachment) GetMimeType() string

GetMimeType returns the MimeType field if non-nil, zero value otherwise.

GetMimeTypeOk

func (o *Attachment) GetMimeTypeOk() (*string, bool)

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

SetMimeType

func (o *Attachment) SetMimeType(v string)

SetMimeType sets MimeType field to given value.

HasMimeType

func (o *Attachment) HasMimeType() bool

HasMimeType returns a boolean if a field has been set.

GetFilename

func (o *Attachment) GetFilename() string

GetFilename returns the Filename field if non-nil, zero value otherwise.

GetFilenameOk

func (o *Attachment) GetFilenameOk() (*string, bool)

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

SetFilename

func (o *Attachment) SetFilename(v string)

SetFilename sets Filename field to given value.

HasFilename

func (o *Attachment) HasFilename() bool

HasFilename returns a boolean if a field has been set.

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