ProductCertificateWithPacResponse extends CommonCertificate
Defines the common properties of a certificate
Table of Contents
- STATUS_FINALIZED = 1
- finalized
- STATUS_ONGOING = 0
- ongoing
- $certificateCode : int|null
- Certificate's code
- $certificateIndex : int|null
- Certificate's index
- $description : string|null
- The certificate description
- $devKit : bool|null
- DevKit Flag
- $encryptionPayload : bool|null
- true if the payload will be encrypted
- $externalId : string|null
- External Id of the certificate
- $id : string|null
- The certificate's identifier
- $inputSensitivity : int|null
- Input sensitivity
- $key : string|null
- The certificate's key
- $manufacturer : MinGroup|null
- $modes : array<string|int, mixed>|null
- List of modes of the certificate [1=DOWNLINK, 2=MONARCH]
- $name : string|null
- The certificate's name
- $qualificationTime : int|null
- Date of qualification (in milliseconds since the Unix Epoch)
- $reportNumber : string|null
- Report number
- $standardCfgs : array<string|int, mixed>|null
- $standards : array<string|int, mixed>|null
- $status : int|null
- The certificate's status code
- $version : string|null
- The certificate's version
- from() : static
- Initializing a model from an array
- getCertificateCode() : int
- Getter for certificateCode
- getCertificateIndex() : int
- Getter for certificateIndex
- getDescription() : string
- Getter for description
- getDevKit() : bool
- Getter for devKit
- getEncryptionPayload() : bool
- Getter for encryptionPayload
- getExternalId() : string
- Getter for externalId
- getId() : string
- Getter for id
- getInputSensitivity() : int
- Getter for inputSensitivity
- getKey() : string
- Getter for key
- getManufacturer() : MinGroup
- Getter for manufacturer
- getModes() : array<string|int, int>
- Getter for modes
- getName() : string
- Getter for name
- getQualificationTime() : int
- Getter for qualificationTime
- getReportNumber() : string
- Getter for reportNumber
- getStandardCfgs() : array<string|int, ProductCertificateRadioConfiguration>
- Getter for standardCfgs
- getStandards() : array<string|int, RadioConfiguration>
- Getter for standards
- getStatus() : int
- Getter for status
- getVersion() : string
- Getter for version
- jsonSerialize() : array<string|int, mixed>
- setCertificateCode() : static
- Setter for certificateCode
- setCertificateIndex() : static
- Setter for certificateIndex
- setDescription() : static
- Setter for description
- setDevKit() : static
- Setter for devKit
- setEncryptionPayload() : static
- Setter for encryptionPayload
- setExternalId() : static
- Setter for externalId
- setId() : static
- Setter for id
- setInputSensitivity() : static
- Setter for inputSensitivity
- setKey() : static
- Setter for key
- setManufacturer() : static
- Setter for manufacturer
- setModes() : static
- Setter for modes
- setName() : static
- Setter for name
- setQualificationTime() : static
- Setter for qualificationTime
- setReportNumber() : static
- Setter for reportNumber
- setStandardCfgs() : static
- Setter for standardCfgs
- setStandards() : static
- Setter for standards
- setStatus() : static
- Setter for status
- setVersion() : static
- Setter for version
Constants
STATUS_FINALIZED
finalized
public
mixed
STATUS_FINALIZED
= 1
STATUS_ONGOING
ongoing
public
mixed
STATUS_ONGOING
= 0
Properties
$certificateCode
Certificate's code
protected
int|null
$certificateCode
= null
$certificateIndex
Certificate's index
protected
int|null
$certificateIndex
= null
$description
The certificate description
protected
string|null
$description
= null
$devKit
DevKit Flag
protected
bool|null
$devKit
= null
$encryptionPayload
true if the payload will be encrypted
protected
bool|null
$encryptionPayload
= null
$externalId
External Id of the certificate
protected
string|null
$externalId
= null
$id
The certificate's identifier
protected
string|null
$id
= null
$inputSensitivity
Input sensitivity
protected
int|null
$inputSensitivity
= null
$key
The certificate's key
protected
string|null
$key
= null
$manufacturer
protected
MinGroup|null
$manufacturer
= null
$modes
List of modes of the certificate [1=DOWNLINK, 2=MONARCH]
protected
array<string|int, mixed>|null
$modes
= null
$name
The certificate's name
protected
string|null
$name
= null
$qualificationTime
Date of qualification (in milliseconds since the Unix Epoch)
protected
int|null
$qualificationTime
= null
$reportNumber
Report number
protected
string|null
$reportNumber
= null
$standardCfgs
protected
array<string|int, mixed>|null
$standardCfgs
= null
$standards
protected
array<string|int, mixed>|null
$standards
= null
$status
The certificate's status code
protected
int|null
$status
= null
$version
The certificate's version
protected
string|null
$version
= null
Methods
from()
Initializing a model from an array
public
static from(array<string|int, mixed> $params) : static
Parameters
- $params : array<string|int, mixed>
-
Pass this parameter if you want to initial property value from an array. See API reference for all property names and types
Tags
Return values
static —getCertificateCode()
Getter for certificateCode
public
getCertificateCode() : int
Return values
int —Certificate's code
getCertificateIndex()
Getter for certificateIndex
public
getCertificateIndex() : int
Return values
int —Certificate's index
getDescription()
Getter for description
public
getDescription() : string
Return values
string —The certificate description
getDevKit()
Getter for devKit
public
getDevKit() : bool
Return values
bool —DevKit Flag
getEncryptionPayload()
Getter for encryptionPayload
public
getEncryptionPayload() : bool
Return values
bool —true if the payload will be encrypted
getExternalId()
Getter for externalId
public
getExternalId() : string
Return values
string —External Id of the certificate
getId()
Getter for id
public
getId() : string
Return values
string —The certificate's identifier
getInputSensitivity()
Getter for inputSensitivity
public
getInputSensitivity() : int
Return values
int —Input sensitivity
getKey()
Getter for key
public
getKey() : string
Return values
string —The certificate's key
getManufacturer()
Getter for manufacturer
public
getManufacturer() : MinGroup
Return values
MinGroup —getModes()
Getter for modes
public
getModes() : array<string|int, int>
Return values
array<string|int, int> —List of modes of the certificate [1=DOWNLINK, 2=MONARCH]
getName()
Getter for name
public
getName() : string
Return values
string —The certificate's name
getQualificationTime()
Getter for qualificationTime
public
getQualificationTime() : int
Return values
int —Date of qualification (in milliseconds since the Unix Epoch)
getReportNumber()
Getter for reportNumber
public
getReportNumber() : string
Return values
string —Report number
getStandardCfgs()
Getter for standardCfgs
public
getStandardCfgs() : array<string|int, ProductCertificateRadioConfiguration>
Return values
array<string|int, ProductCertificateRadioConfiguration> —getStandards()
Getter for standards
public
getStandards() : array<string|int, RadioConfiguration>
Return values
array<string|int, RadioConfiguration> —getStatus()
Getter for status
public
getStatus() : int
Return values
int —The certificate's status code
getVersion()
Getter for version
public
getVersion() : string
Return values
string —The certificate's version
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —setCertificateCode()
Setter for certificateCode
public
setCertificateCode(int $certificateCode) : static
Parameters
- $certificateCode : int
-
Certificate's code
Return values
static —To use in method chains
setCertificateIndex()
Setter for certificateIndex
public
setCertificateIndex(int $certificateIndex) : static
Parameters
- $certificateIndex : int
-
Certificate's index
Return values
static —To use in method chains
setDescription()
Setter for description
public
setDescription(string $description) : static
Parameters
- $description : string
-
The certificate description
Return values
static —To use in method chains
setDevKit()
Setter for devKit
public
setDevKit(bool $devKit) : static
Parameters
- $devKit : bool
-
DevKit Flag
Return values
static —To use in method chains
setEncryptionPayload()
Setter for encryptionPayload
public
setEncryptionPayload(bool $encryptionPayload) : static
Parameters
- $encryptionPayload : bool
-
true if the payload will be encrypted
Return values
static —To use in method chains
setExternalId()
Setter for externalId
public
setExternalId(string $externalId) : static
Parameters
- $externalId : string
-
External Id of the certificate
Return values
static —To use in method chains
setId()
Setter for id
public
setId(string $id) : static
Parameters
- $id : string
-
The certificate's identifier
Return values
static —To use in method chains
setInputSensitivity()
Setter for inputSensitivity
public
setInputSensitivity(int $inputSensitivity) : static
Parameters
- $inputSensitivity : int
-
Input sensitivity
Return values
static —To use in method chains
setKey()
Setter for key
public
setKey(string $key) : static
Parameters
- $key : string
-
The certificate's key
Return values
static —To use in method chains
setManufacturer()
Setter for manufacturer
public
setManufacturer(MinGroup $manufacturer) : static
Parameters
- $manufacturer : MinGroup
Return values
static —To use in method chains
setModes()
Setter for modes
public
setModes(array<string|int, int> $modes) : static
Parameters
- $modes : array<string|int, int>
-
List of modes of the certificate [1=DOWNLINK, 2=MONARCH]
Return values
static —To use in method chains
setName()
Setter for name
public
setName(string $name) : static
Parameters
- $name : string
-
The certificate's name
Return values
static —To use in method chains
setQualificationTime()
Setter for qualificationTime
public
setQualificationTime(int $qualificationTime) : static
Parameters
- $qualificationTime : int
-
Date of qualification (in milliseconds since the Unix Epoch)
Return values
static —To use in method chains
setReportNumber()
Setter for reportNumber
public
setReportNumber(string $reportNumber) : static
Parameters
- $reportNumber : string
-
Report number
Return values
static —To use in method chains
setStandardCfgs()
Setter for standardCfgs
public
setStandardCfgs(array<string|int, ProductCertificateRadioConfiguration> $standardCfgs) : static
Parameters
- $standardCfgs : array<string|int, ProductCertificateRadioConfiguration>
Return values
static —To use in method chains
setStandards()
Setter for standards
public
setStandards(array<string|int, RadioConfiguration> $standards) : static
Parameters
- $standards : array<string|int, RadioConfiguration>
Return values
static —To use in method chains
setStatus()
Setter for status
public
setStatus(int $status) : static
Parameters
- $status : int
-
The certificate's status code
Return values
static —To use in method chains
setVersion()
Setter for version
public
setVersion(string $version) : static
Parameters
- $version : string
-
The certificate's version
Return values
static —To use in method chains