| 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. |
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
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
func (o *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1) GetTargetObject() string
GetTargetObject returns the TargetObject field if non-nil, zero value otherwise.
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.
func (o *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1) SetTargetObject(v string)
SetTargetObject sets TargetObject field to given value.
func (o *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1) GetSlugOrIdOfMatchingAttribute() []V2TasksPostRequestDataLinkedRecordsInnerAnyOf1SlugOrIdOfMatchingAttributeInner
GetSlugOrIdOfMatchingAttribute returns the SlugOrIdOfMatchingAttribute field if non-nil, zero value otherwise.
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.
func (o *V2TasksPostRequestDataLinkedRecordsInnerAnyOf1) SetSlugOrIdOfMatchingAttribute(v []V2TasksPostRequestDataLinkedRecordsInnerAnyOf1SlugOrIdOfMatchingAttributeInner)
SetSlugOrIdOfMatchingAttribute sets SlugOrIdOfMatchingAttribute field to given value.