Author
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Представляет автора вопроса или ответа
JSON-представление |
---|
{
"displayName": string,
"profilePhotoUrl": string,
"type": enum (AuthorType )
} |
Поля |
---|
displayName | string Отображаемое имя пользователя |
profilePhotoUrl | string URL-адрес фотографии профиля пользователя. |
type | enum ( AuthorType ) Тип пользователя, которым является автор. |
Тип автора
Перечисление типа пользователя, которым является автор.
Перечисления |
---|
AUTHOR_TYPE_UNSPECIFIED | Это не следует использовать. |
REGULAR_USER | Обычный пользователь. |
LOCAL_GUIDE | Местный гид |
MERCHANT | Владелец/управляющий локации |
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-07-25 UTC.
[null,null,["Последнее обновление: 2025-07-25 UTC."],[[["\u003cp\u003eThe AuthorType object represents the author of a question or answer and includes their display name, profile photo URL, and user type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003etype\u003c/code\u003e field uses the AuthorType enum to specify whether the author is a regular user, a Local Guide, or a merchant, avoiding the \u003ccode\u003eAUTHOR_TYPE_UNSPECIFIED\u003c/code\u003e value.\u003c/p\u003e\n"]]],[],null,["# Author\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n- [AuthorType](#AuthorType)\n\nRepresents the author of a question or answer\n\n| JSON representation ||\n|-------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"displayName\": string, \"profilePhotoUrl\": string, \"type\": enum (/my-business/reference/rest/v4/Author#AuthorType) } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------|\n| `displayName` | `string` The display name of the user |\n| `profilePhotoUrl` | `string` The profile photo URL of the user. |\n| `type` | `enum (`[AuthorType](/my-business/reference/rest/v4/Author#AuthorType)`)` The type of user the author is. |\n\nAuthorType\n----------\n\nEnum for the type of user the author is.\n\n| Enums ||\n|---------------------------|-----------------------------------|\n| `AUTHOR_TYPE_UNSPECIFIED` | This should not be used. |\n| `REGULAR_USER` | A regular user. |\n| `LOCAL_GUIDE` | A Local Guide |\n| `MERCHANT` | The owner/manager of the location |"]]