50 lines
984 B
PHP
50 lines
984 B
PHP
<?php
|
|
|
|
// This file is auto-generated, don't edit it. Thanks.
|
|
|
|
namespace AlibabaCloud\SDK\Ocr\V20191230\Models;
|
|
|
|
use AlibabaCloud\Tea\Model;
|
|
|
|
class RecognizeBusinessCardRequest extends Model
|
|
{
|
|
/**
|
|
* @example http://viapi-test.oss-cn-shanghai.aliyuncs.com/viapi-3.0domepic/ocr/RecognizeBusinessCard/RecognizeBusinessCard1.jpg
|
|
*
|
|
* @var string
|
|
*/
|
|
public $imageURL;
|
|
protected $_name = [
|
|
'imageURL' => 'ImageURL',
|
|
];
|
|
|
|
public function validate()
|
|
{
|
|
}
|
|
|
|
public function toMap()
|
|
{
|
|
$res = [];
|
|
if (null !== $this->imageURL) {
|
|
$res['ImageURL'] = $this->imageURL;
|
|
}
|
|
|
|
return $res;
|
|
}
|
|
|
|
/**
|
|
* @param array $map
|
|
*
|
|
* @return RecognizeBusinessCardRequest
|
|
*/
|
|
public static function fromMap($map = [])
|
|
{
|
|
$model = new self();
|
|
if (isset($map['ImageURL'])) {
|
|
$model->imageURL = $map['ImageURL'];
|
|
}
|
|
|
|
return $model;
|
|
}
|
|
}
|