API TaobaoFilmGetSchedules retrun col add hallId.

This commit is contained in:
sdk-team
2019-08-20 15:43:44 +08:00
parent 2244282621
commit 92ca679477
53 changed files with 4259 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2019-08-20 Version 1.36.91
- API TaobaoFilmGetSchedules retrun col add hallId.
2019-08-15 Version 1.36.90
- FnF public version.
- Add Report task api.

View File

@@ -1 +1 @@
1.36.90
1.36.91

View File

@@ -0,0 +1,142 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICECLIENT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICECLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "AppMallsServiceExport.h"
#include "model/TaobaoFilmGetRegionListRequest.h"
#include "model/TaobaoFilmGetRegionListResult.h"
#include "model/RemoveMessagesRequest.h"
#include "model/RemoveMessagesResult.h"
#include "model/TaobaoFilmIssueOrderRequest.h"
#include "model/TaobaoFilmIssueOrderResult.h"
#include "model/TaobaoFilmGetSchedulesRequest.h"
#include "model/TaobaoFilmGetSchedulesResult.h"
#include "model/TaobaoFilmGetHotShowsRequest.h"
#include "model/TaobaoFilmGetHotShowsResult.h"
#include "model/TaobaoFilmGetSeatsRequest.h"
#include "model/TaobaoFilmGetSeatsResult.h"
#include "model/GetMessagesRequest.h"
#include "model/GetMessagesResult.h"
#include "model/TaobaoFilmUnLockSeatRequest.h"
#include "model/TaobaoFilmUnLockSeatResult.h"
#include "model/TaobaoFilmLockSeatRequest.h"
#include "model/TaobaoFilmLockSeatResult.h"
#include "model/TaobaoFilmGetSoonShowsRequest.h"
#include "model/TaobaoFilmGetSoonShowsResult.h"
#include "model/TaobaoFilmGetCinemasRequest.h"
#include "model/TaobaoFilmGetCinemasResult.h"
#include "model/TaobaoFilmGetShowCommentsRequest.h"
#include "model/TaobaoFilmGetShowCommentsResult.h"
namespace AlibabaCloud
{
namespace AppMallsService
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT AppMallsServiceClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::TaobaoFilmGetRegionListResult> TaobaoFilmGetRegionListOutcome;
typedef std::future<TaobaoFilmGetRegionListOutcome> TaobaoFilmGetRegionListOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetRegionListRequest&, const TaobaoFilmGetRegionListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetRegionListAsyncHandler;
typedef Outcome<Error, Model::RemoveMessagesResult> RemoveMessagesOutcome;
typedef std::future<RemoveMessagesOutcome> RemoveMessagesOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::RemoveMessagesRequest&, const RemoveMessagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveMessagesAsyncHandler;
typedef Outcome<Error, Model::TaobaoFilmIssueOrderResult> TaobaoFilmIssueOrderOutcome;
typedef std::future<TaobaoFilmIssueOrderOutcome> TaobaoFilmIssueOrderOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmIssueOrderRequest&, const TaobaoFilmIssueOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmIssueOrderAsyncHandler;
typedef Outcome<Error, Model::TaobaoFilmGetSchedulesResult> TaobaoFilmGetSchedulesOutcome;
typedef std::future<TaobaoFilmGetSchedulesOutcome> TaobaoFilmGetSchedulesOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetSchedulesRequest&, const TaobaoFilmGetSchedulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetSchedulesAsyncHandler;
typedef Outcome<Error, Model::TaobaoFilmGetHotShowsResult> TaobaoFilmGetHotShowsOutcome;
typedef std::future<TaobaoFilmGetHotShowsOutcome> TaobaoFilmGetHotShowsOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetHotShowsRequest&, const TaobaoFilmGetHotShowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetHotShowsAsyncHandler;
typedef Outcome<Error, Model::TaobaoFilmGetSeatsResult> TaobaoFilmGetSeatsOutcome;
typedef std::future<TaobaoFilmGetSeatsOutcome> TaobaoFilmGetSeatsOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetSeatsRequest&, const TaobaoFilmGetSeatsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetSeatsAsyncHandler;
typedef Outcome<Error, Model::GetMessagesResult> GetMessagesOutcome;
typedef std::future<GetMessagesOutcome> GetMessagesOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::GetMessagesRequest&, const GetMessagesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMessagesAsyncHandler;
typedef Outcome<Error, Model::TaobaoFilmUnLockSeatResult> TaobaoFilmUnLockSeatOutcome;
typedef std::future<TaobaoFilmUnLockSeatOutcome> TaobaoFilmUnLockSeatOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmUnLockSeatRequest&, const TaobaoFilmUnLockSeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmUnLockSeatAsyncHandler;
typedef Outcome<Error, Model::TaobaoFilmLockSeatResult> TaobaoFilmLockSeatOutcome;
typedef std::future<TaobaoFilmLockSeatOutcome> TaobaoFilmLockSeatOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmLockSeatRequest&, const TaobaoFilmLockSeatOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmLockSeatAsyncHandler;
typedef Outcome<Error, Model::TaobaoFilmGetSoonShowsResult> TaobaoFilmGetSoonShowsOutcome;
typedef std::future<TaobaoFilmGetSoonShowsOutcome> TaobaoFilmGetSoonShowsOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetSoonShowsRequest&, const TaobaoFilmGetSoonShowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetSoonShowsAsyncHandler;
typedef Outcome<Error, Model::TaobaoFilmGetCinemasResult> TaobaoFilmGetCinemasOutcome;
typedef std::future<TaobaoFilmGetCinemasOutcome> TaobaoFilmGetCinemasOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetCinemasRequest&, const TaobaoFilmGetCinemasOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetCinemasAsyncHandler;
typedef Outcome<Error, Model::TaobaoFilmGetShowCommentsResult> TaobaoFilmGetShowCommentsOutcome;
typedef std::future<TaobaoFilmGetShowCommentsOutcome> TaobaoFilmGetShowCommentsOutcomeCallable;
typedef std::function<void(const AppMallsServiceClient*, const Model::TaobaoFilmGetShowCommentsRequest&, const TaobaoFilmGetShowCommentsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaobaoFilmGetShowCommentsAsyncHandler;
AppMallsServiceClient(const Credentials &credentials, const ClientConfiguration &configuration);
AppMallsServiceClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
AppMallsServiceClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~AppMallsServiceClient();
TaobaoFilmGetRegionListOutcome taobaoFilmGetRegionList(const Model::TaobaoFilmGetRegionListRequest &request)const;
void taobaoFilmGetRegionListAsync(const Model::TaobaoFilmGetRegionListRequest& request, const TaobaoFilmGetRegionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaobaoFilmGetRegionListOutcomeCallable taobaoFilmGetRegionListCallable(const Model::TaobaoFilmGetRegionListRequest& request) const;
RemoveMessagesOutcome removeMessages(const Model::RemoveMessagesRequest &request)const;
void removeMessagesAsync(const Model::RemoveMessagesRequest& request, const RemoveMessagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveMessagesOutcomeCallable removeMessagesCallable(const Model::RemoveMessagesRequest& request) const;
TaobaoFilmIssueOrderOutcome taobaoFilmIssueOrder(const Model::TaobaoFilmIssueOrderRequest &request)const;
void taobaoFilmIssueOrderAsync(const Model::TaobaoFilmIssueOrderRequest& request, const TaobaoFilmIssueOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaobaoFilmIssueOrderOutcomeCallable taobaoFilmIssueOrderCallable(const Model::TaobaoFilmIssueOrderRequest& request) const;
TaobaoFilmGetSchedulesOutcome taobaoFilmGetSchedules(const Model::TaobaoFilmGetSchedulesRequest &request)const;
void taobaoFilmGetSchedulesAsync(const Model::TaobaoFilmGetSchedulesRequest& request, const TaobaoFilmGetSchedulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaobaoFilmGetSchedulesOutcomeCallable taobaoFilmGetSchedulesCallable(const Model::TaobaoFilmGetSchedulesRequest& request) const;
TaobaoFilmGetHotShowsOutcome taobaoFilmGetHotShows(const Model::TaobaoFilmGetHotShowsRequest &request)const;
void taobaoFilmGetHotShowsAsync(const Model::TaobaoFilmGetHotShowsRequest& request, const TaobaoFilmGetHotShowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaobaoFilmGetHotShowsOutcomeCallable taobaoFilmGetHotShowsCallable(const Model::TaobaoFilmGetHotShowsRequest& request) const;
TaobaoFilmGetSeatsOutcome taobaoFilmGetSeats(const Model::TaobaoFilmGetSeatsRequest &request)const;
void taobaoFilmGetSeatsAsync(const Model::TaobaoFilmGetSeatsRequest& request, const TaobaoFilmGetSeatsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaobaoFilmGetSeatsOutcomeCallable taobaoFilmGetSeatsCallable(const Model::TaobaoFilmGetSeatsRequest& request) const;
GetMessagesOutcome getMessages(const Model::GetMessagesRequest &request)const;
void getMessagesAsync(const Model::GetMessagesRequest& request, const GetMessagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetMessagesOutcomeCallable getMessagesCallable(const Model::GetMessagesRequest& request) const;
TaobaoFilmUnLockSeatOutcome taobaoFilmUnLockSeat(const Model::TaobaoFilmUnLockSeatRequest &request)const;
void taobaoFilmUnLockSeatAsync(const Model::TaobaoFilmUnLockSeatRequest& request, const TaobaoFilmUnLockSeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaobaoFilmUnLockSeatOutcomeCallable taobaoFilmUnLockSeatCallable(const Model::TaobaoFilmUnLockSeatRequest& request) const;
TaobaoFilmLockSeatOutcome taobaoFilmLockSeat(const Model::TaobaoFilmLockSeatRequest &request)const;
void taobaoFilmLockSeatAsync(const Model::TaobaoFilmLockSeatRequest& request, const TaobaoFilmLockSeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaobaoFilmLockSeatOutcomeCallable taobaoFilmLockSeatCallable(const Model::TaobaoFilmLockSeatRequest& request) const;
TaobaoFilmGetSoonShowsOutcome taobaoFilmGetSoonShows(const Model::TaobaoFilmGetSoonShowsRequest &request)const;
void taobaoFilmGetSoonShowsAsync(const Model::TaobaoFilmGetSoonShowsRequest& request, const TaobaoFilmGetSoonShowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaobaoFilmGetSoonShowsOutcomeCallable taobaoFilmGetSoonShowsCallable(const Model::TaobaoFilmGetSoonShowsRequest& request) const;
TaobaoFilmGetCinemasOutcome taobaoFilmGetCinemas(const Model::TaobaoFilmGetCinemasRequest &request)const;
void taobaoFilmGetCinemasAsync(const Model::TaobaoFilmGetCinemasRequest& request, const TaobaoFilmGetCinemasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaobaoFilmGetCinemasOutcomeCallable taobaoFilmGetCinemasCallable(const Model::TaobaoFilmGetCinemasRequest& request) const;
TaobaoFilmGetShowCommentsOutcome taobaoFilmGetShowComments(const Model::TaobaoFilmGetShowCommentsRequest &request)const;
void taobaoFilmGetShowCommentsAsync(const Model::TaobaoFilmGetShowCommentsRequest& request, const TaobaoFilmGetShowCommentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaobaoFilmGetShowCommentsOutcomeCallable taobaoFilmGetShowCommentsCallable(const Model::TaobaoFilmGetShowCommentsRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICECLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICEEXPORT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICEEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_APPMALLSSERVICE_LIBRARY)
# define ALIBABACLOUD_APPMALLSSERVICE_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_APPMALLSSERVICE_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_APPMALLSSERVICE_EXPORT
#endif
#endif // !ALIBABACLOUD_APPMALLSSERVICE_APPMALLSSERVICEEXPORT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT GetMessagesRequest : public RpcServiceRequest
{
public:
GetMessagesRequest();
~GetMessagesRequest();
std::string getTopic()const;
void setTopic(const std::string& topic);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
std::string topic_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT GetMessagesResult : public ServiceResult
{
public:
struct BizMessagesItem
{
long dataId;
std::string contentMapJson;
std::string pubTime;
std::string topic;
};
GetMessagesResult();
explicit GetMessagesResult(const std::string &payload);
~GetMessagesResult();
std::string getMsg()const;
std::string getSubMsg()const;
std::string getLogsId()const;
std::string getErrorCode()const;
std::string getSubCode()const;
std::vector<BizMessagesItem> getBizMessages()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string subMsg_;
std::string logsId_;
std::string errorCode_;
std::string subCode_;
std::vector<BizMessagesItem> bizMessages_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_GETMESSAGESRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT RemoveMessagesRequest : public RpcServiceRequest
{
public:
RemoveMessagesRequest();
~RemoveMessagesRequest();
std::string getMsgIds()const;
void setMsgIds(const std::string& msgIds);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
std::string msgIds_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT RemoveMessagesResult : public ServiceResult
{
public:
RemoveMessagesResult();
explicit RemoveMessagesResult(const std::string &payload);
~RemoveMessagesResult();
std::string getMsg()const;
std::string getSubMsg()const;
std::string getReturnCode()const;
std::string getLogsId()const;
std::string getReturnMessage()const;
std::string getReturnValue()const;
std::string getErrorCode()const;
std::string getSubCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string subMsg_;
std::string returnCode_;
std::string logsId_;
std::string returnMessage_;
std::string returnValue_;
std::string errorCode_;
std::string subCode_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_REMOVEMESSAGESRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetCinemasRequest : public RpcServiceRequest
{
public:
TaobaoFilmGetCinemasRequest();
~TaobaoFilmGetCinemasRequest();
long getPageIndex()const;
void setPageIndex(long pageIndex);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
long pageIndex_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASREQUEST_H_

View File

@@ -0,0 +1,76 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetCinemasResult : public ServiceResult
{
public:
struct CinemasItem
{
std::string cinemaName;
std::string address;
long cityId;
std::string regionName;
std::string phone;
std::string latitude;
std::string standardId;
long id;
std::string longitude;
long scheduleCloseTime;
};
TaobaoFilmGetCinemasResult();
explicit TaobaoFilmGetCinemasResult(const std::string &payload);
~TaobaoFilmGetCinemasResult();
std::string getMsg()const;
std::string getSubMsg()const;
long getTotalCount()const;
std::string getLogsId()const;
std::string getErrorCode()const;
std::string getSubCode()const;
std::vector<CinemasItem> getCinemas()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string subMsg_;
long totalCount_;
std::string logsId_;
std::string errorCode_;
std::string subCode_;
std::vector<CinemasItem> cinemas_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETCINEMASRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetHotShowsRequest : public RpcServiceRequest
{
public:
TaobaoFilmGetHotShowsRequest();
~TaobaoFilmGetHotShowsRequest();
long getCityCode()const;
void setCityCode(long cityCode);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
long cityCode_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSREQUEST_H_

View File

@@ -0,0 +1,83 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetHotShowsResult : public ServiceResult
{
public:
struct ShowsItem
{
std::vector<std::string> showVersionList;
std::string backgroundPicture;
std::string description;
std::string highlight;
std::string leadingRole;
std::string director;
long duration;
std::string showName;
std::string showMark;
std::string remark;
std::string openTime;
std::string type;
std::string language;
std::string poster;
std::string country;
std::string showNameEn;
long id;
std::vector<std::string> trailerList;
std::string openDay;
};
TaobaoFilmGetHotShowsResult();
explicit TaobaoFilmGetHotShowsResult(const std::string &payload);
~TaobaoFilmGetHotShowsResult();
std::string getMsg()const;
std::string getSubMsg()const;
std::vector<ShowsItem> getShows()const;
std::string getLogsId()const;
std::string getErrorCode()const;
std::string getSubCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string subMsg_;
std::vector<ShowsItem> shows_;
std::string logsId_;
std::string errorCode_;
std::string subCode_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETHOTSHOWSRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetRegionListRequest : public RpcServiceRequest
{
public:
TaobaoFilmGetRegionListRequest();
~TaobaoFilmGetRegionListRequest();
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetRegionListResult : public ServiceResult
{
public:
struct RegionsItem
{
long cityCode;
long parentId;
std::string regionName;
std::string pinYin;
long id;
};
TaobaoFilmGetRegionListResult();
explicit TaobaoFilmGetRegionListResult(const std::string &payload);
~TaobaoFilmGetRegionListResult();
std::string getMsg()const;
std::string getSubMsg()const;
std::string getLogsId()const;
std::vector<RegionsItem> getRegions()const;
std::string getErrorCode()const;
std::string getSubCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string subMsg_;
std::string logsId_;
std::vector<RegionsItem> regions_;
std::string errorCode_;
std::string subCode_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETREGIONLISTRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSchedulesRequest : public RpcServiceRequest
{
public:
TaobaoFilmGetSchedulesRequest();
~TaobaoFilmGetSchedulesRequest();
long getCinemaId()const;
void setCinemaId(long cinemaId);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
long cinemaId_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESREQUEST_H_

View File

@@ -0,0 +1,79 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSchedulesResult : public ServiceResult
{
public:
struct SchedulesItem
{
bool isExpired;
std::string showTime;
long showId;
long maxCanBuy;
std::string showDate;
std::string scheduleArea;
long serviceFee;
std::string hallId;
std::string closeTime;
long price;
std::string hallName;
long cinemaId;
std::string showVersion;
long id;
std::string sectionId;
};
TaobaoFilmGetSchedulesResult();
explicit TaobaoFilmGetSchedulesResult(const std::string &payload);
~TaobaoFilmGetSchedulesResult();
std::string getMsg()const;
std::vector<SchedulesItem> getSchedules()const;
std::string getSubMsg()const;
std::string getLogsId()const;
std::string getErrorCode()const;
std::string getSubCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::vector<SchedulesItem> schedules_;
std::string subMsg_;
std::string logsId_;
std::string errorCode_;
std::string subCode_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSCHEDULESRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSeatsRequest : public RpcServiceRequest
{
public:
TaobaoFilmGetSeatsRequest();
~TaobaoFilmGetSeatsRequest();
long getScheduleId()const;
void setScheduleId(long scheduleId);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
long scheduleId_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSREQUEST_H_

View File

@@ -0,0 +1,92 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSeatsResult : public ServiceResult
{
public:
struct SeatMap
{
struct SeatsItem
{
long leftPx;
long status;
std::string area;
long column;
std::string extId;
long row;
long flag;
long topPx;
std::string name;
std::string rowName;
};
long maxRow;
bool regular;
long soldCount;
long minRow;
long maxTopPx;
long minColumn;
long maxCanBuy;
long maxColumn;
long minLeftPx;
std::vector<SeatsItem> seats;
long maxLeftPx;
long seatCount;
std::string notice;
long minTopPx;
std::string tipMessage;
};
TaobaoFilmGetSeatsResult();
explicit TaobaoFilmGetSeatsResult(const std::string &payload);
~TaobaoFilmGetSeatsResult();
std::string getMsg()const;
std::string getSubMsg()const;
std::string getLogsId()const;
std::string getErrorCode()const;
SeatMap getSeatMap()const;
std::string getSubCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string subMsg_;
std::string logsId_;
std::string errorCode_;
SeatMap seatMap_;
std::string subCode_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSEATSRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetShowCommentsRequest : public RpcServiceRequest
{
public:
TaobaoFilmGetShowCommentsRequest();
~TaobaoFilmGetShowCommentsRequest();
long getShowId()const;
void setShowId(long showId);
long getPageIndex()const;
void setPageIndex(long pageIndex);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
long showId_;
long pageIndex_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetShowCommentsResult : public ServiceResult
{
public:
struct CommentListItem
{
std::string content;
std::string commentTime;
long showId;
long id;
std::string nickName;
std::string subject;
long favorCount;
long remark;
};
TaobaoFilmGetShowCommentsResult();
explicit TaobaoFilmGetShowCommentsResult(const std::string &payload);
~TaobaoFilmGetShowCommentsResult();
std::string getMsg()const;
std::string getSubMsg()const;
std::string getLogsId()const;
std::vector<CommentListItem> getCommentList()const;
std::string getErrorCode()const;
long getCount()const;
std::string getSubCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string subMsg_;
std::string logsId_;
std::vector<CommentListItem> commentList_;
std::string errorCode_;
long count_;
std::string subCode_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSHOWCOMMENTSRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSoonShowsRequest : public RpcServiceRequest
{
public:
TaobaoFilmGetSoonShowsRequest();
~TaobaoFilmGetSoonShowsRequest();
long getCityCode()const;
void setCityCode(long cityCode);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
long cityCode_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSREQUEST_H_

View File

@@ -0,0 +1,83 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmGetSoonShowsResult : public ServiceResult
{
public:
struct ShowsItem
{
std::vector<std::string> showVersionList;
std::string backgroundPicture;
std::string description;
std::string highlight;
std::string leadingRole;
std::string director;
long duration;
std::string showName;
std::string showMark;
std::string remark;
std::string openTime;
std::string type;
std::string language;
std::string poster;
std::string country;
std::string showNameEn;
long id;
std::vector<std::string> trailerList;
std::string openDay;
};
TaobaoFilmGetSoonShowsResult();
explicit TaobaoFilmGetSoonShowsResult(const std::string &payload);
~TaobaoFilmGetSoonShowsResult();
std::string getMsg()const;
std::string getSubMsg()const;
std::vector<ShowsItem> getShows()const;
std::string getLogsId()const;
std::string getErrorCode()const;
std::string getSubCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string subMsg_;
std::vector<ShowsItem> shows_;
std::string logsId_;
std::string errorCode_;
std::string subCode_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMGETSOONSHOWSRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmIssueOrderRequest : public RpcServiceRequest
{
public:
TaobaoFilmIssueOrderRequest();
~TaobaoFilmIssueOrderRequest();
std::string getLockSeatApplyKey()const;
void setLockSeatApplyKey(const std::string& lockSeatApplyKey);
std::string getExtUserId()const;
void setExtUserId(const std::string& extUserId);
std::string getExtOrderId()const;
void setExtOrderId(const std::string& extOrderId);
long getTotalPrice()const;
void setTotalPrice(long totalPrice);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
std::string lockSeatApplyKey_;
std::string extUserId_;
std::string extOrderId_;
long totalPrice_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmIssueOrderResult : public ServiceResult
{
public:
TaobaoFilmIssueOrderResult();
explicit TaobaoFilmIssueOrderResult(const std::string &payload);
~TaobaoFilmIssueOrderResult();
std::string getMsg()const;
std::string getStatus()const;
std::string getSubMsg()const;
std::string getMessage()const;
std::string getTicketContents()const;
std::string getTbOrderId()const;
std::string getLogsId()const;
std::string getErrorCode()const;
std::string getSubCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string status_;
std::string subMsg_;
std::string message_;
std::string ticketContents_;
std::string tbOrderId_;
std::string logsId_;
std::string errorCode_;
std::string subCode_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMISSUEORDERRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmLockSeatRequest : public RpcServiceRequest
{
public:
TaobaoFilmLockSeatRequest();
~TaobaoFilmLockSeatRequest();
long getScheduleId()const;
void setScheduleId(long scheduleId);
std::string getSeatIds()const;
void setSeatIds(const std::string& seatIds);
std::string getSeatNames()const;
void setSeatNames(const std::string& seatNames);
std::string getMobile()const;
void setMobile(const std::string& mobile);
std::string getExtUserId()const;
void setExtUserId(const std::string& extUserId);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
long scheduleId_;
std::string seatIds_;
std::string seatNames_;
std::string mobile_;
std::string extUserId_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmLockSeatResult : public ServiceResult
{
public:
struct SeatLocked
{
long lockTime;
std::string status;
std::string applyKey;
long defaultLockSecond;
};
TaobaoFilmLockSeatResult();
explicit TaobaoFilmLockSeatResult(const std::string &payload);
~TaobaoFilmLockSeatResult();
SeatLocked getSeatLocked()const;
std::string getMsg()const;
std::string getSubMsg()const;
std::string getLogsId()const;
std::string getErrorCode()const;
std::string getSubCode()const;
protected:
void parse(const std::string &payload);
private:
SeatLocked seatLocked_;
std::string msg_;
std::string subMsg_;
std::string logsId_;
std::string errorCode_;
std::string subCode_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMLOCKSEATRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATREQUEST_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmUnLockSeatRequest : public RpcServiceRequest
{
public:
TaobaoFilmUnLockSeatRequest();
~TaobaoFilmUnLockSeatRequest();
std::string getLockSeatApplyKey()const;
void setLockSeatApplyKey(const std::string& lockSeatApplyKey);
std::string getExtUserId()const;
void setExtUserId(const std::string& extUserId);
std::string getParamsJson()const;
void setParamsJson(const std::string& paramsJson);
private:
std::string lockSeatApplyKey_;
std::string extUserId_;
std::string paramsJson_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATRESULT_H_
#define ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/appmallsservice/AppMallsServiceExport.h>
namespace AlibabaCloud
{
namespace AppMallsService
{
namespace Model
{
class ALIBABACLOUD_APPMALLSSERVICE_EXPORT TaobaoFilmUnLockSeatResult : public ServiceResult
{
public:
TaobaoFilmUnLockSeatResult();
explicit TaobaoFilmUnLockSeatResult(const std::string &payload);
~TaobaoFilmUnLockSeatResult();
std::string getMsg()const;
std::string getSubMsg()const;
std::string getReturnCode()const;
std::string getLogsId()const;
std::string getReturnMessage()const;
bool getReturnValue()const;
std::string getErrorCode()const;
std::string getSubCode()const;
protected:
void parse(const std::string &payload);
private:
std::string msg_;
std::string subMsg_;
std::string returnCode_;
std::string logsId_;
std::string returnMessage_;
bool returnValue_;
std::string errorCode_;
std::string subCode_;
};
}
}
}
#endif // !ALIBABACLOUD_APPMALLSSERVICE_MODEL_TAOBAOFILMUNLOCKSEATRESULT_H_

View File

@@ -0,0 +1,485 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/AppMallsServiceClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
namespace
{
const std::string SERVICE_NAME = "AppMallsService";
}
AppMallsServiceClient::AppMallsServiceClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
AppMallsServiceClient::AppMallsServiceClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
AppMallsServiceClient::AppMallsServiceClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
{
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
AppMallsServiceClient::~AppMallsServiceClient()
{}
AppMallsServiceClient::TaobaoFilmGetRegionListOutcome AppMallsServiceClient::taobaoFilmGetRegionList(const TaobaoFilmGetRegionListRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TaobaoFilmGetRegionListOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TaobaoFilmGetRegionListOutcome(TaobaoFilmGetRegionListResult(outcome.result()));
else
return TaobaoFilmGetRegionListOutcome(outcome.error());
}
void AppMallsServiceClient::taobaoFilmGetRegionListAsync(const TaobaoFilmGetRegionListRequest& request, const TaobaoFilmGetRegionListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, taobaoFilmGetRegionList(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::TaobaoFilmGetRegionListOutcomeCallable AppMallsServiceClient::taobaoFilmGetRegionListCallable(const TaobaoFilmGetRegionListRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetRegionListOutcome()>>(
[this, request]()
{
return this->taobaoFilmGetRegionList(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::RemoveMessagesOutcome AppMallsServiceClient::removeMessages(const RemoveMessagesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return RemoveMessagesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return RemoveMessagesOutcome(RemoveMessagesResult(outcome.result()));
else
return RemoveMessagesOutcome(outcome.error());
}
void AppMallsServiceClient::removeMessagesAsync(const RemoveMessagesRequest& request, const RemoveMessagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, removeMessages(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::RemoveMessagesOutcomeCallable AppMallsServiceClient::removeMessagesCallable(const RemoveMessagesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<RemoveMessagesOutcome()>>(
[this, request]()
{
return this->removeMessages(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::TaobaoFilmIssueOrderOutcome AppMallsServiceClient::taobaoFilmIssueOrder(const TaobaoFilmIssueOrderRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TaobaoFilmIssueOrderOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TaobaoFilmIssueOrderOutcome(TaobaoFilmIssueOrderResult(outcome.result()));
else
return TaobaoFilmIssueOrderOutcome(outcome.error());
}
void AppMallsServiceClient::taobaoFilmIssueOrderAsync(const TaobaoFilmIssueOrderRequest& request, const TaobaoFilmIssueOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, taobaoFilmIssueOrder(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::TaobaoFilmIssueOrderOutcomeCallable AppMallsServiceClient::taobaoFilmIssueOrderCallable(const TaobaoFilmIssueOrderRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TaobaoFilmIssueOrderOutcome()>>(
[this, request]()
{
return this->taobaoFilmIssueOrder(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::TaobaoFilmGetSchedulesOutcome AppMallsServiceClient::taobaoFilmGetSchedules(const TaobaoFilmGetSchedulesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TaobaoFilmGetSchedulesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TaobaoFilmGetSchedulesOutcome(TaobaoFilmGetSchedulesResult(outcome.result()));
else
return TaobaoFilmGetSchedulesOutcome(outcome.error());
}
void AppMallsServiceClient::taobaoFilmGetSchedulesAsync(const TaobaoFilmGetSchedulesRequest& request, const TaobaoFilmGetSchedulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, taobaoFilmGetSchedules(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::TaobaoFilmGetSchedulesOutcomeCallable AppMallsServiceClient::taobaoFilmGetSchedulesCallable(const TaobaoFilmGetSchedulesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetSchedulesOutcome()>>(
[this, request]()
{
return this->taobaoFilmGetSchedules(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::TaobaoFilmGetHotShowsOutcome AppMallsServiceClient::taobaoFilmGetHotShows(const TaobaoFilmGetHotShowsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TaobaoFilmGetHotShowsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TaobaoFilmGetHotShowsOutcome(TaobaoFilmGetHotShowsResult(outcome.result()));
else
return TaobaoFilmGetHotShowsOutcome(outcome.error());
}
void AppMallsServiceClient::taobaoFilmGetHotShowsAsync(const TaobaoFilmGetHotShowsRequest& request, const TaobaoFilmGetHotShowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, taobaoFilmGetHotShows(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::TaobaoFilmGetHotShowsOutcomeCallable AppMallsServiceClient::taobaoFilmGetHotShowsCallable(const TaobaoFilmGetHotShowsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetHotShowsOutcome()>>(
[this, request]()
{
return this->taobaoFilmGetHotShows(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::TaobaoFilmGetSeatsOutcome AppMallsServiceClient::taobaoFilmGetSeats(const TaobaoFilmGetSeatsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TaobaoFilmGetSeatsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TaobaoFilmGetSeatsOutcome(TaobaoFilmGetSeatsResult(outcome.result()));
else
return TaobaoFilmGetSeatsOutcome(outcome.error());
}
void AppMallsServiceClient::taobaoFilmGetSeatsAsync(const TaobaoFilmGetSeatsRequest& request, const TaobaoFilmGetSeatsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, taobaoFilmGetSeats(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::TaobaoFilmGetSeatsOutcomeCallable AppMallsServiceClient::taobaoFilmGetSeatsCallable(const TaobaoFilmGetSeatsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetSeatsOutcome()>>(
[this, request]()
{
return this->taobaoFilmGetSeats(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::GetMessagesOutcome AppMallsServiceClient::getMessages(const GetMessagesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetMessagesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetMessagesOutcome(GetMessagesResult(outcome.result()));
else
return GetMessagesOutcome(outcome.error());
}
void AppMallsServiceClient::getMessagesAsync(const GetMessagesRequest& request, const GetMessagesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getMessages(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::GetMessagesOutcomeCallable AppMallsServiceClient::getMessagesCallable(const GetMessagesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetMessagesOutcome()>>(
[this, request]()
{
return this->getMessages(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::TaobaoFilmUnLockSeatOutcome AppMallsServiceClient::taobaoFilmUnLockSeat(const TaobaoFilmUnLockSeatRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TaobaoFilmUnLockSeatOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TaobaoFilmUnLockSeatOutcome(TaobaoFilmUnLockSeatResult(outcome.result()));
else
return TaobaoFilmUnLockSeatOutcome(outcome.error());
}
void AppMallsServiceClient::taobaoFilmUnLockSeatAsync(const TaobaoFilmUnLockSeatRequest& request, const TaobaoFilmUnLockSeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, taobaoFilmUnLockSeat(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::TaobaoFilmUnLockSeatOutcomeCallable AppMallsServiceClient::taobaoFilmUnLockSeatCallable(const TaobaoFilmUnLockSeatRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TaobaoFilmUnLockSeatOutcome()>>(
[this, request]()
{
return this->taobaoFilmUnLockSeat(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::TaobaoFilmLockSeatOutcome AppMallsServiceClient::taobaoFilmLockSeat(const TaobaoFilmLockSeatRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TaobaoFilmLockSeatOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TaobaoFilmLockSeatOutcome(TaobaoFilmLockSeatResult(outcome.result()));
else
return TaobaoFilmLockSeatOutcome(outcome.error());
}
void AppMallsServiceClient::taobaoFilmLockSeatAsync(const TaobaoFilmLockSeatRequest& request, const TaobaoFilmLockSeatAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, taobaoFilmLockSeat(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::TaobaoFilmLockSeatOutcomeCallable AppMallsServiceClient::taobaoFilmLockSeatCallable(const TaobaoFilmLockSeatRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TaobaoFilmLockSeatOutcome()>>(
[this, request]()
{
return this->taobaoFilmLockSeat(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::TaobaoFilmGetSoonShowsOutcome AppMallsServiceClient::taobaoFilmGetSoonShows(const TaobaoFilmGetSoonShowsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TaobaoFilmGetSoonShowsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TaobaoFilmGetSoonShowsOutcome(TaobaoFilmGetSoonShowsResult(outcome.result()));
else
return TaobaoFilmGetSoonShowsOutcome(outcome.error());
}
void AppMallsServiceClient::taobaoFilmGetSoonShowsAsync(const TaobaoFilmGetSoonShowsRequest& request, const TaobaoFilmGetSoonShowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, taobaoFilmGetSoonShows(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::TaobaoFilmGetSoonShowsOutcomeCallable AppMallsServiceClient::taobaoFilmGetSoonShowsCallable(const TaobaoFilmGetSoonShowsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetSoonShowsOutcome()>>(
[this, request]()
{
return this->taobaoFilmGetSoonShows(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::TaobaoFilmGetCinemasOutcome AppMallsServiceClient::taobaoFilmGetCinemas(const TaobaoFilmGetCinemasRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TaobaoFilmGetCinemasOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TaobaoFilmGetCinemasOutcome(TaobaoFilmGetCinemasResult(outcome.result()));
else
return TaobaoFilmGetCinemasOutcome(outcome.error());
}
void AppMallsServiceClient::taobaoFilmGetCinemasAsync(const TaobaoFilmGetCinemasRequest& request, const TaobaoFilmGetCinemasAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, taobaoFilmGetCinemas(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::TaobaoFilmGetCinemasOutcomeCallable AppMallsServiceClient::taobaoFilmGetCinemasCallable(const TaobaoFilmGetCinemasRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetCinemasOutcome()>>(
[this, request]()
{
return this->taobaoFilmGetCinemas(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
AppMallsServiceClient::TaobaoFilmGetShowCommentsOutcome AppMallsServiceClient::taobaoFilmGetShowComments(const TaobaoFilmGetShowCommentsRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return TaobaoFilmGetShowCommentsOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return TaobaoFilmGetShowCommentsOutcome(TaobaoFilmGetShowCommentsResult(outcome.result()));
else
return TaobaoFilmGetShowCommentsOutcome(outcome.error());
}
void AppMallsServiceClient::taobaoFilmGetShowCommentsAsync(const TaobaoFilmGetShowCommentsRequest& request, const TaobaoFilmGetShowCommentsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, taobaoFilmGetShowComments(request), context);
};
asyncExecute(new Runnable(fn));
}
AppMallsServiceClient::TaobaoFilmGetShowCommentsOutcomeCallable AppMallsServiceClient::taobaoFilmGetShowCommentsCallable(const TaobaoFilmGetShowCommentsRequest &request) const
{
auto task = std::make_shared<std::packaged_task<TaobaoFilmGetShowCommentsOutcome()>>(
[this, request]()
{
return this->taobaoFilmGetShowComments(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/GetMessagesRequest.h>
using AlibabaCloud::AppMallsService::Model::GetMessagesRequest;
GetMessagesRequest::GetMessagesRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "GetMessages")
{}
GetMessagesRequest::~GetMessagesRequest()
{}
std::string GetMessagesRequest::getTopic()const
{
return topic_;
}
void GetMessagesRequest::setTopic(const std::string& topic)
{
topic_ = topic;
setCoreParameter("Topic", topic);
}
std::string GetMessagesRequest::getParamsJson()const
{
return paramsJson_;
}
void GetMessagesRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,102 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/GetMessagesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
GetMessagesResult::GetMessagesResult() :
ServiceResult()
{}
GetMessagesResult::GetMessagesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetMessagesResult::~GetMessagesResult()
{}
void GetMessagesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allBizMessages = value["BizMessages"]["BizMessagesItem"];
for (auto value : allBizMessages)
{
BizMessagesItem bizMessagesObject;
if(!value["PubTime"].isNull())
bizMessagesObject.pubTime = value["PubTime"].asString();
if(!value["Topic"].isNull())
bizMessagesObject.topic = value["Topic"].asString();
if(!value["DataId"].isNull())
bizMessagesObject.dataId = std::stol(value["DataId"].asString());
if(!value["ContentMapJson"].isNull())
bizMessagesObject.contentMapJson = value["ContentMapJson"].asString();
bizMessages_.push_back(bizMessagesObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
std::string GetMessagesResult::getMsg()const
{
return msg_;
}
std::string GetMessagesResult::getSubMsg()const
{
return subMsg_;
}
std::string GetMessagesResult::getLogsId()const
{
return logsId_;
}
std::string GetMessagesResult::getErrorCode()const
{
return errorCode_;
}
std::string GetMessagesResult::getSubCode()const
{
return subCode_;
}
std::vector<GetMessagesResult::BizMessagesItem> GetMessagesResult::getBizMessages()const
{
return bizMessages_;
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/RemoveMessagesRequest.h>
using AlibabaCloud::AppMallsService::Model::RemoveMessagesRequest;
RemoveMessagesRequest::RemoveMessagesRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "RemoveMessages")
{}
RemoveMessagesRequest::~RemoveMessagesRequest()
{}
std::string RemoveMessagesRequest::getMsgIds()const
{
return msgIds_;
}
void RemoveMessagesRequest::setMsgIds(const std::string& msgIds)
{
msgIds_ = msgIds;
setCoreParameter("MsgIds", msgIds);
}
std::string RemoveMessagesRequest::getParamsJson()const
{
return paramsJson_;
}
void RemoveMessagesRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/RemoveMessagesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
RemoveMessagesResult::RemoveMessagesResult() :
ServiceResult()
{}
RemoveMessagesResult::RemoveMessagesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RemoveMessagesResult::~RemoveMessagesResult()
{}
void RemoveMessagesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
if(!value["ReturnCode"].isNull())
returnCode_ = value["ReturnCode"].asString();
if(!value["ReturnMessage"].isNull())
returnMessage_ = value["ReturnMessage"].asString();
if(!value["ReturnValue"].isNull())
returnValue_ = value["ReturnValue"].asString();
}
std::string RemoveMessagesResult::getMsg()const
{
return msg_;
}
std::string RemoveMessagesResult::getSubMsg()const
{
return subMsg_;
}
std::string RemoveMessagesResult::getReturnCode()const
{
return returnCode_;
}
std::string RemoveMessagesResult::getLogsId()const
{
return logsId_;
}
std::string RemoveMessagesResult::getReturnMessage()const
{
return returnMessage_;
}
std::string RemoveMessagesResult::getReturnValue()const
{
return returnValue_;
}
std::string RemoveMessagesResult::getErrorCode()const
{
return errorCode_;
}
std::string RemoveMessagesResult::getSubCode()const
{
return subCode_;
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetCinemasRequest.h>
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetCinemasRequest;
TaobaoFilmGetCinemasRequest::TaobaoFilmGetCinemasRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetCinemas")
{}
TaobaoFilmGetCinemasRequest::~TaobaoFilmGetCinemasRequest()
{}
long TaobaoFilmGetCinemasRequest::getPageIndex()const
{
return pageIndex_;
}
void TaobaoFilmGetCinemasRequest::setPageIndex(long pageIndex)
{
pageIndex_ = pageIndex;
setCoreParameter("PageIndex", std::to_string(pageIndex));
}
std::string TaobaoFilmGetCinemasRequest::getParamsJson()const
{
return paramsJson_;
}
void TaobaoFilmGetCinemasRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,121 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetCinemasResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
TaobaoFilmGetCinemasResult::TaobaoFilmGetCinemasResult() :
ServiceResult()
{}
TaobaoFilmGetCinemasResult::TaobaoFilmGetCinemasResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TaobaoFilmGetCinemasResult::~TaobaoFilmGetCinemasResult()
{}
void TaobaoFilmGetCinemasResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allCinemas = value["Cinemas"]["CinemasItem"];
for (auto value : allCinemas)
{
CinemasItem cinemasObject;
if(!value["Address"].isNull())
cinemasObject.address = value["Address"].asString();
if(!value["CinemaName"].isNull())
cinemasObject.cinemaName = value["CinemaName"].asString();
if(!value["CityId"].isNull())
cinemasObject.cityId = std::stol(value["CityId"].asString());
if(!value["Id"].isNull())
cinemasObject.id = std::stol(value["Id"].asString());
if(!value["Latitude"].isNull())
cinemasObject.latitude = value["Latitude"].asString();
if(!value["Longitude"].isNull())
cinemasObject.longitude = value["Longitude"].asString();
if(!value["Phone"].isNull())
cinemasObject.phone = value["Phone"].asString();
if(!value["RegionName"].isNull())
cinemasObject.regionName = value["RegionName"].asString();
if(!value["ScheduleCloseTime"].isNull())
cinemasObject.scheduleCloseTime = std::stol(value["ScheduleCloseTime"].asString());
if(!value["StandardId"].isNull())
cinemasObject.standardId = value["StandardId"].asString();
cinemas_.push_back(cinemasObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["TotalCount"].isNull())
totalCount_ = std::stol(value["TotalCount"].asString());
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
std::string TaobaoFilmGetCinemasResult::getMsg()const
{
return msg_;
}
std::string TaobaoFilmGetCinemasResult::getSubMsg()const
{
return subMsg_;
}
long TaobaoFilmGetCinemasResult::getTotalCount()const
{
return totalCount_;
}
std::string TaobaoFilmGetCinemasResult::getLogsId()const
{
return logsId_;
}
std::string TaobaoFilmGetCinemasResult::getErrorCode()const
{
return errorCode_;
}
std::string TaobaoFilmGetCinemasResult::getSubCode()const
{
return subCode_;
}
std::vector<TaobaoFilmGetCinemasResult::CinemasItem> TaobaoFilmGetCinemasResult::getCinemas()const
{
return cinemas_;
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetHotShowsRequest.h>
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetHotShowsRequest;
TaobaoFilmGetHotShowsRequest::TaobaoFilmGetHotShowsRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetHotShows")
{}
TaobaoFilmGetHotShowsRequest::~TaobaoFilmGetHotShowsRequest()
{}
long TaobaoFilmGetHotShowsRequest::getCityCode()const
{
return cityCode_;
}
void TaobaoFilmGetHotShowsRequest::setCityCode(long cityCode)
{
cityCode_ = cityCode;
setCoreParameter("CityCode", std::to_string(cityCode));
}
std::string TaobaoFilmGetHotShowsRequest::getParamsJson()const
{
return paramsJson_;
}
void TaobaoFilmGetHotShowsRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,134 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetHotShowsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
TaobaoFilmGetHotShowsResult::TaobaoFilmGetHotShowsResult() :
ServiceResult()
{}
TaobaoFilmGetHotShowsResult::TaobaoFilmGetHotShowsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TaobaoFilmGetHotShowsResult::~TaobaoFilmGetHotShowsResult()
{}
void TaobaoFilmGetHotShowsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allShows = value["Shows"]["ShowsItem"];
for (auto value : allShows)
{
ShowsItem showsObject;
if(!value["BackgroundPicture"].isNull())
showsObject.backgroundPicture = value["BackgroundPicture"].asString();
if(!value["Country"].isNull())
showsObject.country = value["Country"].asString();
if(!value["Description"].isNull())
showsObject.description = value["Description"].asString();
if(!value["Director"].isNull())
showsObject.director = value["Director"].asString();
if(!value["Duration"].isNull())
showsObject.duration = std::stol(value["Duration"].asString());
if(!value["Highlight"].isNull())
showsObject.highlight = value["Highlight"].asString();
if(!value["Id"].isNull())
showsObject.id = std::stol(value["Id"].asString());
if(!value["Language"].isNull())
showsObject.language = value["Language"].asString();
if(!value["LeadingRole"].isNull())
showsObject.leadingRole = value["LeadingRole"].asString();
if(!value["OpenDay"].isNull())
showsObject.openDay = value["OpenDay"].asString();
if(!value["OpenTime"].isNull())
showsObject.openTime = value["OpenTime"].asString();
if(!value["Poster"].isNull())
showsObject.poster = value["Poster"].asString();
if(!value["Remark"].isNull())
showsObject.remark = value["Remark"].asString();
if(!value["ShowMark"].isNull())
showsObject.showMark = value["ShowMark"].asString();
if(!value["ShowName"].isNull())
showsObject.showName = value["ShowName"].asString();
if(!value["ShowNameEn"].isNull())
showsObject.showNameEn = value["ShowNameEn"].asString();
if(!value["Type"].isNull())
showsObject.type = value["Type"].asString();
auto allShowVersionList = value["ShowVersionList"]["ShowVersionList"];
for (auto value : allShowVersionList)
showsObject.showVersionList.push_back(value.asString());
auto allTrailerList = value["TrailerList"]["TrailerList"];
for (auto value : allTrailerList)
showsObject.trailerList.push_back(value.asString());
shows_.push_back(showsObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
std::string TaobaoFilmGetHotShowsResult::getMsg()const
{
return msg_;
}
std::string TaobaoFilmGetHotShowsResult::getSubMsg()const
{
return subMsg_;
}
std::vector<TaobaoFilmGetHotShowsResult::ShowsItem> TaobaoFilmGetHotShowsResult::getShows()const
{
return shows_;
}
std::string TaobaoFilmGetHotShowsResult::getLogsId()const
{
return logsId_;
}
std::string TaobaoFilmGetHotShowsResult::getErrorCode()const
{
return errorCode_;
}
std::string TaobaoFilmGetHotShowsResult::getSubCode()const
{
return subCode_;
}

View File

@@ -0,0 +1,38 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetRegionListRequest.h>
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetRegionListRequest;
TaobaoFilmGetRegionListRequest::TaobaoFilmGetRegionListRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetRegionList")
{}
TaobaoFilmGetRegionListRequest::~TaobaoFilmGetRegionListRequest()
{}
std::string TaobaoFilmGetRegionListRequest::getParamsJson()const
{
return paramsJson_;
}
void TaobaoFilmGetRegionListRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetRegionListResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
TaobaoFilmGetRegionListResult::TaobaoFilmGetRegionListResult() :
ServiceResult()
{}
TaobaoFilmGetRegionListResult::TaobaoFilmGetRegionListResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TaobaoFilmGetRegionListResult::~TaobaoFilmGetRegionListResult()
{}
void TaobaoFilmGetRegionListResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allRegions = value["Regions"]["RegionsItem"];
for (auto value : allRegions)
{
RegionsItem regionsObject;
if(!value["CityCode"].isNull())
regionsObject.cityCode = std::stol(value["CityCode"].asString());
if(!value["Id"].isNull())
regionsObject.id = std::stol(value["Id"].asString());
if(!value["ParentId"].isNull())
regionsObject.parentId = std::stol(value["ParentId"].asString());
if(!value["PinYin"].isNull())
regionsObject.pinYin = value["PinYin"].asString();
if(!value["RegionName"].isNull())
regionsObject.regionName = value["RegionName"].asString();
regions_.push_back(regionsObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
std::string TaobaoFilmGetRegionListResult::getMsg()const
{
return msg_;
}
std::string TaobaoFilmGetRegionListResult::getSubMsg()const
{
return subMsg_;
}
std::string TaobaoFilmGetRegionListResult::getLogsId()const
{
return logsId_;
}
std::vector<TaobaoFilmGetRegionListResult::RegionsItem> TaobaoFilmGetRegionListResult::getRegions()const
{
return regions_;
}
std::string TaobaoFilmGetRegionListResult::getErrorCode()const
{
return errorCode_;
}
std::string TaobaoFilmGetRegionListResult::getSubCode()const
{
return subCode_;
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSchedulesRequest.h>
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetSchedulesRequest;
TaobaoFilmGetSchedulesRequest::TaobaoFilmGetSchedulesRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetSchedules")
{}
TaobaoFilmGetSchedulesRequest::~TaobaoFilmGetSchedulesRequest()
{}
long TaobaoFilmGetSchedulesRequest::getCinemaId()const
{
return cinemaId_;
}
void TaobaoFilmGetSchedulesRequest::setCinemaId(long cinemaId)
{
cinemaId_ = cinemaId;
setCoreParameter("CinemaId", std::to_string(cinemaId));
}
std::string TaobaoFilmGetSchedulesRequest::getParamsJson()const
{
return paramsJson_;
}
void TaobaoFilmGetSchedulesRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,124 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSchedulesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
TaobaoFilmGetSchedulesResult::TaobaoFilmGetSchedulesResult() :
ServiceResult()
{}
TaobaoFilmGetSchedulesResult::TaobaoFilmGetSchedulesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TaobaoFilmGetSchedulesResult::~TaobaoFilmGetSchedulesResult()
{}
void TaobaoFilmGetSchedulesResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allSchedules = value["Schedules"]["SchedulesItem"];
for (auto value : allSchedules)
{
SchedulesItem schedulesObject;
if(!value["CinemaId"].isNull())
schedulesObject.cinemaId = std::stol(value["CinemaId"].asString());
if(!value["CloseTime"].isNull())
schedulesObject.closeTime = value["CloseTime"].asString();
if(!value["HallName"].isNull())
schedulesObject.hallName = value["HallName"].asString();
if(!value["Id"].isNull())
schedulesObject.id = std::stol(value["Id"].asString());
if(!value["IsExpired"].isNull())
schedulesObject.isExpired = value["IsExpired"].asString() == "true";
if(!value["MaxCanBuy"].isNull())
schedulesObject.maxCanBuy = std::stol(value["MaxCanBuy"].asString());
if(!value["Price"].isNull())
schedulesObject.price = std::stol(value["Price"].asString());
if(!value["ScheduleArea"].isNull())
schedulesObject.scheduleArea = value["ScheduleArea"].asString();
if(!value["SectionId"].isNull())
schedulesObject.sectionId = value["SectionId"].asString();
if(!value["ServiceFee"].isNull())
schedulesObject.serviceFee = std::stol(value["ServiceFee"].asString());
if(!value["ShowDate"].isNull())
schedulesObject.showDate = value["ShowDate"].asString();
if(!value["ShowId"].isNull())
schedulesObject.showId = std::stol(value["ShowId"].asString());
if(!value["ShowTime"].isNull())
schedulesObject.showTime = value["ShowTime"].asString();
if(!value["ShowVersion"].isNull())
schedulesObject.showVersion = value["ShowVersion"].asString();
if(!value["HallId"].isNull())
schedulesObject.hallId = value["HallId"].asString();
schedules_.push_back(schedulesObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
std::string TaobaoFilmGetSchedulesResult::getMsg()const
{
return msg_;
}
std::vector<TaobaoFilmGetSchedulesResult::SchedulesItem> TaobaoFilmGetSchedulesResult::getSchedules()const
{
return schedules_;
}
std::string TaobaoFilmGetSchedulesResult::getSubMsg()const
{
return subMsg_;
}
std::string TaobaoFilmGetSchedulesResult::getLogsId()const
{
return logsId_;
}
std::string TaobaoFilmGetSchedulesResult::getErrorCode()const
{
return errorCode_;
}
std::string TaobaoFilmGetSchedulesResult::getSubCode()const
{
return subCode_;
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSeatsRequest.h>
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetSeatsRequest;
TaobaoFilmGetSeatsRequest::TaobaoFilmGetSeatsRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetSeats")
{}
TaobaoFilmGetSeatsRequest::~TaobaoFilmGetSeatsRequest()
{}
long TaobaoFilmGetSeatsRequest::getScheduleId()const
{
return scheduleId_;
}
void TaobaoFilmGetSeatsRequest::setScheduleId(long scheduleId)
{
scheduleId_ = scheduleId;
setCoreParameter("ScheduleId", std::to_string(scheduleId));
}
std::string TaobaoFilmGetSeatsRequest::getParamsJson()const
{
return paramsJson_;
}
void TaobaoFilmGetSeatsRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,143 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSeatsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
TaobaoFilmGetSeatsResult::TaobaoFilmGetSeatsResult() :
ServiceResult()
{}
TaobaoFilmGetSeatsResult::TaobaoFilmGetSeatsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TaobaoFilmGetSeatsResult::~TaobaoFilmGetSeatsResult()
{}
void TaobaoFilmGetSeatsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto seatMapNode = value["SeatMap"];
if(!seatMapNode["MaxCanBuy"].isNull())
seatMap_.maxCanBuy = std::stol(seatMapNode["MaxCanBuy"].asString());
if(!seatMapNode["MaxColumn"].isNull())
seatMap_.maxColumn = std::stol(seatMapNode["MaxColumn"].asString());
if(!seatMapNode["MaxLeftPx"].isNull())
seatMap_.maxLeftPx = std::stol(seatMapNode["MaxLeftPx"].asString());
if(!seatMapNode["MaxRow"].isNull())
seatMap_.maxRow = std::stol(seatMapNode["MaxRow"].asString());
if(!seatMapNode["MaxTopPx"].isNull())
seatMap_.maxTopPx = std::stol(seatMapNode["MaxTopPx"].asString());
if(!seatMapNode["MinColumn"].isNull())
seatMap_.minColumn = std::stol(seatMapNode["MinColumn"].asString());
if(!seatMapNode["MinLeftPx"].isNull())
seatMap_.minLeftPx = std::stol(seatMapNode["MinLeftPx"].asString());
if(!seatMapNode["MinRow"].isNull())
seatMap_.minRow = std::stol(seatMapNode["MinRow"].asString());
if(!seatMapNode["MinTopPx"].isNull())
seatMap_.minTopPx = std::stol(seatMapNode["MinTopPx"].asString());
if(!seatMapNode["Notice"].isNull())
seatMap_.notice = seatMapNode["Notice"].asString();
if(!seatMapNode["Regular"].isNull())
seatMap_.regular = seatMapNode["Regular"].asString() == "true";
if(!seatMapNode["SeatCount"].isNull())
seatMap_.seatCount = std::stol(seatMapNode["SeatCount"].asString());
if(!seatMapNode["SoldCount"].isNull())
seatMap_.soldCount = std::stol(seatMapNode["SoldCount"].asString());
if(!seatMapNode["TipMessage"].isNull())
seatMap_.tipMessage = seatMapNode["TipMessage"].asString();
auto allSeats = value["Seats"]["SeatsItem"];
for (auto value : allSeats)
{
SeatMap::SeatsItem seatsItemObject;
if(!value["Area"].isNull())
seatsItemObject.area = value["Area"].asString();
if(!value["Column"].isNull())
seatsItemObject.column = std::stol(value["Column"].asString());
if(!value["ExtId"].isNull())
seatsItemObject.extId = value["ExtId"].asString();
if(!value["Flag"].isNull())
seatsItemObject.flag = std::stol(value["Flag"].asString());
if(!value["LeftPx"].isNull())
seatsItemObject.leftPx = std::stol(value["LeftPx"].asString());
if(!value["Name"].isNull())
seatsItemObject.name = value["Name"].asString();
if(!value["Row"].isNull())
seatsItemObject.row = std::stol(value["Row"].asString());
if(!value["RowName"].isNull())
seatsItemObject.rowName = value["RowName"].asString();
if(!value["Status"].isNull())
seatsItemObject.status = std::stol(value["Status"].asString());
if(!value["TopPx"].isNull())
seatsItemObject.topPx = std::stol(value["TopPx"].asString());
seatMap_.seats.push_back(seatsItemObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
std::string TaobaoFilmGetSeatsResult::getMsg()const
{
return msg_;
}
std::string TaobaoFilmGetSeatsResult::getSubMsg()const
{
return subMsg_;
}
std::string TaobaoFilmGetSeatsResult::getLogsId()const
{
return logsId_;
}
std::string TaobaoFilmGetSeatsResult::getErrorCode()const
{
return errorCode_;
}
TaobaoFilmGetSeatsResult::SeatMap TaobaoFilmGetSeatsResult::getSeatMap()const
{
return seatMap_;
}
std::string TaobaoFilmGetSeatsResult::getSubCode()const
{
return subCode_;
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetShowCommentsRequest.h>
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetShowCommentsRequest;
TaobaoFilmGetShowCommentsRequest::TaobaoFilmGetShowCommentsRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetShowComments")
{}
TaobaoFilmGetShowCommentsRequest::~TaobaoFilmGetShowCommentsRequest()
{}
long TaobaoFilmGetShowCommentsRequest::getShowId()const
{
return showId_;
}
void TaobaoFilmGetShowCommentsRequest::setShowId(long showId)
{
showId_ = showId;
setCoreParameter("ShowId", std::to_string(showId));
}
long TaobaoFilmGetShowCommentsRequest::getPageIndex()const
{
return pageIndex_;
}
void TaobaoFilmGetShowCommentsRequest::setPageIndex(long pageIndex)
{
pageIndex_ = pageIndex;
setCoreParameter("PageIndex", std::to_string(pageIndex));
}
std::string TaobaoFilmGetShowCommentsRequest::getParamsJson()const
{
return paramsJson_;
}
void TaobaoFilmGetShowCommentsRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,117 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetShowCommentsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
TaobaoFilmGetShowCommentsResult::TaobaoFilmGetShowCommentsResult() :
ServiceResult()
{}
TaobaoFilmGetShowCommentsResult::TaobaoFilmGetShowCommentsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TaobaoFilmGetShowCommentsResult::~TaobaoFilmGetShowCommentsResult()
{}
void TaobaoFilmGetShowCommentsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allCommentList = value["CommentList"]["CommentListItem"];
for (auto value : allCommentList)
{
CommentListItem commentListObject;
if(!value["CommentTime"].isNull())
commentListObject.commentTime = value["CommentTime"].asString();
if(!value["Content"].isNull())
commentListObject.content = value["Content"].asString();
if(!value["FavorCount"].isNull())
commentListObject.favorCount = std::stol(value["FavorCount"].asString());
if(!value["Id"].isNull())
commentListObject.id = std::stol(value["Id"].asString());
if(!value["NickName"].isNull())
commentListObject.nickName = value["NickName"].asString();
if(!value["Remark"].isNull())
commentListObject.remark = std::stol(value["Remark"].asString());
if(!value["ShowId"].isNull())
commentListObject.showId = std::stol(value["ShowId"].asString());
if(!value["Subject"].isNull())
commentListObject.subject = value["Subject"].asString();
commentList_.push_back(commentListObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["Count"].isNull())
count_ = std::stol(value["Count"].asString());
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
std::string TaobaoFilmGetShowCommentsResult::getMsg()const
{
return msg_;
}
std::string TaobaoFilmGetShowCommentsResult::getSubMsg()const
{
return subMsg_;
}
std::string TaobaoFilmGetShowCommentsResult::getLogsId()const
{
return logsId_;
}
std::vector<TaobaoFilmGetShowCommentsResult::CommentListItem> TaobaoFilmGetShowCommentsResult::getCommentList()const
{
return commentList_;
}
std::string TaobaoFilmGetShowCommentsResult::getErrorCode()const
{
return errorCode_;
}
long TaobaoFilmGetShowCommentsResult::getCount()const
{
return count_;
}
std::string TaobaoFilmGetShowCommentsResult::getSubCode()const
{
return subCode_;
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSoonShowsRequest.h>
using AlibabaCloud::AppMallsService::Model::TaobaoFilmGetSoonShowsRequest;
TaobaoFilmGetSoonShowsRequest::TaobaoFilmGetSoonShowsRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmGetSoonShows")
{}
TaobaoFilmGetSoonShowsRequest::~TaobaoFilmGetSoonShowsRequest()
{}
long TaobaoFilmGetSoonShowsRequest::getCityCode()const
{
return cityCode_;
}
void TaobaoFilmGetSoonShowsRequest::setCityCode(long cityCode)
{
cityCode_ = cityCode;
setCoreParameter("CityCode", std::to_string(cityCode));
}
std::string TaobaoFilmGetSoonShowsRequest::getParamsJson()const
{
return paramsJson_;
}
void TaobaoFilmGetSoonShowsRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,134 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmGetSoonShowsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
TaobaoFilmGetSoonShowsResult::TaobaoFilmGetSoonShowsResult() :
ServiceResult()
{}
TaobaoFilmGetSoonShowsResult::TaobaoFilmGetSoonShowsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TaobaoFilmGetSoonShowsResult::~TaobaoFilmGetSoonShowsResult()
{}
void TaobaoFilmGetSoonShowsResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto allShows = value["Shows"]["ShowsItem"];
for (auto value : allShows)
{
ShowsItem showsObject;
if(!value["BackgroundPicture"].isNull())
showsObject.backgroundPicture = value["BackgroundPicture"].asString();
if(!value["Country"].isNull())
showsObject.country = value["Country"].asString();
if(!value["Description"].isNull())
showsObject.description = value["Description"].asString();
if(!value["Director"].isNull())
showsObject.director = value["Director"].asString();
if(!value["Duration"].isNull())
showsObject.duration = std::stol(value["Duration"].asString());
if(!value["Highlight"].isNull())
showsObject.highlight = value["Highlight"].asString();
if(!value["Id"].isNull())
showsObject.id = std::stol(value["Id"].asString());
if(!value["Language"].isNull())
showsObject.language = value["Language"].asString();
if(!value["LeadingRole"].isNull())
showsObject.leadingRole = value["LeadingRole"].asString();
if(!value["OpenDay"].isNull())
showsObject.openDay = value["OpenDay"].asString();
if(!value["OpenTime"].isNull())
showsObject.openTime = value["OpenTime"].asString();
if(!value["Poster"].isNull())
showsObject.poster = value["Poster"].asString();
if(!value["Remark"].isNull())
showsObject.remark = value["Remark"].asString();
if(!value["ShowMark"].isNull())
showsObject.showMark = value["ShowMark"].asString();
if(!value["ShowName"].isNull())
showsObject.showName = value["ShowName"].asString();
if(!value["ShowNameEn"].isNull())
showsObject.showNameEn = value["ShowNameEn"].asString();
if(!value["Type"].isNull())
showsObject.type = value["Type"].asString();
auto allShowVersionList = value["ShowVersionList"]["ShowVersionList"];
for (auto value : allShowVersionList)
showsObject.showVersionList.push_back(value.asString());
auto allTrailerList = value["TrailerList"]["TrailerList"];
for (auto value : allTrailerList)
showsObject.trailerList.push_back(value.asString());
shows_.push_back(showsObject);
}
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
std::string TaobaoFilmGetSoonShowsResult::getMsg()const
{
return msg_;
}
std::string TaobaoFilmGetSoonShowsResult::getSubMsg()const
{
return subMsg_;
}
std::vector<TaobaoFilmGetSoonShowsResult::ShowsItem> TaobaoFilmGetSoonShowsResult::getShows()const
{
return shows_;
}
std::string TaobaoFilmGetSoonShowsResult::getLogsId()const
{
return logsId_;
}
std::string TaobaoFilmGetSoonShowsResult::getErrorCode()const
{
return errorCode_;
}
std::string TaobaoFilmGetSoonShowsResult::getSubCode()const
{
return subCode_;
}

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmIssueOrderRequest.h>
using AlibabaCloud::AppMallsService::Model::TaobaoFilmIssueOrderRequest;
TaobaoFilmIssueOrderRequest::TaobaoFilmIssueOrderRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmIssueOrder")
{}
TaobaoFilmIssueOrderRequest::~TaobaoFilmIssueOrderRequest()
{}
std::string TaobaoFilmIssueOrderRequest::getLockSeatApplyKey()const
{
return lockSeatApplyKey_;
}
void TaobaoFilmIssueOrderRequest::setLockSeatApplyKey(const std::string& lockSeatApplyKey)
{
lockSeatApplyKey_ = lockSeatApplyKey;
setCoreParameter("LockSeatApplyKey", lockSeatApplyKey);
}
std::string TaobaoFilmIssueOrderRequest::getExtUserId()const
{
return extUserId_;
}
void TaobaoFilmIssueOrderRequest::setExtUserId(const std::string& extUserId)
{
extUserId_ = extUserId;
setCoreParameter("ExtUserId", extUserId);
}
std::string TaobaoFilmIssueOrderRequest::getExtOrderId()const
{
return extOrderId_;
}
void TaobaoFilmIssueOrderRequest::setExtOrderId(const std::string& extOrderId)
{
extOrderId_ = extOrderId;
setCoreParameter("ExtOrderId", extOrderId);
}
long TaobaoFilmIssueOrderRequest::getTotalPrice()const
{
return totalPrice_;
}
void TaobaoFilmIssueOrderRequest::setTotalPrice(long totalPrice)
{
totalPrice_ = totalPrice;
setCoreParameter("TotalPrice", std::to_string(totalPrice));
}
std::string TaobaoFilmIssueOrderRequest::getParamsJson()const
{
return paramsJson_;
}
void TaobaoFilmIssueOrderRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,111 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmIssueOrderResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
TaobaoFilmIssueOrderResult::TaobaoFilmIssueOrderResult() :
ServiceResult()
{}
TaobaoFilmIssueOrderResult::TaobaoFilmIssueOrderResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TaobaoFilmIssueOrderResult::~TaobaoFilmIssueOrderResult()
{}
void TaobaoFilmIssueOrderResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Status"].isNull())
status_ = value["Status"].asString();
if(!value["TbOrderId"].isNull())
tbOrderId_ = value["TbOrderId"].asString();
if(!value["TicketContents"].isNull())
ticketContents_ = value["TicketContents"].asString();
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
std::string TaobaoFilmIssueOrderResult::getMsg()const
{
return msg_;
}
std::string TaobaoFilmIssueOrderResult::getStatus()const
{
return status_;
}
std::string TaobaoFilmIssueOrderResult::getSubMsg()const
{
return subMsg_;
}
std::string TaobaoFilmIssueOrderResult::getMessage()const
{
return message_;
}
std::string TaobaoFilmIssueOrderResult::getTicketContents()const
{
return ticketContents_;
}
std::string TaobaoFilmIssueOrderResult::getTbOrderId()const
{
return tbOrderId_;
}
std::string TaobaoFilmIssueOrderResult::getLogsId()const
{
return logsId_;
}
std::string TaobaoFilmIssueOrderResult::getErrorCode()const
{
return errorCode_;
}
std::string TaobaoFilmIssueOrderResult::getSubCode()const
{
return subCode_;
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmLockSeatRequest.h>
using AlibabaCloud::AppMallsService::Model::TaobaoFilmLockSeatRequest;
TaobaoFilmLockSeatRequest::TaobaoFilmLockSeatRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmLockSeat")
{}
TaobaoFilmLockSeatRequest::~TaobaoFilmLockSeatRequest()
{}
long TaobaoFilmLockSeatRequest::getScheduleId()const
{
return scheduleId_;
}
void TaobaoFilmLockSeatRequest::setScheduleId(long scheduleId)
{
scheduleId_ = scheduleId;
setCoreParameter("ScheduleId", std::to_string(scheduleId));
}
std::string TaobaoFilmLockSeatRequest::getSeatIds()const
{
return seatIds_;
}
void TaobaoFilmLockSeatRequest::setSeatIds(const std::string& seatIds)
{
seatIds_ = seatIds;
setCoreParameter("SeatIds", seatIds);
}
std::string TaobaoFilmLockSeatRequest::getSeatNames()const
{
return seatNames_;
}
void TaobaoFilmLockSeatRequest::setSeatNames(const std::string& seatNames)
{
seatNames_ = seatNames;
setCoreParameter("SeatNames", seatNames);
}
std::string TaobaoFilmLockSeatRequest::getMobile()const
{
return mobile_;
}
void TaobaoFilmLockSeatRequest::setMobile(const std::string& mobile)
{
mobile_ = mobile;
setCoreParameter("Mobile", mobile);
}
std::string TaobaoFilmLockSeatRequest::getExtUserId()const
{
return extUserId_;
}
void TaobaoFilmLockSeatRequest::setExtUserId(const std::string& extUserId)
{
extUserId_ = extUserId;
setCoreParameter("ExtUserId", extUserId);
}
std::string TaobaoFilmLockSeatRequest::getParamsJson()const
{
return paramsJson_;
}
void TaobaoFilmLockSeatRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,97 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmLockSeatResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
TaobaoFilmLockSeatResult::TaobaoFilmLockSeatResult() :
ServiceResult()
{}
TaobaoFilmLockSeatResult::TaobaoFilmLockSeatResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TaobaoFilmLockSeatResult::~TaobaoFilmLockSeatResult()
{}
void TaobaoFilmLockSeatResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
auto seatLockedNode = value["SeatLocked"];
if(!seatLockedNode["ApplyKey"].isNull())
seatLocked_.applyKey = seatLockedNode["ApplyKey"].asString();
if(!seatLockedNode["DefaultLockSecond"].isNull())
seatLocked_.defaultLockSecond = std::stol(seatLockedNode["DefaultLockSecond"].asString());
if(!seatLockedNode["LockTime"].isNull())
seatLocked_.lockTime = std::stol(seatLockedNode["LockTime"].asString());
if(!seatLockedNode["Status"].isNull())
seatLocked_.status = seatLockedNode["Status"].asString();
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
TaobaoFilmLockSeatResult::SeatLocked TaobaoFilmLockSeatResult::getSeatLocked()const
{
return seatLocked_;
}
std::string TaobaoFilmLockSeatResult::getMsg()const
{
return msg_;
}
std::string TaobaoFilmLockSeatResult::getSubMsg()const
{
return subMsg_;
}
std::string TaobaoFilmLockSeatResult::getLogsId()const
{
return logsId_;
}
std::string TaobaoFilmLockSeatResult::getErrorCode()const
{
return errorCode_;
}
std::string TaobaoFilmLockSeatResult::getSubCode()const
{
return subCode_;
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmUnLockSeatRequest.h>
using AlibabaCloud::AppMallsService::Model::TaobaoFilmUnLockSeatRequest;
TaobaoFilmUnLockSeatRequest::TaobaoFilmUnLockSeatRequest() :
RpcServiceRequest("appmallsservice", "2018-02-24", "TaobaoFilmUnLockSeat")
{}
TaobaoFilmUnLockSeatRequest::~TaobaoFilmUnLockSeatRequest()
{}
std::string TaobaoFilmUnLockSeatRequest::getLockSeatApplyKey()const
{
return lockSeatApplyKey_;
}
void TaobaoFilmUnLockSeatRequest::setLockSeatApplyKey(const std::string& lockSeatApplyKey)
{
lockSeatApplyKey_ = lockSeatApplyKey;
setCoreParameter("LockSeatApplyKey", lockSeatApplyKey);
}
std::string TaobaoFilmUnLockSeatRequest::getExtUserId()const
{
return extUserId_;
}
void TaobaoFilmUnLockSeatRequest::setExtUserId(const std::string& extUserId)
{
extUserId_ = extUserId;
setCoreParameter("ExtUserId", extUserId);
}
std::string TaobaoFilmUnLockSeatRequest::getParamsJson()const
{
return paramsJson_;
}
void TaobaoFilmUnLockSeatRequest::setParamsJson(const std::string& paramsJson)
{
paramsJson_ = paramsJson;
setCoreParameter("ParamsJson", paramsJson);
}

View File

@@ -0,0 +1,104 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/appmallsservice/model/TaobaoFilmUnLockSeatResult.h>
#include <json/json.h>
using namespace AlibabaCloud::AppMallsService;
using namespace AlibabaCloud::AppMallsService::Model;
TaobaoFilmUnLockSeatResult::TaobaoFilmUnLockSeatResult() :
ServiceResult()
{}
TaobaoFilmUnLockSeatResult::TaobaoFilmUnLockSeatResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TaobaoFilmUnLockSeatResult::~TaobaoFilmUnLockSeatResult()
{}
void TaobaoFilmUnLockSeatResult::parse(const std::string &payload)
{
Json::CharReaderBuilder builder;
Json::CharReader *reader = builder.newCharReader();
Json::Value *val;
Json::Value value;
JSONCPP_STRING *errs;
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
value = *val;
setRequestId(value["RequestId"].asString());
if(!value["ErrorCode"].isNull())
errorCode_ = value["ErrorCode"].asString();
if(!value["Msg"].isNull())
msg_ = value["Msg"].asString();
if(!value["SubCode"].isNull())
subCode_ = value["SubCode"].asString();
if(!value["SubMsg"].isNull())
subMsg_ = value["SubMsg"].asString();
if(!value["ReturnCode"].isNull())
returnCode_ = value["ReturnCode"].asString();
if(!value["ReturnMessage"].isNull())
returnMessage_ = value["ReturnMessage"].asString();
if(!value["ReturnValue"].isNull())
returnValue_ = value["ReturnValue"].asString() == "true";
if(!value["LogsId"].isNull())
logsId_ = value["LogsId"].asString();
}
std::string TaobaoFilmUnLockSeatResult::getMsg()const
{
return msg_;
}
std::string TaobaoFilmUnLockSeatResult::getSubMsg()const
{
return subMsg_;
}
std::string TaobaoFilmUnLockSeatResult::getReturnCode()const
{
return returnCode_;
}
std::string TaobaoFilmUnLockSeatResult::getLogsId()const
{
return logsId_;
}
std::string TaobaoFilmUnLockSeatResult::getReturnMessage()const
{
return returnMessage_;
}
bool TaobaoFilmUnLockSeatResult::getReturnValue()const
{
return returnValue_;
}
std::string TaobaoFilmUnLockSeatResult::getErrorCode()const
{
return errorCode_;
}
std::string TaobaoFilmUnLockSeatResult::getSubCode()const
{
return subCode_;
}