Documentation

CampaignProbeInsightsDtoLatestRun
in package
implements ModelInterface, ArrayAccess, JsonSerializable

CampaignProbeInsightsDtoLatestRun Class Doc Comment

Tags
category

Class

author

OpenAPI Generator team

link
https://openapi-generator.tech
implements

\ArrayAccess<string, mixed>

Interfaces, Classes, Traits and Enums

ModelInterface
Interface abstracting model access.
ArrayAccess
JsonSerializable

Table of Contents

DISCRIMINATOR  = null
SOURCE_CRON  = 'CRON'
SOURCE_DIRECT_API  = 'DIRECT_API'
SOURCE_SCHEDULER  = 'SCHEDULER'
SOURCE_SES_MONITOR  = 'SES_MONITOR'
SOURCE_USER_SCHEDULE  = 'USER_SCHEDULE'
STATUS_FAILED  = 'FAILED'
STATUS_HEALTHY  = 'HEALTHY'
STATUS_WARNING  = 'WARNING'
$attributeMap  : array<string|int, string>
Array of attributes where the key is the local name, and the value is the original name
$container  : array<string|int, mixed>
Associative array for storing property values
$getters  : array<string|int, string>
Array of attributes to getter functions (for serialization of requests)
$openAPIFormats  : array<string|int, string>
Array of property to format mappings. Used for (de)serialization
$openAPIModelName  : string
The original name of the model.
$openAPINullables  : array<string|int, mixed>
Array of nullable properties. Used for (de)serialization
$openAPINullablesSetToNull  : array<string|int, mixed>
If a nullable field gets set to null, insert it here
$openAPITypes  : array<string|int, string>
Array of property to type mappings. Used for (de)serialization
$setters  : array<string|int, string>
Array of attributes to setter functions (for deserialization of responses)
__construct()  : mixed
Constructor
__toString()  : string
Gets the string presentation of the object
attributeMap()  : array<string|int, mixed>
Array of attributes where the key is the local name, and the value is the original name
getAttachmentMentionIssueCount()  : int
Gets attachment_mention_issue_count
getCheckedImages()  : int
Gets checked_images
getCheckedLinks()  : int
Gets checked_links
getCompatibilityNotSupportedCount()  : int
Gets compatibility_not_supported_count
getCompatibilityUnknownCount()  : int
Gets compatibility_unknown_count
getCompatibilityWarningCount()  : int
Gets compatibility_warning_count
getCreatedAt()  : DateTime
Gets created_at
getErrorMessage()  : string|null
Gets error_message
getFailingChecks()  : int
Gets failing_checks
getFromAddress()  : string|null
Gets from_address
getHealthScore()  : int
Gets health_score
getHtmlErrorCount()  : int
Gets html_error_count
getHtmlInfoCount()  : int
Gets html_info_count
getHtmlWarningCount()  : int
Gets html_warning_count
getId()  : string
Gets id
getImageIssueCount()  : int
Gets image_issue_count
getInsights()  : array<string|int, string>
Gets insights
getLinkIssueCount()  : int
Gets link_issue_count
getMessageId()  : string|null
Gets message_id
getModelName()  : string
The original name of the model.
getPassingChecks()  : int
Gets passing_checks
getProbeId()  : string
Gets probe_id
getProcessingMs()  : int|null
Gets processing_ms
getRecipient()  : string|null
Gets recipient
getReputationFailureCount()  : int
Gets reputation_failure_count
getSource()  : string
Gets source
getSourceAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getSourceMessageId()  : string|null
Gets source_message_id
getStatus()  : string
Gets status
getStatusAllowableValues()  : array<string|int, string>
Gets allowable values of the enum
getSubject()  : string|null
Gets subject
getters()  : array<string|int, mixed>
Array of attributes to getter functions (for serialization of requests)
getTotalChecks()  : int
Gets total_checks
getUpdatedAt()  : DateTime
Gets updated_at
getUserId()  : string
Gets user_id
isNullable()  : bool
Checks if a property is nullable
isNullableSetToNull()  : bool
Checks if a nullable property is set to null.
jsonSerialize()  : mixed
Serializes the object to a value that can be serialized natively by json_encode().
listInvalidProperties()  : array<string|int, mixed>
Show all the invalid properties with reasons.
offsetExists()  : bool
Returns true if offset exists. False otherwise.
offsetGet()  : mixed|null
Gets offset.
offsetSet()  : void
Sets value based on offset.
offsetUnset()  : void
Unsets offset.
openAPIFormats()  : array<string|int, mixed>
Array of property to format mappings. Used for (de)serialization
openAPITypes()  : array<string|int, mixed>
Array of property to type mappings. Used for (de)serialization
setAttachmentMentionIssueCount()  : self
Sets attachment_mention_issue_count
setCheckedImages()  : self
Sets checked_images
setCheckedLinks()  : self
Sets checked_links
setCompatibilityNotSupportedCount()  : self
Sets compatibility_not_supported_count
setCompatibilityUnknownCount()  : self
Sets compatibility_unknown_count
setCompatibilityWarningCount()  : self
Sets compatibility_warning_count
setCreatedAt()  : self
Sets created_at
setErrorMessage()  : self
Sets error_message
setFailingChecks()  : self
Sets failing_checks
setFromAddress()  : self
Sets from_address
setHealthScore()  : self
Sets health_score
setHtmlErrorCount()  : self
Sets html_error_count
setHtmlInfoCount()  : self
Sets html_info_count
setHtmlWarningCount()  : self
Sets html_warning_count
setId()  : self
Sets id
setImageIssueCount()  : self
Sets image_issue_count
setInsights()  : self
Sets insights
setLinkIssueCount()  : self
Sets link_issue_count
setMessageId()  : self
Sets message_id
setPassingChecks()  : self
Sets passing_checks
setProbeId()  : self
Sets probe_id
setProcessingMs()  : self
Sets processing_ms
setRecipient()  : self
Sets recipient
setReputationFailureCount()  : self
Sets reputation_failure_count
setSource()  : self
Sets source
setSourceMessageId()  : self
Sets source_message_id
setStatus()  : self
Sets status
setSubject()  : self
Sets subject
setters()  : array<string|int, mixed>
Array of attributes to setter functions (for deserialization of responses)
setTotalChecks()  : self
Sets total_checks
setUpdatedAt()  : self
Sets updated_at
setUserId()  : self
Sets user_id
toHeaderValue()  : string
Gets a header-safe presentation of the object
valid()  : bool
Validate all the properties in the model return true if all passed
openAPINullables()  : array<string|int, mixed>
Array of nullable properties
getOpenAPINullablesSetToNull()  : array<string|int, bool>
Array of nullable field names deliberately set to null
setIfExists()  : void
Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the $this->openAPINullablesSetToNull array
setOpenAPINullablesSetToNull()  : void
Setter - Array of nullable field names deliberately set to null

