Source of file MatchResult.php
Size: 3,262 Bytes - Last Modified: 2021-12-23T10:46:09+00:00
/var/www/docs.ssmods.com/process/src/code/SForce/MatchResult.php
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 | <?php namespace SForce\Wsdl; class MatchResult { /** * @var string */ protected $entityType = null; /** * @var Error[] */ protected $errors = null; /** * @var string */ protected $matchEngine = null; /** * @var MatchRecord[] */ protected $matchRecords = null; /** * @var string */ protected $rule = null; /** * @var int */ protected $size = null; /** * @var boolean */ protected $success = null; /** * @param string $entityType * @param string $matchEngine * @param string $rule * @param int $size * @param boolean $success */ public function __construct($entityType = null, $matchEngine = null, $rule = null, $size = null, $success = null) { $this->entityType = $entityType; $this->matchEngine = $matchEngine; $this->rule = $rule; $this->size = $size; $this->success = $success; } /** * @return string */ public function getEntityType() { return $this->entityType; } /** * @param string $entityType * @return \SForce\Wsdl\MatchResult */ public function setEntityType($entityType) { $this->entityType = $entityType; return $this; } /** * @return Error[] */ public function getErrors() { return $this->errors; } /** * @param Error[] $errors * @return \SForce\Wsdl\MatchResult */ public function setErrors(array $errors = null) { $this->errors = $errors; return $this; } /** * @return string */ public function getMatchEngine() { return $this->matchEngine; } /** * @param string $matchEngine * @return \SForce\Wsdl\MatchResult */ public function setMatchEngine($matchEngine) { $this->matchEngine = $matchEngine; return $this; } /** * @return MatchRecord[] */ public function getMatchRecords() { return $this->matchRecords; } /** * @param MatchRecord[] $matchRecords * @return \SForce\Wsdl\MatchResult */ public function setMatchRecords(array $matchRecords = null) { $this->matchRecords = $matchRecords; return $this; } /** * @return string */ public function getRule() { return $this->rule; } /** * @param string $rule * @return \SForce\Wsdl\MatchResult */ public function setRule($rule) { $this->rule = $rule; return $this; } /** * @return int */ public function getSize() { return $this->size; } /** * @param int $size * @return \SForce\Wsdl\MatchResult */ public function setSize($size) { $this->size = $size; return $this; } /** * @return boolean */ public function getSuccess() { return $this->success; } /** * @param boolean $success * @return \SForce\Wsdl\MatchResult */ public function setSuccess($success) { $this->success = $success; return $this; } } |