|
| 1 | +<?php |
| 2 | + |
| 3 | +namespace AlibabaCloud\AIMath\V20241114; |
| 4 | + |
| 5 | +use AlibabaCloud\Client\Resolver\ApiResolver; |
| 6 | + |
| 7 | +/** |
| 8 | + * @method GenAnalysis genAnalysis(array $options = []) |
| 9 | + * @method GenStep genStep(array $options = []) |
| 10 | + * @method GlobalConfirm globalConfirm(array $options = []) |
| 11 | + * @method UpdateAnalysis updateAnalysis(array $options = []) |
| 12 | + * @method UpdateStep updateStep(array $options = []) |
| 13 | + */ |
| 14 | +class AIMathApiResolver extends ApiResolver |
| 15 | +{ |
| 16 | +} |
| 17 | + |
| 18 | +class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
| 19 | +{ |
| 20 | + /** @var string */ |
| 21 | + public $product = 'AIMath'; |
| 22 | + |
| 23 | + /** @var string */ |
| 24 | + public $version = '2024-11-14'; |
| 25 | + |
| 26 | + /** @var string */ |
| 27 | + public $method = 'POST'; |
| 28 | + |
| 29 | + /** @var string */ |
| 30 | + protected $scheme = 'https'; |
| 31 | +} |
| 32 | + |
| 33 | +/** |
| 34 | + * @method string getExerciseContent() |
| 35 | + */ |
| 36 | +class GenAnalysis extends Rpc |
| 37 | +{ |
| 38 | + |
| 39 | + /** |
| 40 | + * @param string $value |
| 41 | + * |
| 42 | + * @return $this |
| 43 | + */ |
| 44 | + public function withExerciseContent($value) |
| 45 | + { |
| 46 | + $this->data['ExerciseContent'] = $value; |
| 47 | + $this->options['form_params']['ExerciseContent'] = $value; |
| 48 | + |
| 49 | + return $this; |
| 50 | + } |
| 51 | +} |
| 52 | + |
| 53 | +/** |
| 54 | + * @method string getExerciseCode() |
| 55 | + */ |
| 56 | +class GenStep extends Rpc |
| 57 | +{ |
| 58 | + |
| 59 | + /** |
| 60 | + * @param string $value |
| 61 | + * |
| 62 | + * @return $this |
| 63 | + */ |
| 64 | + public function withExerciseCode($value) |
| 65 | + { |
| 66 | + $this->data['ExerciseCode'] = $value; |
| 67 | + $this->options['form_params']['ExerciseCode'] = $value; |
| 68 | + |
| 69 | + return $this; |
| 70 | + } |
| 71 | +} |
| 72 | + |
| 73 | +/** |
| 74 | + * @method string getTag() |
| 75 | + * @method string getExerciseCode() |
| 76 | + */ |
| 77 | +class GlobalConfirm extends Rpc |
| 78 | +{ |
| 79 | + |
| 80 | + /** |
| 81 | + * @param string $value |
| 82 | + * |
| 83 | + * @return $this |
| 84 | + */ |
| 85 | + public function withTag($value) |
| 86 | + { |
| 87 | + $this->data['Tag'] = $value; |
| 88 | + $this->options['form_params']['Tag'] = $value; |
| 89 | + |
| 90 | + return $this; |
| 91 | + } |
| 92 | + |
| 93 | + /** |
| 94 | + * @param string $value |
| 95 | + * |
| 96 | + * @return $this |
| 97 | + */ |
| 98 | + public function withExerciseCode($value) |
| 99 | + { |
| 100 | + $this->data['ExerciseCode'] = $value; |
| 101 | + $this->options['form_params']['ExerciseCode'] = $value; |
| 102 | + |
| 103 | + return $this; |
| 104 | + } |
| 105 | +} |
| 106 | + |
| 107 | +/** |
| 108 | + * @method string getContent() |
| 109 | + * @method string getContentCode() |
| 110 | + * @method string getExerciseCode() |
| 111 | + */ |
| 112 | +class UpdateAnalysis extends Rpc |
| 113 | +{ |
| 114 | + |
| 115 | + /** |
| 116 | + * @param string $value |
| 117 | + * |
| 118 | + * @return $this |
| 119 | + */ |
| 120 | + public function withContent($value) |
| 121 | + { |
| 122 | + $this->data['Content'] = $value; |
| 123 | + $this->options['form_params']['Content'] = $value; |
| 124 | + |
| 125 | + return $this; |
| 126 | + } |
| 127 | + |
| 128 | + /** |
| 129 | + * @param string $value |
| 130 | + * |
| 131 | + * @return $this |
| 132 | + */ |
| 133 | + public function withContentCode($value) |
| 134 | + { |
| 135 | + $this->data['ContentCode'] = $value; |
| 136 | + $this->options['form_params']['ContentCode'] = $value; |
| 137 | + |
| 138 | + return $this; |
| 139 | + } |
| 140 | + |
| 141 | + /** |
| 142 | + * @param string $value |
| 143 | + * |
| 144 | + * @return $this |
| 145 | + */ |
| 146 | + public function withExerciseCode($value) |
| 147 | + { |
| 148 | + $this->data['ExerciseCode'] = $value; |
| 149 | + $this->options['form_params']['ExerciseCode'] = $value; |
| 150 | + |
| 151 | + return $this; |
| 152 | + } |
| 153 | +} |
| 154 | + |
| 155 | +/** |
| 156 | + * @method string getContent() |
| 157 | + * @method string getContentCode() |
| 158 | + * @method string getExerciseCode() |
| 159 | + */ |
| 160 | +class UpdateStep extends Rpc |
| 161 | +{ |
| 162 | + |
| 163 | + /** |
| 164 | + * @param string $value |
| 165 | + * |
| 166 | + * @return $this |
| 167 | + */ |
| 168 | + public function withContent($value) |
| 169 | + { |
| 170 | + $this->data['Content'] = $value; |
| 171 | + $this->options['form_params']['Content'] = $value; |
| 172 | + |
| 173 | + return $this; |
| 174 | + } |
| 175 | + |
| 176 | + /** |
| 177 | + * @param string $value |
| 178 | + * |
| 179 | + * @return $this |
| 180 | + */ |
| 181 | + public function withContentCode($value) |
| 182 | + { |
| 183 | + $this->data['ContentCode'] = $value; |
| 184 | + $this->options['form_params']['ContentCode'] = $value; |
| 185 | + |
| 186 | + return $this; |
| 187 | + } |
| 188 | + |
| 189 | + /** |
| 190 | + * @param string $value |
| 191 | + * |
| 192 | + * @return $this |
| 193 | + */ |
| 194 | + public function withExerciseCode($value) |
| 195 | + { |
| 196 | + $this->data['ExerciseCode'] = $value; |
| 197 | + $this->options['form_params']['ExerciseCode'] = $value; |
| 198 | + |
| 199 | + return $this; |
| 200 | + } |
| 201 | +} |
0 commit comments