Skip to content

Latest commit

 

History

History
108 lines (59 loc) · 3.34 KB

AttachmentData.md

File metadata and controls

108 lines (59 loc) · 3.34 KB

AttachmentData

Properties

Name Type Description Notes
Type interface{} The resource's type
Attributes GETAttachmentsAttachmentId200ResponseDataAttributes
Relationships Pointer to AttachmentDataRelationships [optional]

Methods

NewAttachmentData

func NewAttachmentData(type_ interface{}, attributes GETAttachmentsAttachmentId200ResponseDataAttributes, ) *AttachmentData

NewAttachmentData instantiates a new AttachmentData 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

NewAttachmentDataWithDefaults

func NewAttachmentDataWithDefaults() *AttachmentData

NewAttachmentDataWithDefaults instantiates a new AttachmentData 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

GetType

func (o *AttachmentData) GetType() interface{}

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *AttachmentData) GetTypeOk() (*interface{}, bool)

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

SetType

func (o *AttachmentData) SetType(v interface{})

SetType sets Type field to given value.

SetTypeNil

func (o *AttachmentData) SetTypeNil(b bool)

SetTypeNil sets the value for Type to be an explicit nil

UnsetType

func (o *AttachmentData) UnsetType()

UnsetType ensures that no value is present for Type, not even an explicit nil

GetAttributes

func (o *AttachmentData) GetAttributes() GETAttachmentsAttachmentId200ResponseDataAttributes

GetAttributes returns the Attributes field if non-nil, zero value otherwise.

GetAttributesOk

func (o *AttachmentData) GetAttributesOk() (*GETAttachmentsAttachmentId200ResponseDataAttributes, bool)

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

SetAttributes

func (o *AttachmentData) SetAttributes(v GETAttachmentsAttachmentId200ResponseDataAttributes)

SetAttributes sets Attributes field to given value.

GetRelationships

func (o *AttachmentData) GetRelationships() AttachmentDataRelationships

GetRelationships returns the Relationships field if non-nil, zero value otherwise.

GetRelationshipsOk

func (o *AttachmentData) GetRelationshipsOk() (*AttachmentDataRelationships, bool)

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

SetRelationships

func (o *AttachmentData) SetRelationships(v AttachmentDataRelationships)

SetRelationships sets Relationships field to given value.

HasRelationships

func (o *AttachmentData) HasRelationships() bool

HasRelationships returns a boolean if a field has been set.

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