11<?php
22/**
3- * DefaultApi
3+ * ReleaseApi
44 * PHP version 5
55 *
66 * @category Class
7- * @package OpenAPI \Client
7+ * @package OneMusicAPI \Client
88 * @author OpenAPI Generator team
99 * @link https://openapi-generator.tech
1010 */
2626 * Do not edit the class manually.
2727 */
2828
29- namespace OpenAPI \Client \Api ;
29+ namespace OneMusicAPI \Client \Api ;
3030
3131use GuzzleHttp \Client ;
3232use GuzzleHttp \ClientInterface ;
3333use GuzzleHttp \Exception \RequestException ;
3434use GuzzleHttp \Psr7 \MultipartStream ;
3535use GuzzleHttp \Psr7 \Request ;
3636use GuzzleHttp \RequestOptions ;
37- use OpenAPI \Client \ApiException ;
38- use OpenAPI \Client \Configuration ;
39- use OpenAPI \Client \HeaderSelector ;
40- use OpenAPI \Client \ObjectSerializer ;
37+ use OneMusicAPI \Client \ApiException ;
38+ use OneMusicAPI \Client \Configuration ;
39+ use OneMusicAPI \Client \HeaderSelector ;
40+ use OneMusicAPI \Client \ObjectSerializer ;
4141
4242/**
43- * DefaultApi Class Doc Comment
43+ * ReleaseApi Class Doc Comment
4444 *
4545 * @category Class
46- * @package OpenAPI \Client
46+ * @package OneMusicAPI \Client
4747 * @author OpenAPI Generator team
4848 * @link https://openapi-generator.tech
4949 */
50- class DefaultApi
50+ class ReleaseApi
5151{
5252 /**
5353 * @var ClientInterface
@@ -132,9 +132,9 @@ public function getConfig()
132132 * @param string $artist The name of the artist for the release. (optional)
133133 * @param string $barcode The barcode for the release. (optional)
134134 *
135- * @throws \OpenAPI \Client\ApiException on non-2xx response
135+ * @throws \OneMusicAPI \Client\ApiException on non-2xx response
136136 * @throws \InvalidArgumentException
137- * @return \OpenAPI \Client\Model\Release[]
137+ * @return \OneMusicAPI \Client\Model\Release[]
138138 */
139139 public function release ($ user_key , $ inc = null , $ must_inc = null , $ max_result_count = null , $ min_certainty = null , $ min_image_score = null , $ min_image_width = null , $ min_image_height = null , $ max_image_width = null , $ max_image_height = null , $ title = null , $ artist = null , $ barcode = null )
140140 {
@@ -159,9 +159,9 @@ public function release($user_key, $inc = null, $must_inc = null, $max_result_co
159159 * @param string $artist The name of the artist for the release. (optional)
160160 * @param string $barcode The barcode for the release. (optional)
161161 *
162- * @throws \OpenAPI \Client\ApiException on non-2xx response
162+ * @throws \OneMusicAPI \Client\ApiException on non-2xx response
163163 * @throws \InvalidArgumentException
164- * @return array of \OpenAPI \Client\Model\Release[], HTTP status code, HTTP response headers (array of strings)
164+ * @return array of \OneMusicAPI \Client\Model\Release[], HTTP status code, HTTP response headers (array of strings)
165165 */
166166 public function releaseWithHttpInfo ($ user_key , $ inc = null , $ must_inc = null , $ max_result_count = null , $ min_certainty = null , $ min_image_score = null , $ min_image_width = null , $ min_image_height = null , $ max_image_width = null , $ max_image_height = null , $ title = null , $ artist = null , $ barcode = null )
167167 {
@@ -198,20 +198,20 @@ public function releaseWithHttpInfo($user_key, $inc = null, $must_inc = null, $m
198198 $ responseBody = $ response ->getBody ();
199199 switch ($ statusCode ) {
200200 case 200 :
201- if ('\OpenAPI \Client\Model\Release[] ' === '\SplFileObject ' ) {
201+ if ('\OneMusicAPI \Client\Model\Release[] ' === '\SplFileObject ' ) {
202202 $ content = $ responseBody ; //stream goes to serializer
203203 } else {
204204 $ content = (string ) $ responseBody ;
205205 }
206206
207207 return [
208- ObjectSerializer::deserialize ($ content , '\OpenAPI \Client\Model\Release[] ' , []),
208+ ObjectSerializer::deserialize ($ content , '\OneMusicAPI \Client\Model\Release[] ' , []),
209209 $ response ->getStatusCode (),
210210 $ response ->getHeaders ()
211211 ];
212212 }
213213
214- $ returnType = '\OpenAPI \Client\Model\Release[] ' ;
214+ $ returnType = '\OneMusicAPI \Client\Model\Release[] ' ;
215215 $ responseBody = $ response ->getBody ();
216216 if ($ returnType === '\SplFileObject ' ) {
217217 $ content = $ responseBody ; //stream goes to serializer
@@ -230,7 +230,7 @@ public function releaseWithHttpInfo($user_key, $inc = null, $must_inc = null, $m
230230 case 200 :
231231 $ data = ObjectSerializer::deserialize (
232232 $ e ->getResponseBody (),
233- '\OpenAPI \Client\Model\Release[] ' ,
233+ '\OneMusicAPI \Client\Model\Release[] ' ,
234234 $ e ->getResponseHeaders ()
235235 );
236236 $ e ->setResponseObject ($ data );
@@ -296,7 +296,7 @@ function ($response) {
296296 */
297297 public function releaseAsyncWithHttpInfo ($ user_key , $ inc = null , $ must_inc = null , $ max_result_count = null , $ min_certainty = null , $ min_image_score = null , $ min_image_width = null , $ min_image_height = null , $ max_image_width = null , $ max_image_height = null , $ title = null , $ artist = null , $ barcode = null )
298298 {
299- $ returnType = '\OpenAPI \Client\Model\Release[] ' ;
299+ $ returnType = '\OneMusicAPI \Client\Model\Release[] ' ;
300300 $ request = $ this ->releaseRequest ($ user_key , $ inc , $ must_inc , $ max_result_count , $ min_certainty , $ min_image_score , $ min_image_width , $ min_image_height , $ max_image_width , $ max_image_height , $ title , $ artist , $ barcode );
301301
302302 return $ this ->client
0 commit comments