Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 4.2 KB

File metadata and controls

72 lines (39 loc) · 4.2 KB

V2TasksPostRequestDataLinkedRecordsInnerAnyOf1

Properties

Name Type Description Notes
TargetObject string A UUID or slug to identify the object that the referenced record belongs to.
SlugOrIdOfMatchingAttribute []V2TasksPostRequestDataLinkedRecordsInnerAnyOf1SlugOrIdOfMatchingAttributeInner In addition to referencing records directly by record ID, you may also reference by a matching attribute of your choice. For example, if you want to add a reference to the person record with email "alice@website.com", you should pass a value with `target_object` set to `"people"` and `email_addresses` set to `[{email_address:"alice@website.com"}]`. The key should be the slug or ID of the matching attribute you would like to use and the value should be an array containing a single value of the appropriate attribute type (as specified below). Matching on multiple values is not currently supported. Matching attributes must be unique. This process is similar to how you use the `matching_attribute` query param in Attio's assert endpoints.

Methods

NewV2TasksPostRequestDataLinkedRecordsInnerAnyOf1

func NewV2TasksPostRequestDataLinkedRecordsInnerAnyOf1(targetObject string, slugOrIdOfMatchingAttribute []V2TasksPostRequestDataLinkedRecordsInnerAnyOf1SlugOrIdOfMatchingAttributeInner, ) *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1

NewV2TasksPostRequestDataLinkedRecordsInnerAnyOf1 instantiates a new V2TasksPostRequestDataLinkedRecordsInnerAnyOf1 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

NewV2TasksPostRequestDataLinkedRecordsInnerAnyOf1WithDefaults

func NewV2TasksPostRequestDataLinkedRecordsInnerAnyOf1WithDefaults() *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1

NewV2TasksPostRequestDataLinkedRecordsInnerAnyOf1WithDefaults instantiates a new V2TasksPostRequestDataLinkedRecordsInnerAnyOf1 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

GetTargetObject

func (o *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1) GetTargetObject() string

GetTargetObject returns the TargetObject field if non-nil, zero value otherwise.

GetTargetObjectOk

func (o *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1) GetTargetObjectOk() (*string, bool)

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

SetTargetObject

func (o *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1) SetTargetObject(v string)

SetTargetObject sets TargetObject field to given value.

GetSlugOrIdOfMatchingAttribute

func (o *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1) GetSlugOrIdOfMatchingAttribute() []V2TasksPostRequestDataLinkedRecordsInnerAnyOf1SlugOrIdOfMatchingAttributeInner

GetSlugOrIdOfMatchingAttribute returns the SlugOrIdOfMatchingAttribute field if non-nil, zero value otherwise.

GetSlugOrIdOfMatchingAttributeOk

func (o *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1) GetSlugOrIdOfMatchingAttributeOk() (*[]V2TasksPostRequestDataLinkedRecordsInnerAnyOf1SlugOrIdOfMatchingAttributeInner, bool)

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

SetSlugOrIdOfMatchingAttribute

func (o *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1) SetSlugOrIdOfMatchingAttribute(v []V2TasksPostRequestDataLinkedRecordsInnerAnyOf1SlugOrIdOfMatchingAttributeInner)

SetSlugOrIdOfMatchingAttribute sets SlugOrIdOfMatchingAttribute field to given value.

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