Skip to content

Commit 5c8834a

Browse files
committed
Update RecognizeVideoCastCrewList.
1 parent da31688 commit 5c8834a

24 files changed

+804
-312
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2022-06-28 Version: 1.36.1161
2+
- Update RecognizeVideoCastCrewList.
3+
14
2022-06-24 Version: 1.36.1160
25
- Update ScreenChestCT.
36

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.1160
1+
1.36.1161

videorecog/CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ set(videorecog_public_header_model
2727
include/alibabacloud/videorecog/model/GenerateVideoCoverResult.h
2828
include/alibabacloud/videorecog/model/GetAsyncJobResultRequest.h
2929
include/alibabacloud/videorecog/model/GetAsyncJobResultResult.h
30+
include/alibabacloud/videorecog/model/RecognizeVideoCastCrewListRequest.h
31+
include/alibabacloud/videorecog/model/RecognizeVideoCastCrewListResult.h
32+
include/alibabacloud/videorecog/model/SplitVideoPartsRequest.h
33+
include/alibabacloud/videorecog/model/SplitVideoPartsResult.h
3034
include/alibabacloud/videorecog/model/UnderstandVideoContentRequest.h
3135
include/alibabacloud/videorecog/model/UnderstandVideoContentResult.h )
3236

@@ -38,6 +42,10 @@ set(videorecog_src
3842
src/model/GenerateVideoCoverResult.cc
3943
src/model/GetAsyncJobResultRequest.cc
4044
src/model/GetAsyncJobResultResult.cc
45+
src/model/RecognizeVideoCastCrewListRequest.cc
46+
src/model/RecognizeVideoCastCrewListResult.cc
47+
src/model/SplitVideoPartsRequest.cc
48+
src/model/SplitVideoPartsResult.cc
4149
src/model/UnderstandVideoContentRequest.cc
4250
src/model/UnderstandVideoContentResult.cc )
4351

videorecog/include/alibabacloud/videorecog/VideorecogClient.h

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
#include "model/GenerateVideoCoverResult.h"
2929
#include "model/GetAsyncJobResultRequest.h"
3030
#include "model/GetAsyncJobResultResult.h"
31+
#include "model/RecognizeVideoCastCrewListRequest.h"
32+
#include "model/RecognizeVideoCastCrewListResult.h"
33+
#include "model/SplitVideoPartsRequest.h"
34+
#include "model/SplitVideoPartsResult.h"
3135
#include "model/UnderstandVideoContentRequest.h"
3236
#include "model/UnderstandVideoContentResult.h"
3337