Constants

Properties

$attributeMap

Array of attributes where the key is the local name, and the value is the original name

protected static array<string|int, string> $attributeMap = ['id' => 'id', 'probe_id' => 'probeId', 'user_id' => 'userId', 'status' => 'status', 'source' => 'source', 'health_score' => 'healthScore', 'total_checks' => 'totalChecks', 'passing_checks' => 'passingChecks', 'failing_checks' => 'failingChecks', 'checked_links' => 'checkedLinks', 'checked_images' => 'checkedImages', 'link_issue_count' => 'linkIssueCount', 'image_issue_count' => 'imageIssueCount', 'compatibility_warning_count' => 'compatibilityWarningCount', 'compatibility_not_supported_count' => 'compatibilityNotSupportedCount', 'compatibility_unknown_count' => 'compatibilityUnknownCount', 'html_error_count' => 'htmlErrorCount', 'html_warning_count' => 'htmlWarningCount', 'html_info_count' => 'htmlInfoCount', 'reputation_failure_count' => 'reputationFailureCount', 'attachment_mention_issue_count' => 'attachmentMentionIssueCount', 'insights' => 'insights', 'error_message' => 'errorMessage', 'from_address' => 'fromAddress', 'recipient' => 'recipient', 'subject' => 'subject', 'message_id' => 'messageId', 'source_message_id' => 'sourceMessageId', 'processing_ms' => 'processingMs', 'created_at' => 'createdAt', 'updated_at' => 'updatedAt']

$getters

Array of attributes to getter functions (for serialization of requests)

