Stored_DMCampaign
Stored_DMCampaign
- Full name:
\Onslip360\API\Stored_DMCampaign
- Parent class:
\Onslip360\Onslip360Object
Properties
created
public string $created
id
public int $id
message
public string $message
name
public string $name
type
public \Onslip360\API\DMCampaign\Type $type
updated
public string $updated
deleted
public string|null $deleted
labels
public array|null $labels
recipients
public array|null $recipients
sender
public string|null $sender
status
public \Onslip360\API\DMCampaign\Status|null $status
tags
public array|null $tags
triggerEvent
public int|null $triggerEvent
updatedBy
public int|null $updatedBy
updatedFrom
public int|null $updatedFrom
user
public int|null $user
Methods
__construct
public __construct(string $created, int $id, string $message, string $name, \Onslip360\API\DMCampaign\Type $type, string $updated, string|null $deleted = null, int[]|null $labels = null, \Onslip360\API\DMCampaignRecipient[]|null $recipients = null, string|null $sender = null, \Onslip360\API\DMCampaign\Status|null $status = null, string[]|null $tags = null, int|null $triggerEvent = null, int|null $updatedBy = null, int|null $updatedFrom = null, int|null $user = null): mixed
Parameters:
Parameter | Type | Description |
---|---|---|
$created | string | |
$id | int | |
$message | string | |
$name | string | |
$type | \Onslip360\API\DMCampaign\Type | |
$updated | string | |
$deleted | string|null | |
$labels | int[]|null | |
$recipients | \Onslip360\API\DMCampaignRecipient[]|null | |
$sender | string|null | |
$status | \Onslip360\API\DMCampaign\Status|null | |
$tags | string[]|null | |
$triggerEvent | int|null | |
$updatedBy | int|null | |
$updatedFrom | int|null | |
$user | int|null |
Inherited methods
getExtended
public getExtended(string $name): string|null|\Onslip360\Nil
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string |
setExtended
public setExtended(string $name, string|null|\Onslip360\Nil $value): static
Parameters:
Parameter | Type | Description |
---|---|---|
$name | string | |
$value | string|null|\Onslip360\Nil |
fromJson
public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string|array|\JsonSerializable|\stdClass |
fromJsonArray
public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
- This method is static.
Parameters:
Parameter | Type | Description |
---|---|---|
$json | string[]|array[]|\JsonSerializable[]|\stdClass[] |
jsonSerialize
public jsonSerialize(): array|object
Automatically generated on 2024-11-05