Skip to content

Latest commit

 

History

History
92 lines (51 loc) · 2.55 KB

File metadata and controls

92 lines (51 loc) · 2.55 KB

Attachment

Properties

Name Type Description Notes
Filename Pointer to NullableString Attachment file name [optional]
Attachment Pointer to *os.File Attachment file [.png, .jpg, .gif, .pdf, .zip, .xls, .xlsx, .doc, .docx] [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

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.

SetFilenameNil

func (o *Attachment) SetFilenameNil(b bool)

SetFilenameNil sets the value for Filename to be an explicit nil

UnsetFilename

func (o *Attachment) UnsetFilename()

UnsetFilename ensures that no value is present for Filename, not even an explicit nil

GetAttachment

func (o *Attachment) GetAttachment() *os.File

GetAttachment returns the Attachment field if non-nil, zero value otherwise.

GetAttachmentOk

func (o *Attachment) GetAttachmentOk() (**os.File, bool)

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

SetAttachment

func (o *Attachment) SetAttachment(v *os.File)

SetAttachment sets Attachment field to given value.

HasAttachment

func (o *Attachment) HasAttachment() bool

HasAttachment returns a boolean if a field has been set.

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