protected static array<string|int, string> $getters = ['id' => 'getId', 'probe_id' => 'getProbeId', 'user_id' => 'getUserId', 'status' => 'getStatus', 'source' => 'getSource', 'health_score' => 'getHealthScore', 'total_checks' => 'getTotalChecks', 'passing_checks' => 'getPassingChecks', 'failing_checks' => 'getFailingChecks', 'checked_links' => 'getCheckedLinks', 'checked_images' => 'getCheckedImages', 'link_issue_count' => 'getLinkIssueCount', 'image_issue_count' => 'getImageIssueCount', 'compatibility_warning_count' => 'getCompatibilityWarningCount', 'compatibility_not_supported_count' => 'getCompatibilityNotSupportedCount', 'compatibility_unknown_count' => 'getCompatibilityUnknownCount', 'html_error_count' => 'getHtmlErrorCount', 'html_warning_count' => 'getHtmlWarningCount', 'html_info_count' => 'getHtmlInfoCount', 'reputation_failure_count' => 'getReputationFailureCount', 'attachment_mention_issue_count' => 'getAttachmentMentionIssueCount', 'insights' => 'getInsights', 'error_message' => 'getErrorMessage', 'from_address' => 'getFromAddress', 'recipient' => 'getRecipient', 'subject' => 'getSubject', 'message_id' => 'getMessageId', 'source_message_id' => 'getSourceMessageId', 'processing_ms' => 'getProcessingMs', 'created_at' => 'getCreatedAt', 'updated_at' => 'getUpdatedAt']

$openAPIFormats

Array of property to format mappings. Used for (de)serialization

protected static array<string|int, string> $openAPIFormats = ['id' => 'uuid', 'probe_id' => 'uuid', 'user_id' => 'uuid', 'status' => null, 'source' => null, 'health_score' => 'int32', 'total_checks' => 'int32', 'passing_checks' => 'int32', 'failing_checks' => 'int32', 'checked_links' => 'int32', 'checked_images' => 'int32', 'link_issue_count' => 'int32', 'image_issue_count' => 'int32', 'compatibility_warning_count' => 'int32', 'compatibility_not_supported_count' => 'int32', 'compatibility_unknown_count' => 'int32', 'html_error_count' => 'int32', 'html_warning_count' => 'int32', 'html_info_count' => 'int32', 'reputation_failure_count' => 'int32', 'attachment_mention_issue_count' => 'int32', 'insights' => null, 'error_message' => null, 'from_address' => null, 'recipient' => null, 'subject' => null, 'message_id' => null, 'source_message_id' => null, 'processing_ms' => 'int64', 'created_at' => 'date-time', 'updated_at' => 'date-time']
Tags
phpstan-var

array<string, string|null>

psalm-var

array<string, string|null>

$openAPINullables

Array of nullable properties. Used for (de)serialization

protected static array<string|int, mixed> $openAPINullables = ['id' => false, 'probe_id' => false, 'user_id' => false, 'status' => false, 'source' => false, 'health_score' => false, 'total_checks' => false, 'passing_checks' => false, 'failing_checks' => false, 'checked_links' => false, 'checked_images' => false, 'link_issue_count' => false, 'image_issue_count' => false, 'compatibility_warning_count' => false, 'compatibility_not_supported_count' => false, 'compatibility_unknown_count' => false, 'html_error_count' => false, 'html_warning_count' => false, 'html_info_count' => false, 'reputation_failure_count' => false, 'attachment_mention_issue_count' => false, 'insights' => false, 'error_message' => true, 'from_address' => true, 'recipient' => true, 'subject' => true, 'message_id' => true, 'source_message_id' => true, 'processing_ms' => true, 'created_at' => false, 'updated_at' => false]

$openAPINullablesSetToNull

If a nullable field gets set to null, insert it here

protected array<string|int, mixed> $openAPINullablesSetToNull = []

$openAPITypes

Array of property to type mappings. Used for (de)serialization

protected static array<string|int, string> $openAPITypes = ['id' => 'string', 'probe_id' => 'string', 'user_id' => 'string', 'status' => 'string', 'source' => 'string', 'health_score' => 'int', 'total_checks' => 'int', 'passing_checks' => 'int', 'failing_checks' => 'int', 'checked_links' => 'int', 'checked_images' => 'int', 'link_issue_count' => 'int', 'image_issue_count' => 'int', 'compatibility_warning_count' => 'int', 'compatibility_not_supported_count' => 'int', 'compatibility_unknown_count' => 'int', 'html_error_count' => 'int', 'html_warning_count' => 'int', 'html_info_count' => 'int', 'reputation_failure_count' => 'int', 'attachment_mention_issue_count' => 'int', 'insights' => 'string[]', 'error_message' => 'string', 'from_address' => 'string', 'recipient' => 'string', 'subject' => 'string', 'message_id' => 'string', 'source_message_id' => 'string', 'processing_ms' => 'int', 'created_at' => '\\DateTime', 'updated_at' => '\\DateTime']

$setters

Array of attributes to setter functions (for deserialization of responses)

