-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update API RunHotTopicChat: add param messages.
- Loading branch information
Showing
5 changed files
with
124 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<?php | ||
|
||
// This file is auto-generated, don't edit it. Thanks. | ||
|
||
namespace AlibabaCloud\SDK\QuanMiaoLightApp\V20240801\Models\RunHotTopicChatRequest; | ||
|
||
use AlibabaCloud\Tea\Model; | ||
|
||
class messages extends Model | ||
{ | ||
/** | ||
* @example xxx | ||
* | ||
* @var string | ||
*/ | ||
public $content; | ||
|
||
/** | ||
* @example 2024-12-10 18:51:29 | ||
* | ||
* @var string | ||
*/ | ||
public $createTime; | ||
|
||
/** | ||
* @example user | ||
* | ||
* @var string | ||
*/ | ||
public $role; | ||
protected $_name = [ | ||
'content' => 'content', | ||
'createTime' => 'createTime', | ||
'role' => 'role', | ||
]; | ||
|
||
public function validate() | ||
{ | ||
} | ||
|
||
public function toMap() | ||
{ | ||
$res = []; | ||
if (null !== $this->content) { | ||
$res['content'] = $this->content; | ||
} | ||
if (null !== $this->createTime) { | ||
$res['createTime'] = $this->createTime; | ||
} | ||
if (null !== $this->role) { | ||
$res['role'] = $this->role; | ||
} | ||
|
||
return $res; | ||
} | ||
|
||
/** | ||
* @param array $map | ||
* | ||
* @return messages | ||
*/ | ||
public static function fromMap($map = []) | ||
{ | ||
$model = new self(); | ||
if (isset($map['content'])) { | ||
$model->content = $map['content']; | ||
} | ||
if (isset($map['createTime'])) { | ||
$model->createTime = $map['createTime']; | ||
} | ||
if (isset($map['role'])) { | ||
$model->role = $map['role']; | ||
} | ||
|
||
return $model; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters