Skip to main content

Partial_DMCampaign


Partial_DMCampaign

Properties

deleted

public string|null|\Onslip360\Nil $deleted

labels

public array|null|\Onslip360\Nil $labels

message

public string|null $message

name

public string|null $name

recipients

public array|null|\Onslip360\Nil $recipients

sender

public string|null|\Onslip360\Nil $sender

status

public \Onslip360\API\DMCampaign\Status|null|\Onslip360\Nil $status

tags

public array|null|\Onslip360\Nil $tags

triggerEvent

public int|null|\Onslip360\Nil $triggerEvent

type

public \Onslip360\API\DMCampaign\Type|null $type

user

public int|null|\Onslip360\Nil $user

Methods

__construct

public __construct(string|null|\Onslip360\Nil $deleted = null, int[]|null|\Onslip360\Nil $labels = null, string|null $message = null, string|null $name = null, \Onslip360\API\Partial_DMCampaignRecipient[]|null|\Onslip360\Nil $recipients = null, string|null|\Onslip360\Nil $sender = null, \Onslip360\API\DMCampaign\Status|null|\Onslip360\Nil $status = null, string[]|null|\Onslip360\Nil $tags = null, int|null|\Onslip360\Nil $triggerEvent = null, \Onslip360\API\DMCampaign\Type|null $type = null, int|null|\Onslip360\Nil $user = null): mixed

Parameters:

ParameterTypeDescription
$deletedstring|null|\Onslip360\Nil
$labelsint[]|null|\Onslip360\Nil
$messagestring|null
$namestring|null
$recipients\Onslip360\API\Partial_DMCampaignRecipient[]|null|\Onslip360\Nil
$senderstring|null|\Onslip360\Nil
$status\Onslip360\API\DMCampaign\Status|null|\Onslip360\Nil
$tagsstring[]|null|\Onslip360\Nil
$triggerEventint|null|\Onslip360\Nil
$type\Onslip360\API\DMCampaign\Type|null
$userint|null|\Onslip360\Nil

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