protected static array<string|int, string> $setters = ['id' => 'setId', 'probe_id' => 'setProbeId', 'user_id' => 'setUserId', 'status' => 'setStatus', 'source' => 'setSource', 'health_score' => 'setHealthScore', 'total_checks' => 'setTotalChecks', 'passing_checks' => 'setPassingChecks', 'failing_checks' => 'setFailingChecks', 'checked_links' => 'setCheckedLinks', 'checked_images' => 'setCheckedImages', 'link_issue_count' => 'setLinkIssueCount', 'image_issue_count' => 'setImageIssueCount', 'compatibility_warning_count' => 'setCompatibilityWarningCount', 'compatibility_not_supported_count' => 'setCompatibilityNotSupportedCount', 'compatibility_unknown_count' => 'setCompatibilityUnknownCount', 'html_error_count' => 'setHtmlErrorCount', 'html_warning_count' => 'setHtmlWarningCount', 'html_info_count' => 'setHtmlInfoCount', 'reputation_failure_count' => 'setReputationFailureCount', 'attachment_mention_issue_count' => 'setAttachmentMentionIssueCount', 'insights' => 'setInsights', 'error_message' => 'setErrorMessage', 'from_address' => 'setFromAddress', 'recipient' => 'setRecipient', 'subject' => 'setSubject', 'message_id' => 'setMessageId', 'source_message_id' => 'setSourceMessageId', 'processing_ms' => 'setProcessingMs', 'created_at' => 'setCreatedAt', 'updated_at' => 'setUpdatedAt']

Methods

__construct()

Constructor

public __construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
$data : array<string|int, mixed> = null

Associated array of property values initializing the model

Return values
mixed —

attributeMap()

Array of attributes where the key is the local name, and the value is the original name

public static attributeMap() : array<string|int, mixed>
Return values
array<string|int, mixed> —

getCompatibilityNotSupportedCount()

Gets compatibility_not_supported_count

public getCompatibilityNotSupportedCount() : int
Return values
int —

getSourceAllowableValues()

Gets allowable values of the enum

public getSourceAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —

getStatusAllowableValues()

Gets allowable values of the enum

public getStatusAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —

getters()

Array of attributes to getter functions (for serialization of requests)

public static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —

isNullable()

Checks if a property is nullable

public static isNullable(string $property) : bool
Parameters
$property : string
Return values
bool —

isNullableSetToNull()

Checks if a nullable property is set to null.

public isNullableSetToNull(string $property) : bool
Parameters
$property : string
Return values
bool —

listInvalidProperties()

Show all the invalid properties with reasons.

public listInvalidProperties() : array<string|int, mixed>
Return values
array<string|int, mixed> —

invalid properties with reasons

offsetExists()

Returns true if offset exists. False otherwise.

public offsetExists(int $offset) : bool
Parameters
$offset : int

Offset

Return values
bool —

offsetSet()

Sets value based on offset.

public offsetSet(int|null $offset, mixed $value) : void
Parameters
$offset : int|null

Offset

$value : mixed

Value to be set

Return values
void —

openAPIFormats()

Array of property to format mappings. Used for (de)serialization

public static openAPIFormats() : array<string|int, mixed>
Return values
array<string|int, mixed> —

openAPITypes()

Array of property to type mappings. Used for (de)serialization

public static openAPITypes() : array<string|int, mixed>
Return values
array<string|int, mixed> —

setAttachmentMentionIssueCount()

Sets attachment_mention_issue_count

public setAttachmentMentionIssueCount(int $attachment_mention_issue_count) : self
Parameters
$attachment_mention_issue_count : int

attachment_mention_issue_count

Return values
self —

setCheckedImages()

Sets checked_images

public setCheckedImages(int $checked_images) : self
Parameters
$checked_images : int

checked_images

Return values
self —

Sets checked_links

public setCheckedLinks(int $checked_links) : self
Parameters
$checked_links : int

checked_links

Return values
self —

setCompatibilityNotSupportedCount()

Sets compatibility_not_supported_count

public setCompatibilityNotSupportedCount(int $compatibility_not_supported_count) : self
Parameters
$compatibility_not_supported_count : int

compatibility_not_supported_count

Return values
self —

setCompatibilityUnknownCount()

Sets compatibility_unknown_count

public setCompatibilityUnknownCount(int $compatibility_unknown_count) : self
Parameters
$compatibility_unknown_count : int

compatibility_unknown_count

Return values
self —

setCompatibilityWarningCount()

Sets compatibility_warning_count

public setCompatibilityWarningCount(int $compatibility_warning_count) : self
Parameters
$compatibility_warning_count : int

compatibility_warning_count

Return values
self —

setCreatedAt()

Sets created_at

