*** # Contact * Full name: `\Seven\Api\Resource\Contacts\Contact` ## Properties ### avatar ```php protected string $avatar ``` *** ### created ```php protected string $created ``` *** ### id ```php protected int $id ``` *** ### initials ```php protected \Seven\Api\Resource\Contacts\Initials $initials ``` *** ### groups ```php protected int[] $groups ``` *** ### properties ```php protected \Seven\Api\Resource\Contacts\Properties $properties ``` *** ### validation ```php protected \Seven\Api\Resource\Contacts\Validation $validation ``` *** ## Methods ### fromApi ```php public static fromApi(object $obj): \Seven\Api\Resource\Contacts\Contact ``` * This method is **static**. **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$obj` | **object** | | *** ### toPayload ```php public toPayload(): array ``` *** ### getAvatar ```php public getAvatar(): string ``` *** ### setAvatar ```php public setAvatar(string $avatar): \Seven\Api\Resource\Contacts\Contact ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$avatar` | **string** | | *** ### getInitials ```php public getInitials(): \Seven\Api\Resource\Contacts\Initials ``` *** ### setInitials ```php public setInitials(\Seven\Api\Resource\Contacts\Initials $initials): \Seven\Api\Resource\Contacts\Contact ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$initials` | **\Seven\Api\Resource\Contacts\Initials** | | *** ### getGroups ```php public getGroups(): array ``` *** ### setGroups ```php public setGroups(array $groups): \Seven\Api\Resource\Contacts\Contact ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$groups` | **array** | | *** ### getProperties ```php public getProperties(): \Seven\Api\Resource\Contacts\Properties ``` *** ### setProperties ```php public setProperties(\Seven\Api\Resource\Contacts\Properties $properties): \Seven\Api\Resource\Contacts\Contact ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$properties` | **\Seven\Api\Resource\Contacts\Properties** | | *** ### getValidation ```php public getValidation(): \Seven\Api\Resource\Contacts\Validation ``` *** ### setValidation ```php public setValidation(\Seven\Api\Resource\Contacts\Validation $validation): \Seven\Api\Resource\Contacts\Contact ``` **Parameters:** | Parameter | Type | Description | |-----------|------|-------------| | `$validation` | **\Seven\Api\Resource\Contacts\Validation** | | *** ### getId ```php public getId(): int ``` *** ### getCreated ```php public getCreated(): string ``` *** *** > Automatically generated on 2025-02-06