Skip to main content

Stored_DMCampaign


Stored_DMCampaign

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:

ParameterTypeDescription
$createdstring
$idint
$messagestring
$namestring
$type\Onslip360\API\DMCampaign\Type
$updatedstring
$deletedstring|null
$labelsint[]|null
$recipients\Onslip360\API\DMCampaignRecipient[]|null
$senderstring|null
$status\Onslip360\API\DMCampaign\Status|null
$tagsstring[]|null
$triggerEventint|null
$updatedByint|null
$updatedFromint|null
$userint|null

Inherited methods

getExtended

public getExtended(string $name): string|null|\Onslip360\Nil

Parameters:

ParameterTypeDescription
$namestring

setExtended

public setExtended(string $name, string|null|\Onslip360\Nil $value): static

Parameters:

ParameterTypeDescription
$namestring
$valuestring|null|\Onslip360\Nil

fromJson

public static fromJson(string|array|\JsonSerializable|\stdClass $json): static
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring|array|\JsonSerializable|\stdClass

fromJsonArray

public static fromJsonArray(string[]|array[]|\JsonSerializable[]|\stdClass[] $json): static[]
  • This method is static.

Parameters:

ParameterTypeDescription
$jsonstring[]|array[]|\JsonSerializable[]|\stdClass[]

jsonSerialize

public jsonSerialize(): array|object


Automatically generated on 2024-11-05