public setCreatedAt(DateTime $created_at) : self
Parameters
$created_at : DateTime

created_at

Return values
self —

setErrorMessage()

Sets error_message

public setErrorMessage(string|null $error_message) : self
Parameters
$error_message : string|null

error_message

Return values
self —

setFailingChecks()

Sets failing_checks

public setFailingChecks(int $failing_checks) : self
Parameters
$failing_checks : int

failing_checks

Return values
self —

setFromAddress()

Sets from_address

public setFromAddress(string|null $from_address) : self
Parameters
$from_address : string|null

from_address

Return values
self —

setHealthScore()

Sets health_score

public setHealthScore(int $health_score) : self
Parameters
$health_score : int

health_score

Return values
self —

setHtmlErrorCount()

Sets html_error_count

public setHtmlErrorCount(int $html_error_count) : self
Parameters
$html_error_count : int

html_error_count

Return values
self —

setHtmlInfoCount()

Sets html_info_count

public setHtmlInfoCount(int $html_info_count) : self
Parameters
$html_info_count : int

html_info_count

Return values
self —

setHtmlWarningCount()

Sets html_warning_count

public setHtmlWarningCount(int $html_warning_count) : self
Parameters
$html_warning_count : int

html_warning_count

Return values
self —

setImageIssueCount()

Sets image_issue_count

public setImageIssueCount(int $image_issue_count) : self
Parameters
$image_issue_count : int

image_issue_count

Return values
self —

setInsights()

Sets insights

public setInsights(array<string|int, string> $insights) : self
Parameters
$insights : array<string|int, string>

insights

Return values
self —

setLinkIssueCount()

Sets link_issue_count

public setLinkIssueCount(int $link_issue_count) : self
Parameters
$link_issue_count : int

link_issue_count

Return values
self —

setMessageId()

Sets message_id

public setMessageId(string|null $message_id) : self
Parameters
$message_id : string|null

message_id

Return values
self —

setPassingChecks()

Sets passing_checks

public setPassingChecks(int $passing_checks) : self
Parameters
$passing_checks : int

passing_checks

Return values
self —

setProcessingMs()

Sets processing_ms

public setProcessingMs(int|null $processing_ms) : self
Parameters
$processing_ms : int|null

processing_ms

Return values
self —

setRecipient()

Sets recipient

public setRecipient(string|null $recipient) : self
Parameters
$recipient : string|null

recipient

Return values
self —

setReputationFailureCount()

Sets reputation_failure_count

public setReputationFailureCount(int $reputation_failure_count) : self
Parameters
$reputation_failure_count : int

reputation_failure_count

Return values
self —

setSourceMessageId()

Sets source_message_id

public setSourceMessageId(string|null $source_message_id) : self
Parameters
$source_message_id : string|null

source_message_id

Return values
self —

setSubject()

Sets subject

public setSubject(string|null $subject) : self
Parameters
$subject : string|null

subject

Return values
self —

setters()

Array of attributes to setter functions (for deserialization of responses)

public static setters() : array<string|int, mixed>
Return values
array<string|int, mixed> —

setTotalChecks()

Sets total_checks

public setTotalChecks(int $total_checks) : self
Parameters
$total_checks : int

total_checks

Return values
self —

setUpdatedAt()

Sets updated_at

public setUpdatedAt(DateTime $updated_at) : self
Parameters
$updated_at : DateTime

updated_at

Return values
self —

valid()

Validate all the properties in the model return true if all passed

public valid() : bool
Return values
bool —

True if all properties are valid

openAPINullables()

Array of nullable properties

protected static openAPINullables() : array<string|int, mixed>
Return values
array<string|int, mixed> —

getOpenAPINullablesSetToNull()

Array of nullable field names deliberately set to null

private getOpenAPINullablesSetToNull() : array<string|int, bool>
Return values
array<string|int, bool> —

setIfExists()

Sets $this->container[$variableName] to the given data or to the given default Value; if $variableName is nullable and its value is set to null in the $fields array, then mark it as "set to null" in the $this->openAPINullablesSetToNull array

private setIfExists(string $variableName, array<string|int, mixed> $fields, mixed $defaultValue) : void
Parameters
$variableName : string
$fields : array<string|int, mixed>
$defaultValue : mixed
Return values
void —

setOpenAPINullablesSetToNull()

Setter - Array of nullable field names deliberately set to null

private setOpenAPINullablesSetToNull(array<string|int, bool> $openAPINullablesSetToNull) : void
Parameters
$openAPINullablesSetToNull : array<string|int, bool>
Return values
void —

Search results