DetectionImagesRedLineDetectBatchRequest.php 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. <?php
  2. class DetectionImagesRedLineDetectBatchRequest
  3. {
  4. private $apiParas = array();
  5. public function getApiMethodName(){
  6. return "jingdong.detection.imagesRedLineDetectBatch";
  7. }
  8. public function getApiParas(){
  9. if(empty($this->apiParas)){
  10. return "{}";
  11. }
  12. return $this->apiParas;
  13. }
  14. public function check(){
  15. }
  16. public function putOtherTextParam($key, $value){
  17. $this->apiParas[$key] = $value;
  18. $this->$key = $value;
  19. }
  20. private $version;
  21. public function setVersion($version){
  22. $this->version = $version;
  23. }
  24. public function getVersion(){
  25. return $this->version;
  26. }
  27. private $timeZone;
  28. public function setTimeZone($timeZone){
  29. $this->timeZone = $timeZone;
  30. $this->apiParas["timeZone"] = $timeZone;
  31. }
  32. public function getTimeZone(){
  33. return $this->timeZone;
  34. }
  35. private $key;
  36. public function setKey($key){
  37. $this->key = $key;
  38. $this->apiParas["key"] = $key;
  39. }
  40. public function getKey(){
  41. return $this->key;
  42. }
  43. private $value;
  44. public function setValue($value){
  45. $this->value = $value;
  46. $this->apiParas["value"] = $value;
  47. }
  48. public function getValue(){
  49. return $this->value;
  50. }
  51. private $detectItem;
  52. public function setDetectItem($detectItem ){
  53. $this->detectItem=$detectItem;
  54. $this->apiParas["detectItem"] = $detectItem;
  55. }
  56. public function getDetectItem(){
  57. return $this->detectItem;
  58. }
  59. private $imageUrl;
  60. public function setImageUrl($imageUrl ){
  61. $this->imageUrl=$imageUrl;
  62. $this->apiParas["imageUrl"] = $imageUrl;
  63. }
  64. public function getImageUrl(){
  65. return $this->imageUrl;
  66. }
  67. }