DevicePreviewFeedbackDto
in package
implements
ModelInterface, ArrayAccess, JsonSerializable
DevicePreviewFeedbackDto Class Doc Comment
Tags
Interfaces, Classes, Traits and Enums
- ModelInterface
- Interface abstracting model access.
- ArrayAccess
- JsonSerializable
Table of Contents
- CATEGORY_BUG_REPORT = 'BUG_REPORT'
- CATEGORY_FEATURE_REQUEST = 'FEATURE_REQUEST'
- CATEGORY_GENERAL = 'GENERAL'
- CATEGORY_NOTE = 'NOTE'
- CATEGORY_PROVIDER_ISSUE = 'PROVIDER_ISSUE'
- CATEGORY_RUN_QUALITY = 'RUN_QUALITY'
- CATEGORY_SCREENSHOT_QUALITY = 'SCREENSHOT_QUALITY'
- DISCRIMINATOR = null
- PROVIDER_GMAIL = 'GMAIL'
- PROVIDER_OUTLOOK = 'OUTLOOK'
- PROVIDER_YAHOO = 'YAHOO'
- SOURCE_API_SERVICE = 'API_SERVICE'
- SOURCE_END_USER = 'END_USER'
- SOURCE_LAB_USER = 'LAB_USER'
- SOURCE_SYSTEM = 'SYSTEM'
- STATUS_ACKNOWLEDGED = 'ACKNOWLEDGED'
- STATUS_DISMISSED = 'DISMISSED'
- STATUS_OPEN = 'OPEN'
- STATUS_RESOLVED = 'RESOLVED'
- $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
- getCategory() : string
- Gets category
- getCategoryAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getComment() : string|null
- Gets comment
- getCreatedAt() : DateTime|null
- Gets created_at
- getFeedbackId() : string
- Gets feedback_id
- getInternalNote() : string|null
- Gets internal_note
- getLiveViewUrl() : string|null
- Gets live_view_url
- getMetadata() : array<string, string>|null
- Gets metadata
- getModelName() : string
- The original name of the model.
- getProvider() : string|null
- Gets provider
- getProviderAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getRating() : int|null
- Gets rating
- getRunId() : string|null
- Gets run_id
- getScreenshotId() : string|null
- Gets screenshot_id
- getSessionId() : string|null
- Gets session_id
- getSource() : string
- Gets source
- getSourceAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getStatus() : string
- Gets status
- getStatusAllowableValues() : array<string|int, string>
- Gets allowable values of the enum
- getTargetId() : string|null
- Gets target_id
- getters() : array<string|int, mixed>
- Array of attributes to getter functions (for serialization of requests)
- getTitle() : string|null
- Gets title
- getUpdatedAt() : DateTime|null
- 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
- setCategory() : self
- Sets category
- setComment() : self
- Sets comment
- setCreatedAt() : self
- Sets created_at
- setFeedbackId() : self
- Sets feedback_id
- setInternalNote() : self
- Sets internal_note
- setLiveViewUrl() : self
- Sets live_view_url
- setMetadata() : self
- Sets metadata
- setProvider() : self
- Sets provider
- setRating() : self
- Sets rating
- setRunId() : self
- Sets run_id
- setScreenshotId() : self
- Sets screenshot_id
- setSessionId() : self
- Sets session_id
- setSource() : self
- Sets source
- setStatus() : self
- Sets status
- setTargetId() : self
- Sets target_id
- setters() : array<string|int, mixed>
- Array of attributes to setter functions (for deserialization of responses)
- setTitle() : self
- Sets title
- 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
CATEGORY_BUG_REPORT
public
mixed
CATEGORY_BUG_REPORT
= 'BUG_REPORT'
CATEGORY_FEATURE_REQUEST
public
mixed
CATEGORY_FEATURE_REQUEST
= 'FEATURE_REQUEST'
CATEGORY_GENERAL
public
mixed
CATEGORY_GENERAL
= 'GENERAL'
CATEGORY_NOTE
public
mixed
CATEGORY_NOTE
= 'NOTE'
CATEGORY_PROVIDER_ISSUE
public
mixed
CATEGORY_PROVIDER_ISSUE
= 'PROVIDER_ISSUE'
CATEGORY_RUN_QUALITY
public
mixed
CATEGORY_RUN_QUALITY
= 'RUN_QUALITY'
CATEGORY_SCREENSHOT_QUALITY
public
mixed
CATEGORY_SCREENSHOT_QUALITY
= 'SCREENSHOT_QUALITY'
DISCRIMINATOR
public
mixed
DISCRIMINATOR
= null
PROVIDER_GMAIL
public
mixed
PROVIDER_GMAIL
= 'GMAIL'
PROVIDER_OUTLOOK
public
mixed
PROVIDER_OUTLOOK
= 'OUTLOOK'
PROVIDER_YAHOO
public
mixed
PROVIDER_YAHOO
= 'YAHOO'
SOURCE_API_SERVICE
public
mixed
SOURCE_API_SERVICE
= 'API_SERVICE'
SOURCE_END_USER
public
mixed
SOURCE_END_USER
= 'END_USER'
SOURCE_LAB_USER
public
mixed
SOURCE_LAB_USER
= 'LAB_USER'
SOURCE_SYSTEM
public
mixed
SOURCE_SYSTEM
= 'SYSTEM'
STATUS_ACKNOWLEDGED
public
mixed
STATUS_ACKNOWLEDGED
= 'ACKNOWLEDGED'
STATUS_DISMISSED
public
mixed
STATUS_DISMISSED
= 'DISMISSED'
STATUS_OPEN
public
mixed
STATUS_OPEN
= 'OPEN'
STATUS_RESOLVED
public
mixed
STATUS_RESOLVED
= 'RESOLVED'
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
= ['feedback_id' => 'feedbackId', 'user_id' => 'userId', 'source' => 'source', 'category' => 'category', 'status' => 'status', 'rating' => 'rating', 'run_id' => 'runId', 'target_id' => 'targetId', 'screenshot_id' => 'screenshotId', 'provider' => 'provider', 'title' => 'title', 'comment' => 'comment', 'internal_note' => 'internalNote', 'session_id' => 'sessionId', 'live_view_url' => 'liveViewUrl', 'metadata' => 'metadata', '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
= ['feedback_id' => 'getFeedbackId', 'user_id' => 'getUserId', 'source' => 'getSource', 'category' => 'getCategory', 'status' => 'getStatus', 'rating' => 'getRating', 'run_id' => 'getRunId', 'target_id' => 'getTargetId', 'screenshot_id' => 'getScreenshotId', 'provider' => 'getProvider', 'title' => 'getTitle', 'comment' => 'getComment', 'internal_note' => 'getInternalNote', 'session_id' => 'getSessionId', 'live_view_url' => 'getLiveViewUrl', 'metadata' => 'getMetadata', 'created_at' => 'getCreatedAt', 'updated_at' => 'getUpdatedAt']
$openAPIFormats
Array of property to format mappings. Used for (de)serialization
protected
static array<string|int, string>
$openAPIFormats
= ['feedback_id' => 'uuid', 'user_id' => 'uuid', 'source' => null, 'category' => null, 'status' => null, 'rating' => 'int32', 'run_id' => 'uuid', 'target_id' => 'uuid', 'screenshot_id' => 'uuid', 'provider' => null, 'title' => null, 'comment' => null, 'internal_note' => null, 'session_id' => null, 'live_view_url' => null, 'metadata' => null, 'created_at' => 'date-time', 'updated_at' => 'date-time']
Tags
$openAPIModelName
The original name of the model.
protected
static string
$openAPIModelName
= 'DevicePreviewFeedbackDto'
$openAPINullables
Array of nullable properties. Used for (de)serialization
protected
static array<string|int, mixed>
$openAPINullables
= ['feedback_id' => false, 'user_id' => false, 'source' => false, 'category' => false, 'status' => false, 'rating' => true, 'run_id' => true, 'target_id' => true, 'screenshot_id' => true, 'provider' => true, 'title' => true, 'comment' => true, 'internal_note' => true, 'session_id' => true, 'live_view_url' => true, 'metadata' => true, 'created_at' => true, 'updated_at' => true]
$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
= ['feedback_id' => 'string', 'user_id' => 'string', 'source' => 'string', 'category' => 'string', 'status' => 'string', 'rating' => 'int', 'run_id' => 'string', 'target_id' => 'string', 'screenshot_id' => 'string', 'provider' => 'string', 'title' => 'string', 'comment' => 'string', 'internal_note' => 'string', 'session_id' => 'string', 'live_view_url' => 'string', 'metadata' => 'array<string,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
= ['feedback_id' => 'setFeedbackId', 'user_id' => 'setUserId', 'source' => 'setSource', 'category' => 'setCategory', 'status' => 'setStatus', 'rating' => 'setRating', 'run_id' => 'setRunId', 'target_id' => 'setTargetId', 'screenshot_id' => 'setScreenshotId', 'provider' => 'setProvider', 'title' => 'setTitle', 'comment' => 'setComment', 'internal_note' => 'setInternalNote', 'session_id' => 'setSessionId', 'live_view_url' => 'setLiveViewUrl', 'metadata' => 'setMetadata', '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> —getCategory()
Gets category
public
getCategory() : string
Return values
string —getCategoryAllowableValues()
Gets allowable values of the enum
public
getCategoryAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getComment()
Gets comment
public
getComment() : string|null
Return values
string|null —getCreatedAt()
Gets created_at
public
getCreatedAt() : DateTime|null
Return values
DateTime|null —getFeedbackId()
Gets feedback_id
public
getFeedbackId() : string
Return values
string —getInternalNote()
Gets internal_note
public
getInternalNote() : string|null
Return values
string|null —getLiveViewUrl()
Gets live_view_url
public
getLiveViewUrl() : string|null
Return values
string|null —getMetadata()
Gets metadata
public
getMetadata() : array<string, string>|null
Return values
array<string, string>|null —getModelName()
The original name of the model.
public
getModelName() : string
Return values
string —getProvider()
Gets provider
public
getProvider() : string|null
Return values
string|null —getProviderAllowableValues()
Gets allowable values of the enum
public
getProviderAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —getRating()
Gets rating
public
getRating() : int|null
Return values
int|null —getRunId()
Gets run_id
public
getRunId() : string|null
Return values
string|null —getScreenshotId()
Gets screenshot_id
public
getScreenshotId() : string|null
Return values
string|null —getSessionId()
Gets session_id
public
getSessionId() : string|null
Return values
string|null —getSource()
Gets source
public
getSource() : string
Return values
string —getSourceAllowableValues()
Gets allowable values of the enum
public
getSourceAllowableValues() : array<string|int, string>
Return values
array<string|int, string> —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> —getTargetId()
Gets target_id
public
getTargetId() : string|null
Return values
string|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> —getTitle()
Gets title
public
getTitle() : string|null
Return values
string|null —getUpdatedAt()
Gets updated_at
public
getUpdatedAt() : DateTime|null
Return values
DateTime|null —getUserId()
Gets user_id
public
getUserId() : string
Return values
string —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> —setCategory()
Sets category
public
setCategory(string $category) : self
Parameters
- $category : string
-
category
Return values
self —setComment()
Sets comment
public
setComment(string|null $comment) : self
Parameters
- $comment : string|null
-
comment
Return values
self —setCreatedAt()
Sets created_at
public
setCreatedAt(DateTime|null $created_at) : self
Parameters
- $created_at : DateTime|null
-
created_at
Return values
self —setFeedbackId()
Sets feedback_id
public
setFeedbackId(string $feedback_id) : self
Parameters
- $feedback_id : string
-
feedback_id
Return values
self —setInternalNote()
Sets internal_note
public
setInternalNote(string|null $internal_note) : self
Parameters
- $internal_note : string|null
-
internal_note
Return values
self —setLiveViewUrl()
Sets live_view_url
public
setLiveViewUrl(string|null $live_view_url) : self
Parameters
- $live_view_url : string|null
-
live_view_url
Return values
self —setMetadata()
Sets metadata
public
setMetadata(array<string, string>|null $metadata) : self
Parameters
- $metadata : array<string, string>|null
-
metadata
Return values
self —setProvider()
Sets provider
public
setProvider(string|null $provider) : self
Parameters
- $provider : string|null
-
provider
Return values
self —setRating()
Sets rating
public
setRating(int|null $rating) : self
Parameters
- $rating : int|null
-
rating
Return values
self —setRunId()
Sets run_id
public
setRunId(string|null $run_id) : self
Parameters
- $run_id : string|null
-
run_id
Return values
self —setScreenshotId()
Sets screenshot_id
public
setScreenshotId(string|null $screenshot_id) : self
Parameters
- $screenshot_id : string|null
-
screenshot_id
Return values
self —setSessionId()
Sets session_id
public
setSessionId(string|null $session_id) : self
Parameters
- $session_id : string|null
-
session_id
Return values
self —setSource()
Sets source
public
setSource(string $source) : self
Parameters
- $source : string
-
source
Return values
self —setStatus()
Sets status
public
setStatus(string $status) : self
Parameters
- $status : string
-
status
Return values
self —setTargetId()
Sets target_id
public
setTargetId(string|null $target_id) : self
Parameters
- $target_id : string|null
-
target_id
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> —setTitle()
Sets title
public
setTitle(string|null $title) : self
Parameters
- $title : string|null
-
title
Return values
self —setUpdatedAt()
Sets updated_at
public
setUpdatedAt(DateTime|null $updated_at) : self
Parameters
- $updated_at : DateTime|null
-
updated_at
Return values
self —setUserId()
Sets user_id
public
setUserId(string $user_id) : self
Parameters
- $user_id : string
-
user_id
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>