@@ -48,6 +52,12 @@ namespace AlibabaCloud
4852
typedef Outcome<Error, Model::GetAsyncJobResultResult> GetAsyncJobResultOutcome;
4953
typedef std::future<GetAsyncJobResultOutcome> GetAsyncJobResultOutcomeCallable;
5054
typedef std::function<void(const VideorecogClient*, const Model::GetAsyncJobResultRequest&, const GetAsyncJobResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAsyncJobResultAsyncHandler;
55+
typedef Outcome<Error, Model::RecognizeVideoCastCrewListResult> RecognizeVideoCastCrewListOutcome;
56+
typedef std::future<RecognizeVideoCastCrewListOutcome> RecognizeVideoCastCrewListOutcomeCallable;
57+
typedef std::function<void(const VideorecogClient*, const Model::RecognizeVideoCastCrewListRequest&, const RecognizeVideoCastCrewListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecognizeVideoCastCrewListAsyncHandler;
58+
typedef Outcome<Error, Model::SplitVideoPartsResult> SplitVideoPartsOutcome;
59+
typedef std::future<SplitVideoPartsOutcome> SplitVideoPartsOutcomeCallable;
60+
typedef std::function<void(const VideorecogClient*, const Model::SplitVideoPartsRequest&, const SplitVideoPartsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SplitVideoPartsAsyncHandler;
5161
typedef Outcome<Error, Model::UnderstandVideoContentResult> UnderstandVideoContentOutcome;
5262
typedef std::future<UnderstandVideoContentOutcome> UnderstandVideoContentOutcomeCallable;
5363
typedef std::function<void(const VideorecogClient*, const Model::UnderstandVideoContentRequest&, const UnderstandVideoContentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnderstandVideoContentAsyncHandler;
@@ -65,6 +75,12 @@ namespace AlibabaCloud
6575
GetAsyncJobResultOutcome getAsyncJobResult(const Model::GetAsyncJobResultRequest &request)const;
6676
void getAsyncJobResultAsync(const Model::GetAsyncJobResultRequest& request, const GetAsyncJobResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
6777
GetAsyncJobResultOutcomeCallable getAsyncJobResultCallable(const Model::GetAsyncJobResultRequest& request) const;
78+
RecognizeVideoCastCrewListOutcome recognizeVideoCastCrewList(const Model::RecognizeVideoCastCrewListRequest &request)const;
79+
void recognizeVideoCastCrewListAsync(const Model::RecognizeVideoCastCrewListRequest& request, const RecognizeVideoCastCrewListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
80+
RecognizeVideoCastCrewListOutcomeCallable recognizeVideoCastCrewListCallable(const Model::RecognizeVideoCastCrewListRequest& request) const;
81+
SplitVideoPartsOutcome splitVideoParts(const Model::SplitVideoPartsRequest &request)const;
82+
void splitVideoPartsAsync(const Model::SplitVideoPartsRequest& request, const SplitVideoPartsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
83+
SplitVideoPartsOutcomeCallable splitVideoPartsCallable(const Model::SplitVideoPartsRequest& request) const;
6884
UnderstandVideoContentOutcome understandVideoContent(const Model::UnderstandVideoContentRequest &request)const;
6985
void understandVideoContentAsync(const Model::UnderstandVideoContentRequest& request, const UnderstandVideoContentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
7086
UnderstandVideoContentOutcomeCallable understandVideoContentCallable(const Model::UnderstandVideoContentRequest& request) const;
Lines changed: 34 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,45 @@
11
/*
22
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3-
*
3+
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
7+
*
88
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
9+
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*/
16-
17-
#ifndef ALIBABACLOUD_VIDEORECOG_MODEL_DETECTVIDEOSHOTREQUEST_H_
18-
#define ALIBABACLOUD_VIDEORECOG_MODEL_DETECTVIDEOSHOTREQUEST_H_
19-
20-
#include <string>
21-
#include <vector>
22-
#include <alibabacloud/core/RpcServiceRequest.h>
23-
#include <alibabacloud/videorecog/VideorecogExport.h>
24-
25-
namespace AlibabaCloud
26-
{
27-
namespace Videorecog
28-
{
29-
namespace Model
30-
{
31-
class ALIBABACLOUD_VIDEORECOG_EXPORT DetectVideoShotRequest : public RpcServiceRequest
32-
{
33-
34-
public:
35-
DetectVideoShotRequest();
36-
~DetectVideoShotRequest();
37-
38-
bool getAsync()const;
39-
void setAsync(bool async);
40-
std::string getVideoUrl()const;
41-
void setVideoUrl(const std::string& videoUrl);
42-
43-
private:
44-
bool async_;
45-
std::string videoUrl_;
46-
47-
};
48-
}
49-
}
50-
}
51-
#endif // !ALIBABACLOUD_VIDEORECOG_MODEL_DETECTVIDEOSHOTREQUEST_H_
15+
*/
16+
17+
#ifndef ALIBABACLOUD_VIDEORECOG_MODEL_DETECTVIDEOSHOTREQUEST_H_
18+
#define ALIBABACLOUD_VIDEORECOG_MODEL_DETECTVIDEOSHOTREQUEST_H_
19+
20+
#include <alibabacloud/videorecog/VideorecogExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Videorecog {
28+
namespace Model {
29+
class ALIBABACLOUD_VIDEORECOG_EXPORT DetectVideoShotRequest : public RpcServiceRequest {
30+
public:
31+
DetectVideoShotRequest();
32+
~DetectVideoShotRequest();
33+
bool getAsync() const;
34+
void setAsync(bool async);
35+
std::string getVideoUrl() const;
36+
void setVideoUrl(const std::string &videoUrl);
37+
38+
private:
39+
bool async_;
40+
std::string videoUrl_;
41+
};
42+
} // namespace Model
43+
} // namespace Videorecog
44+
} // namespace AlibabaCloud
45+
#endif // !ALIBABACLOUD_VIDEORECOG_MODEL_DETECTVIDEOSHOTREQUEST_H_
Lines changed: 37 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,48 @@
11
/*
22
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3-
*
3+
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
7+
*
88
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
9+
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*/
16-
17-
#ifndef ALIBABACLOUD_VIDEORECOG_MODEL_GENERATEVIDEOCOVERREQUEST_H_
18-
#define ALIBABACLOUD_VIDEORECOG_MODEL_GENERATEVIDEOCOVERREQUEST_H_
19-
20-
#include <string>
21-
#include <vector>
22-
#include <alibabacloud/core/RpcServiceRequest.h>
23-
#include <alibabacloud/videorecog/VideorecogExport.h>
24-
25-
namespace AlibabaCloud
26-
{
27-
namespace Videorecog
28-
{
29-
namespace Model
30-
{
31-
class ALIBABACLOUD_VIDEORECOG_EXPORT GenerateVideoCoverRequest : public RpcServiceRequest
32-
{
33-
34-
public:
35-
GenerateVideoCoverRequest();
36-
~GenerateVideoCoverRequest();
37-
38-
bool getIsGif()const;
39-
void setIsGif(bool isGif);
40-
bool getAsync()const;
41-
void setAsync(bool async);
42-
std::string getVideoUrl()const;
43-
void setVideoUrl(const std::string& videoUrl);
44-
45-
private:
46-
bool isGif_;
47-
bool async_;
48-
std::string videoUrl_;
49-
50-
};
51-
}
52-
}
53-
}
54-
#endif // !ALIBABACLOUD_VIDEORECOG_MODEL_GENERATEVIDEOCOVERREQUEST_H_
15+
*/
16+
17+
#ifndef ALIBABACLOUD_VIDEORECOG_MODEL_GENERATEVIDEOCOVERREQUEST_H_
18+
#define ALIBABACLOUD_VIDEORECOG_MODEL_GENERATEVIDEOCOVERREQUEST_H_
19+
20+
#include <alibabacloud/videorecog/VideorecogExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Videorecog {
28+
namespace Model {
29+
class ALIBABACLOUD_VIDEORECOG_EXPORT GenerateVideoCoverRequest : public RpcServiceRequest {
30+
public:
31+
GenerateVideoCoverRequest();
32+
~GenerateVideoCoverRequest();
33+
bool getIsGif() const;
34+
void setIsGif(bool isGif);
35+
bool getAsync() const;
36+
void setAsync(bool async);
37+
std::string getVideoUrl() const;
38+
void setVideoUrl(const std::string &videoUrl);
39+
40+
private:
41+
bool isGif_;
42+
bool async_;
43+
std::string videoUrl_;
44+
};
45+
} // namespace Model
46+
} // namespace Videorecog
47+
} // namespace AlibabaCloud
48+
#endif // !ALIBABACLOUD_VIDEORECOG_MODEL_GENERATEVIDEOCOVERREQUEST_H_
Lines changed: 34 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,45 @@
11
/*
22
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3-
*
3+
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
7-
*
7+
*
88
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
9+
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
1212
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
15-
*/
16-
17-
#ifndef ALIBABACLOUD_VIDEORECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
18-
#define ALIBABACLOUD_VIDEORECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
19-
20-
#include <string>
21-
#include <vector>
22-
#include <alibabacloud/core/RpcServiceRequest.h>
23-
#include <alibabacloud/videorecog/VideorecogExport.h>
24-
25-
namespace AlibabaCloud
26-
{
27-
namespace Videorecog
28-
{
29-
namespace Model
30-
{
31-
class ALIBABACLOUD_VIDEORECOG_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest
32-
{
33-
34-
public:
35-
GetAsyncJobResultRequest();
36-
~GetAsyncJobResultRequest();
37-
38-
std::string getJobId()const;
39-
void setJobId(const std::string& jobId);
40-
bool getAsync()const;
41-
void setAsync(bool async);
42-
43-
private:
44-
std::string jobId_;
45-
bool async_;
46-
47-
};
48-
}
49-
}
50-
}
51-
#endif // !ALIBABACLOUD_VIDEORECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
15+
*/
16+
17+
#ifndef ALIBABACLOUD_VIDEORECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
18+
#define ALIBABACLOUD_VIDEORECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
19+
20+
#include <alibabacloud/videorecog/VideorecogExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Videorecog {
28+
namespace Model {
29+
class ALIBABACLOUD_VIDEORECOG_EXPORT GetAsyncJobResultRequest : public RpcServiceRequest {
30+
public:
31+
GetAsyncJobResultRequest();
32+
~GetAsyncJobResultRequest();
33+
std::string getJobId() const;
34+
void setJobId(const std::string &jobId);
35+
bool getAsync() const;
36+
void setAsync(bool async);
37+
38+
private:
39+
std::string jobId_;
40+
bool async_;
41+
};
42+
} // namespace Model
43+
} // namespace Videorecog
44+
} // namespace AlibabaCloud
45+
#endif // !ALIBABACLOUD_VIDEORECOG_MODEL_GETASYNCJOBRESULTREQUEST_H_
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_VIDEORECOG_MODEL_RECOGNIZEVIDEOCASTCREWLISTREQUEST_H_
18+
#define ALIBABACLOUD_VIDEORECOG_MODEL_RECOGNIZEVIDEOCASTCREWLISTREQUEST_H_
19+
20+
#include <alibabacloud/videorecog/VideorecogExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace Videorecog {
28+
namespace Model {
29+
class ALIBABACLOUD_VIDEORECOG_EXPORT RecognizeVideoCastCrewListRequest : public RpcServiceRequest {
30+
public:
31+
struct Params {
32+
std::string type;
33+
};
34+
RecognizeVideoCastCrewListRequest();
35+
~RecognizeVideoCastCrewListRequest();
36+
std::vector<Params> getParams() const;
37+
void setParams(const std::vector<Params> &params);
38+
bool getAsync() const;
39+
void setAsync(bool async);
40+
std::string getRegisterUrl() const;
41+
void setRegisterUrl(const std::string &registerUrl);
42+
std::string getVideoUrl() const;
43+
void setVideoUrl(const std::string &videoUrl);
44+
45+
private:
46+
std::vector<Params> params_;
47+
bool async_;
48+
std::string registerUrl_;
49+
std::string videoUrl_;
50+
};
51+
} // namespace Model
52+
} // namespace Videorecog
53+
} // namespace AlibabaCloud
54+
#endif // !ALIBABACLOUD_VIDEORECOG_MODEL_RECOGNIZEVIDEOCASTCREWLISTREQUEST_H_

0 commit comments

Comments
 (0)