DeliverabilityTestDto
in package
implements
ModelInterface, ArrayAccess, JsonSerializable
DeliverabilityTestDto Class Doc Comment
Tags
Interfaces, Classes, Traits and Enums
- ModelInterface
- Interface abstracting model access.
- ArrayAccess
- JsonSerializable
Table of Contents
- DISCRIMINATOR = null
- SCOPE_INBOX = 'INBOX'
- SCOPE_PHONE = 'PHONE'
- STATUS_COMPLETE = 'COMPLETE'
- STATUS_CREATED = 'CREATED'
- STATUS_FAILED = 'FAILED'
- STATUS_PAUSED = 'PAUSED'
- STATUS_RUNNING = 'RUNNING'
- STATUS_SCHEDULED = 'SCHEDULED'
- STATUS_STOPPED = 'STOPPED'
- THRESHOLD_STATUS_FAILING = 'FAILING'
- THRESHOLD_STATUS_NOT_CONFIGURED = 'NOT_CONFIGURED'
- THRESHOLD_STATUS_PASSING = 'PASSING'
- $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
- getCompletedAt() : DateTime|null
- Gets completed_at
- getCompletionPercentage() : float
- Gets completion_percentage
- getCreatedAt() : DateTime
- Gets created_at
- getDescription() : string|null
- Gets description
- getExpectations() : array<string|int, DeliverabilityExpectation>
- Gets expectations
- getFailureReason() : string|null
- Gets failure_reason
- getId() : string
- Gets id
- getLastEvaluatedAt() : DateTime|null
- Gets last_evaluated_at
- getMatchedEntities() : int
- Gets matched_entities
- getMaxDurationSeconds() : int|null
- Gets max_duration_seconds
- getModelName() : string
- The original name of the model.
- getName() : string|null
- Gets name
- getScope() : string
- Gets scope
- getScopeAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getSelectedEntityCount() : int
- Gets selected_entity_count
- getSelector() : DeliverabilitySelectorOptions
- Gets selector
- getStartAt() : DateTime
- Gets start_at
- getStartedAt() : DateTime|null
- Gets started_at
- getStatus() : string
- Gets status
- getStatusAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getSuccessThresholdPercent() : float|null
- Gets success_threshold_percent
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getThresholdMet() : bool|null
- Gets threshold_met
- getThresholdStatus() : string
- Gets threshold_status
- getThresholdStatusAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getTimedOut() : bool
- Gets timed_out
- getTotalEntities() : int
- Gets total_entities
- getUnmatchedEntities() : int
- Gets unmatched_entities
- getUpdatedAt() : DateTime
- Gets updated_at
- 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
- setCompletedAt() : self
- Sets completed_at
- setCompletionPercentage() : self
- Sets completion_percentage
- setCreatedAt() : self
- Sets created_at
- setDescription() : self
- Sets description
- setExpectations() : self
- Sets expectations
- setFailureReason() : self
- Sets failure_reason
- setId() : self
- Sets id
- setLastEvaluatedAt() : self
- Sets last_evaluated_at
- setMatchedEntities() : self
- Sets matched_entities
- setMaxDurationSeconds() : self
- Sets max_duration_seconds
- setName() : self
- Sets name
- setScope() : self
- Sets scope
- setSelectedEntityCount() : self
- Sets selected_entity_count
- setSelector() : self
- Sets selector
- setStartAt() : self
- Sets start_at
- setStartedAt() : self
- Sets started_at
- setStatus() : self
- Sets status
- setSuccessThresholdPercent() : self
- Sets success_threshold_percent
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setThresholdMet() : self
- Sets threshold_met
- setThresholdStatus() : self
- Sets threshold_status
- setTimedOut() : self
- Sets timed_out
- setTotalEntities() : self
- Sets total_entities
- setUnmatchedEntities() : self
- Sets unmatched_entities
- setUpdatedAt() : self
- Sets updated_at
- 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
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
SCOPE_INBOX
public
mixed
SCOPE_INBOX
= 'INBOX'
SCOPE_PHONE
public
mixed
SCOPE_PHONE
= 'PHONE'
STATUS_COMPLETE
public
mixed
STATUS_COMPLETE
= 'COMPLETE'
STATUS_CREATED
public
mixed
STATUS_CREATED
= 'CREATED'
STATUS_FAILED
public
mixed
STATUS_FAILED
= 'FAILED'
STATUS_PAUSED
public
mixed
STATUS_PAUSED
= 'PAUSED'
STATUS_RUNNING
public
mixed
STATUS_RUNNING
= 'RUNNING'
STATUS_SCHEDULED
public
mixed
STATUS_SCHEDULED
= 'SCHEDULED'
STATUS_STOPPED
public
mixed
STATUS_STOPPED
= 'STOPPED'
THRESHOLD_STATUS_FAILING
public
mixed
THRESHOLD_STATUS_FAILING
= 'FAILING'
THRESHOLD_STATUS_NOT_CONFIGURED
public
mixed
THRESHOLD_STATUS_NOT_CONFIGURED
= 'NOT_CONFIGURED'
THRESHOLD_STATUS_PASSING
public
mixed
THRESHOLD_STATUS_PASSING
= 'PASSING'
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', 'name' => 'name', 'description' => 'description', 'scope' => 'scope', 'selector' => 'selector', 'selected_entity_count' => 'selectedEntityCount', 'expectations' => 'expectations', 'status' => 'status', 'start_at' => 'startAt', 'started_at' => 'startedAt', 'completed_at' => 'completedAt', 'max_duration_seconds' => 'maxDurationSeconds', 'success_threshold_percent' => 'successThresholdPercent', 'threshold_status' => 'thresholdStatus', 'threshold_met' => 'thresholdMet', 'last_evaluated_at' => 'lastEvaluatedAt', 'total_entities' => 'totalEntities', 'matched_entities' => 'matchedEntities', 'unmatched_entities' => 'unmatchedEntities', 'completion_percentage' => 'completionPercentage', 'timed_out' => 'timedOut', 'failure_reason' => 'failureReason', 'created_at' => 'createdAt', 'updated_at' => 'updatedAt']
$container
Associative array for storing property values
protected
array<string|int, mixed>
$container
= []
$getters
Array of attributes to getter functions (for serialization of requests)
protected
static array<string|int, string>
$getters
= ['id' => 'getId', 'name' => 'getName', 'description' => 'getDescription', 'scope' => 'getScope', 'selector' => 'getSelector', 'selected_entity_count' => 'getSelectedEntityCount', 'expectations' => 'getExpectations', 'status' => 'getStatus', 'start_at' => 'getStartAt', 'started_at' => 'getStartedAt', 'completed_at' => 'getCompletedAt', 'max_duration_seconds' => 'getMaxDurationSeconds', 'success_threshold_percent' => 'getSuccessThresholdPercent', 'threshold_status' => 'getThresholdStatus', 'threshold_met' => 'getThresholdMet', 'last_evaluated_at' => 'getLastEvaluatedAt', 'total_entities' => 'getTotalEntities', 'matched_entities' => 'getMatchedEntities', 'unmatched_entities' => 'getUnmatchedEntities', 'completion_percentage' => 'getCompletionPercentage', 'timed_out' => 'getTimedOut', 'failure_reason' => 'getFailureReason', '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', 'name' => null, 'description' => null, 'scope' => null, 'selector' => null, 'selected_entity_count' => 'int64', 'expectations' => null, 'status' => null, 'start_at' => 'date-time', 'started_at' => 'date-time', 'completed_at' => 'date-time', 'max_duration_seconds' => 'int64', 'success_threshold_percent' => 'double', 'threshold_status' => null, 'threshold_met' => null, 'last_evaluated_at' => 'date-time', 'total_entities' => 'int64', 'matched_entities' => 'int64', 'unmatched_entities' => 'int64', 'completion_percentage' => 'double', 'timed_out' => null, 'failure_reason' => null, 'created_at' => 'date-time', 'updated_at' => 'date-time']
Tags
$openAPIModelName
The original name of the model.
protected
static string
$openAPIModelName
= 'DeliverabilityTestDto'
$openAPINullables
Array of nullable properties. Used for (de)serialization
protected
static array<string|int, mixed>
$openAPINullables
= ['id' => false, 'name' => true, 'description' => true, 'scope' => false, 'selector' => false, 'selected_entity_count' => false, 'expectations' => false, 'status' => false, 'start_at' => false, 'started_at' => true, 'completed_at' => true, 'max_duration_seconds' => true, 'success_threshold_percent' => true, 'threshold_status' => false, 'threshold_met' => true, 'last_evaluated_at' => true, 'total_entities' => false, 'matched_entities' => false, 'unmatched_entities' => false, 'completion_percentage' => false, 'timed_out' => false, 'failure_reason' => 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', 'name' => 'string', 'description' => 'string', 'scope' => 'string', 'selector' => '\\MailSlurp\\Models\\DeliverabilitySelectorOptions', 'selected_entity_count' => 'int', 'expectations' => '\\MailSlurp\\Models\\DeliverabilityExpectation[]', 'status' => 'string', 'start_at' => '\\DateTime', 'started_at' => '\\DateTime', 'completed_at' => '\\DateTime', 'max_duration_seconds' => 'int', 'success_threshold_percent' => 'float', 'threshold_status' => 'string', 'threshold_met' => 'bool', 'last_evaluated_at' => '\\DateTime', 'total_entities' => 'int', 'matched_entities' => 'int', 'unmatched_entities' => 'int', 'completion_percentage' => 'float', 'timed_out' => 'bool', 'failure_reason' => 'string', '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', 'name' => 'setName', 'description' => 'setDescription', 'scope' => 'setScope', 'selector' => 'setSelector', 'selected_entity_count' => 'setSelectedEntityCount', 'expectations' => 'setExpectations', 'status' => 'setStatus', 'start_at' => 'setStartAt', 'started_at' => 'setStartedAt', 'completed_at' => 'setCompletedAt', 'max_duration_seconds' => 'setMaxDurationSeconds', 'success_threshold_percent' => 'setSuccessThresholdPercent', 'threshold_status' => 'setThresholdStatus', 'threshold_met' => 'setThresholdMet', 'last_evaluated_at' => 'setLastEvaluatedAt', 'total_entities' => 'setTotalEntities', 'matched_entities' => 'setMatchedEntities', 'unmatched_entities' => 'setUnmatchedEntities', 'completion_percentage' => 'setCompletionPercentage', 'timed_out' => 'setTimedOut', 'failure_reason' => 'setFailureReason', '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 —__toString()
Gets the string presentation of the object
public
__toString() : string
Return values
string —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> —getCompletedAt()
Gets completed_at
public
getCompletedAt() : DateTime|null
Return values
DateTime|null —getCompletionPercentage()
Gets completion_percentage
public
getCompletionPercentage() : float
Return values
float —getCreatedAt()
Gets created_at
public
getCreatedAt() : DateTime
Return values
DateTime —getDescription()
Gets description
public
getDescription() : string|null
Return values
string|null —getExpectations()
Gets expectations
public
getExpectations() : array<string|int, DeliverabilityExpectation>
Return values
array<string|int, DeliverabilityExpectation> —getFailureReason()
Gets failure_reason
public
getFailureReason() : string|null
Return values
string|null —getId()
Gets id
public
getId() : string
Return values
string —getLastEvaluatedAt()
Gets last_evaluated_at
public
getLastEvaluatedAt() : DateTime|null
Return values
DateTime|null —getMatchedEntities()
Gets matched_entities
public
getMatchedEntities() : int
Return values
int —getMaxDurationSeconds()
Gets max_duration_seconds
public
getMaxDurationSeconds() : int|null
Return values
int|null —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getName()
Gets name
public
getName() : string|null
Return values
string|null —getScope()
Gets scope
public
getScope() : string
Return values
string —getScopeAllowableValues()
Gets allowable values of the enum
public
getScopeAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getSelectedEntityCount()
Gets selected_entity_count
public
getSelectedEntityCount() : int
Return values
int —getSelector()
Gets selector
public
getSelector() : DeliverabilitySelectorOptions
Return values
DeliverabilitySelectorOptions —getStartAt()
Gets start_at
public
getStartAt() : DateTime
Return values
DateTime —getStartedAt()
Gets started_at
public
getStartedAt() : DateTime|null
Return values
DateTime|null —getStatus()
Gets status
public
getStatus() : string
Return values
string —getStatusAllowableValues()
Gets allowable values of the enum
public
getStatusAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getSuccessThresholdPercent()
Gets success_threshold_percent
public
getSuccessThresholdPercent() : float|null
Return values
float|null —getters()
Array of attributes to getter functions (for serialization of requests)
public
static getters() : array<string|int, mixed>
Return values
array<string|int, mixed> —getThresholdMet()
Gets threshold_met
public
getThresholdMet() : bool|null
Return values
bool|null —getThresholdStatus()
Gets threshold_status
public
getThresholdStatus() : string
Return values
string —getThresholdStatusAllowableValues()
Gets allowable values of the enum
public
getThresholdStatusAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getTimedOut()
Gets timed_out
public
getTimedOut() : bool
Return values
bool —getTotalEntities()
Gets total_entities
public
getTotalEntities() : int
Return values
int —getUnmatchedEntities()
Gets unmatched_entities
public
getUnmatchedEntities() : int
Return values
int —getUpdatedAt()
Gets updated_at
public
getUpdatedAt() : DateTime
Return values
DateTime —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 —jsonSerialize()
Serializes the object to a value that can be serialized natively by json_encode().
public
jsonSerialize() : mixed
Tags
Return values
mixed —Returns data which can be serialized by json_encode(), which is a value of any type other than a resource.
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 —offsetGet()
Gets offset.
public
offsetGet(int $offset) : mixed|null
Parameters
- $offset : int
-
Offset
Return values
mixed|null —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 —offsetUnset()
Unsets offset.
public
offsetUnset(int $offset) : void
Parameters
- $offset : int
-
Offset
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> —setCompletedAt()
Sets completed_at
public
setCompletedAt(DateTime|null $completed_at) : self
Parameters
- $completed_at : DateTime|null
-
completed_at
Return values
self —setCompletionPercentage()
Sets completion_percentage
public
setCompletionPercentage(float $completion_percentage) : self
Parameters
- $completion_percentage : float
-
completion_percentage
Return values
self —setCreatedAt()
Sets created_at
public
setCreatedAt(DateTime $created_at) : self
Parameters
- $created_at : DateTime
-
created_at
Return values
self —setDescription()
Sets description
public
setDescription(string|null $description) : self
Parameters
- $description : string|null
-
description
Return values
self —setExpectations()
Sets expectations
public
setExpectations(array<string|int, DeliverabilityExpectation> $expectations) : self
Parameters
- $expectations : array<string|int, DeliverabilityExpectation>
-
expectations
Return values
self —setFailureReason()
Sets failure_reason
public
setFailureReason(string|null $failure_reason) : self
Parameters
- $failure_reason : string|null
-
failure_reason
Return values
self —setId()
Sets id
public
setId(string $id) : self
Parameters
- $id : string
-
id
Return values
self —setLastEvaluatedAt()
Sets last_evaluated_at
public
setLastEvaluatedAt(DateTime|null $last_evaluated_at) : self
Parameters
- $last_evaluated_at : DateTime|null
-
last_evaluated_at
Return values
self —setMatchedEntities()
Sets matched_entities
public
setMatchedEntities(int $matched_entities) : self
Parameters
- $matched_entities : int
-
matched_entities
Return values
self —setMaxDurationSeconds()
Sets max_duration_seconds
public
setMaxDurationSeconds(int|null $max_duration_seconds) : self
Parameters
- $max_duration_seconds : int|null
-
max_duration_seconds
Return values
self —setName()
Sets name
public
setName(string|null $name) : self
Parameters
- $name : string|null
-
name
Return values
self —setScope()
Sets scope
public
setScope(string $scope) : self
Parameters
- $scope : string
-
scope
Return values
self —setSelectedEntityCount()
Sets selected_entity_count
public
setSelectedEntityCount(int $selected_entity_count) : self
Parameters
- $selected_entity_count : int
-
selected_entity_count
Return values
self —setSelector()
Sets selector
public
setSelector(DeliverabilitySelectorOptions $selector) : self
Parameters
- $selector : DeliverabilitySelectorOptions
-
selector
Return values
self —setStartAt()
Sets start_at
public
setStartAt(DateTime $start_at) : self
Parameters
- $start_at : DateTime
-
start_at
Return values
self —setStartedAt()
Sets started_at
public
setStartedAt(DateTime|null $started_at) : self
Parameters
- $started_at : DateTime|null
-
started_at
Return values
self —setStatus()
Sets status
public
setStatus(string $status) : self
Parameters
- $status : string
-
status
Return values
self —setSuccessThresholdPercent()
Sets success_threshold_percent
public
setSuccessThresholdPercent(float|null $success_threshold_percent) : self
Parameters
- $success_threshold_percent : float|null
-
success_threshold_percent
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> —setThresholdMet()
Sets threshold_met
public
setThresholdMet(bool|null $threshold_met) : self
Parameters
- $threshold_met : bool|null
-
threshold_met
Return values
self —setThresholdStatus()
Sets threshold_status
public
setThresholdStatus(string $threshold_status) : self
Parameters
- $threshold_status : string
-
threshold_status
Return values
self —setTimedOut()
Sets timed_out
public
setTimedOut(bool $timed_out) : self
Parameters
- $timed_out : bool
-
timed_out
Return values
self —setTotalEntities()
Sets total_entities
public
setTotalEntities(int $total_entities) : self
Parameters
- $total_entities : int
-
total_entities
Return values
self —setUnmatchedEntities()
Sets unmatched_entities
public
setUnmatchedEntities(int $unmatched_entities) : self
Parameters
- $unmatched_entities : int
-
unmatched_entities
Return values
self —setUpdatedAt()
Sets updated_at
public
setUpdatedAt(DateTime $updated_at) : self
Parameters
- $updated_at : DateTime
-
updated_at
Return values
self —toHeaderValue()
Gets a header-safe presentation of the object
public
toHeaderValue() : string
Return values
string —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>