Supported AndroidMessageOppoCategory, AndroidMessageOppoNotifyLevel for Push and MassPush.

This commit is contained in:
sdk-team
2024-11-13 03:46:58 +00:00
parent c32d539146
commit 689a48e2ef
68 changed files with 108 additions and 414 deletions

View File

@@ -1 +1 @@
1.36.2015 1.36.2016

View File

@@ -32,8 +32,6 @@ public:
~BindAliasRequest(); ~BindAliasRequest();
std::string getDeviceId() const; std::string getDeviceId() const;
void setDeviceId(const std::string &deviceId); void setDeviceId(const std::string &deviceId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getAliasName() const; std::string getAliasName() const;
void setAliasName(const std::string &aliasName); void setAliasName(const std::string &aliasName);
long getAppKey() const; long getAppKey() const;
@@ -41,7 +39,6 @@ public:
private: private:
std::string deviceId_; std::string deviceId_;
std::string accessKeyId_;
std::string aliasName_; std::string aliasName_;
long appKey_; long appKey_;
}; };

View File

@@ -34,15 +34,12 @@ public:
void setPhoneNumber(const std::string &phoneNumber); void setPhoneNumber(const std::string &phoneNumber);
std::string getDeviceId() const; std::string getDeviceId() const;
void setDeviceId(const std::string &deviceId); void setDeviceId(const std::string &deviceId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string phoneNumber_; std::string phoneNumber_;
std::string deviceId_; std::string deviceId_;
std::string accessKeyId_;
long appKey_; long appKey_;
}; };
} // namespace Model } // namespace Model

View File

@@ -32,8 +32,6 @@ public:
~BindTagRequest(); ~BindTagRequest();
std::string getKeyType() const; std::string getKeyType() const;
void setKeyType(const std::string &keyType); void setKeyType(const std::string &keyType);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getTagName() const; std::string getTagName() const;
void setTagName(const std::string &tagName); void setTagName(const std::string &tagName);
std::string getClientKey() const; std::string getClientKey() const;
@@ -43,7 +41,6 @@ public:
private: private:
std::string keyType_; std::string keyType_;
std::string accessKeyId_;
std::string tagName_; std::string tagName_;
std::string clientKey_; std::string clientKey_;
long appKey_; long appKey_;

View File

@@ -32,14 +32,11 @@ public:
~CancelPushRequest(); ~CancelPushRequest();
long getMessageId() const; long getMessageId() const;
void setMessageId(long messageId); void setMessageId(long messageId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
long messageId_; long messageId_;
std::string accessKeyId_;
long appKey_; long appKey_;
}; };
} // namespace Model } // namespace Model

View File

@@ -32,14 +32,11 @@ public:
~CheckDeviceRequest(); ~CheckDeviceRequest();
std::string getDeviceId() const; std::string getDeviceId() const;
void setDeviceId(const std::string &deviceId); void setDeviceId(const std::string &deviceId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string deviceId_; std::string deviceId_;
std::string accessKeyId_;
long appKey_; long appKey_;
}; };
} // namespace Model } // namespace Model

View File

@@ -32,14 +32,11 @@ public:
~CheckDevicesRequest(); ~CheckDevicesRequest();
std::string getDeviceIds() const; std::string getDeviceIds() const;
void setDeviceIds(const std::string &deviceIds); void setDeviceIds(const std::string &deviceIds);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string deviceIds_; std::string deviceIds_;
std::string accessKeyId_;
long appKey_; long appKey_;
}; };
} // namespace Model } // namespace Model

View File

@@ -32,14 +32,11 @@ public:
~CompleteContinuouslyPushRequest(); ~CompleteContinuouslyPushRequest();
std::string getMessageId() const; std::string getMessageId() const;
void setMessageId(const std::string &messageId); void setMessageId(const std::string &messageId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string messageId_; std::string messageId_;
std::string accessKeyId_;
long appKey_; long appKey_;
}; };
} // namespace Model } // namespace Model

View File

@@ -32,8 +32,6 @@ public:
~ContinuouslyPushRequest(); ~ContinuouslyPushRequest();
std::string getMessageId() const; std::string getMessageId() const;
void setMessageId(const std::string &messageId); void setMessageId(const std::string &messageId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getTarget() const; std::string getTarget() const;
void setTarget(const std::string &target); void setTarget(const std::string &target);
long getAppKey() const; long getAppKey() const;
@@ -43,7 +41,6 @@ public:
private: private:
std::string messageId_; std::string messageId_;
std::string accessKeyId_;
std::string target_; std::string target_;
long appKey_; long appKey_;
std::string targetValue_; std::string targetValue_;

View File

@@ -30,11 +30,8 @@ class ALIBABACLOUD_PUSH_EXPORT ListSummaryAppsRequest : public RpcServiceRequest
public: public:
ListSummaryAppsRequest(); ListSummaryAppsRequest();
~ListSummaryAppsRequest(); ~ListSummaryAppsRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
private: private:
std::string accessKeyId_;
}; };
} // namespace Model } // namespace Model
} // namespace Push } // namespace Push

View File

@@ -30,13 +30,10 @@ class ALIBABACLOUD_PUSH_EXPORT ListTagsRequest : public RpcServiceRequest {
public: public:
ListTagsRequest(); ListTagsRequest();
~ListTagsRequest(); ~ListTagsRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string accessKeyId_;
long appKey_; long appKey_;
}; };
} // namespace Model } // namespace Model

View File

@@ -30,6 +30,7 @@ class ALIBABACLOUD_PUSH_EXPORT MassPushRequest : public RpcServiceRequest {
public: public:
struct PushTask { struct PushTask {
int androidNotificationBarType; int androidNotificationBarType;
int androidMessageOppoNotifyLevel;
std::string body; std::string body;
std::string deviceType; std::string deviceType;
std::string pushTime; std::string pushTime;
@@ -50,6 +51,7 @@ public:
int androidNotificationBarPriority; int androidNotificationBarPriority;
std::string expireTime; std::string expireTime;
std::string androidImageUrl; std::string androidImageUrl;
std::string androidNotificationThreadId;
int androidHonorTargetUserType; int androidHonorTargetUserType;
std::string harmonyRemindBody; std::string harmonyRemindBody;
std::string androidNotificationVivoChannel; std::string androidNotificationVivoChannel;
@@ -113,6 +115,7 @@ public:
bool androidRemind; bool androidRemind;
std::string harmonyInboxContent; std::string harmonyInboxContent;
std::string androidActivity; std::string androidActivity;
std::string androidMessageOppoCategory;
int androidNotificationNotifyId; int androidNotificationNotifyId;
std::string targetValue; std::string targetValue;
int harmonyBadgeSetNum; int harmonyBadgeSetNum;
@@ -121,15 +124,12 @@ public:
}; };
MassPushRequest(); MassPushRequest();
~MassPushRequest(); ~MassPushRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::vector<PushTask> getPushTask() const; std::vector<PushTask> getPushTask() const;
void setPushTask(const std::vector<PushTask> &pushTask); void setPushTask(const std::vector<PushTask> &pushTask);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string accessKeyId_;
std::vector<PushTask> pushTask_; std::vector<PushTask> pushTask_;
long appKey_; long appKey_;
}; };

View File

@@ -34,8 +34,6 @@ public:
void setTitle(const std::string &title); void setTitle(const std::string &title);
std::string getBody() const; std::string getBody() const;
void setBody(const std::string &body); void setBody(const std::string &body);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getStoreOffline() const; bool getStoreOffline() const;
void setStoreOffline(bool storeOffline); void setStoreOffline(bool storeOffline);
std::string getJobKey() const; std::string getJobKey() const;
@@ -50,7 +48,6 @@ public:
private: private:
std::string title_; std::string title_;
std::string body_; std::string body_;
std::string accessKeyId_;
bool storeOffline_; bool storeOffline_;
std::string jobKey_; std::string jobKey_;
std::string target_; std::string target_;

View File

@@ -34,8 +34,6 @@ public:
void setTitle(const std::string &title); void setTitle(const std::string &title);
std::string getBody() const; std::string getBody() const;
void setBody(const std::string &body); void setBody(const std::string &body);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
bool getStoreOffline() const; bool getStoreOffline() const;
void setStoreOffline(bool storeOffline); void setStoreOffline(bool storeOffline);
std::string getJobKey() const; std::string getJobKey() const;
@@ -50,7 +48,6 @@ public:
private: private:
std::string title_; std::string title_;
std::string body_; std::string body_;
std::string accessKeyId_;
bool storeOffline_; bool storeOffline_;
std::string jobKey_; std::string jobKey_;
std::string target_; std::string target_;

View File

@@ -34,8 +34,6 @@ public:
void setTitle(const std::string &title); void setTitle(const std::string &title);
std::string getBody() const; std::string getBody() const;
void setBody(const std::string &body); void setBody(const std::string &body);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getExtParameters() const; std::string getExtParameters() const;
void setExtParameters(const std::string &extParameters); void setExtParameters(const std::string &extParameters);
bool getStoreOffline() const; bool getStoreOffline() const;
@@ -52,7 +50,6 @@ public:
private: private:
std::string title_; std::string title_;
std::string body_; std::string body_;
std::string accessKeyId_;
std::string extParameters_; std::string extParameters_;
bool storeOffline_; bool storeOffline_;
std::string jobKey_; std::string jobKey_;

View File

@@ -34,8 +34,6 @@ public:
void setTitle(const std::string &title); void setTitle(const std::string &title);
std::string getBody() const; std::string getBody() const;
void setBody(const std::string &body); void setBody(const std::string &body);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getExtParameters() const; std::string getExtParameters() const;
void setExtParameters(const std::string &extParameters); void setExtParameters(const std::string &extParameters);
std::string getApnsEnv() const; std::string getApnsEnv() const;
@@ -52,7 +50,6 @@ public:
private: private:
std::string title_; std::string title_;
std::string body_; std::string body_;
std::string accessKeyId_;
std::string extParameters_; std::string extParameters_;
std::string apnsEnv_; std::string apnsEnv_;
std::string jobKey_; std::string jobKey_;

View File

@@ -32,6 +32,8 @@ public:
~PushRequest(); ~PushRequest();
int getAndroidNotificationBarType() const; int getAndroidNotificationBarType() const;
void setAndroidNotificationBarType(int androidNotificationBarType); void setAndroidNotificationBarType(int androidNotificationBarType);
int getAndroidMessageOppoNotifyLevel() const;
void setAndroidMessageOppoNotifyLevel(int androidMessageOppoNotifyLevel);
std::string getDeviceType() const; std::string getDeviceType() const;
void setDeviceType(const std::string &deviceType); void setDeviceType(const std::string &deviceType);
std::string getPushTime() const; std::string getPushTime() const;
@@ -90,10 +92,10 @@ public:
void setIOSExtParameters(const std::string &iOSExtParameters); void setIOSExtParameters(const std::string &iOSExtParameters);
std::string getAndroidXiaomiImageUrl() const; std::string getAndroidXiaomiImageUrl() const;
void setAndroidXiaomiImageUrl(const std::string &androidXiaomiImageUrl); void setAndroidXiaomiImageUrl(const std::string &androidXiaomiImageUrl);
std::string getSmsTemplateName() const;
void setSmsTemplateName(const std::string &smsTemplateName);
std::string getHarmonyUri() const; std::string getHarmonyUri() const;
void setHarmonyUri(const std::string &harmonyUri); void setHarmonyUri(const std::string &harmonyUri);
std::string getSmsTemplateName() const;
void setSmsTemplateName(const std::string &smsTemplateName);
std::string getHarmonyExtParameters() const; std::string getHarmonyExtParameters() const;
void setHarmonyExtParameters(const std::string &harmonyExtParameters); void setHarmonyExtParameters(const std::string &harmonyExtParameters);
std::string getAndroidBigPictureUrl() const; std::string getAndroidBigPictureUrl() const;
@@ -144,6 +146,8 @@ public:
void setIOSMusic(const std::string &iOSMusic); void setIOSMusic(const std::string &iOSMusic);
bool getIOSMutableContent() const; bool getIOSMutableContent() const;
void setIOSMutableContent(bool iOSMutableContent); void setIOSMutableContent(bool iOSMutableContent);
std::string getAndroidNotificationThreadId() const;
void setAndroidNotificationThreadId(const std::string &androidNotificationThreadId);
int getAndroidHonorTargetUserType() const; int getAndroidHonorTargetUserType() const;
void setAndroidHonorTargetUserType(int androidHonorTargetUserType); void setAndroidHonorTargetUserType(int androidHonorTargetUserType);
std::string getHarmonyRemindBody() const; std::string getHarmonyRemindBody() const;
@@ -194,8 +198,6 @@ public:
void setAndroidBigBody(const std::string &androidBigBody); void setAndroidBigBody(const std::string &androidBigBody);
std::string getTitle() const; std::string getTitle() const;
void setTitle(const std::string &title); void setTitle(const std::string &title);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
int getHarmonyBadgeAddNum() const; int getHarmonyBadgeAddNum() const;
void setHarmonyBadgeAddNum(int harmonyBadgeAddNum); void setHarmonyBadgeAddNum(int harmonyBadgeAddNum);
bool getHarmonyTestMessage() const; bool getHarmonyTestMessage() const;
@@ -220,11 +222,14 @@ public:
void setTarget(const std::string &target); void setTarget(const std::string &target);
std::string getHarmonyInboxContent() const; std::string getHarmonyInboxContent() const;
void setHarmonyInboxContent(const std::string &harmonyInboxContent); void setHarmonyInboxContent(const std::string &harmonyInboxContent);
std::string getAndroidMessageOppoCategory() const;
void setAndroidMessageOppoCategory(const std::string &androidMessageOppoCategory);
std::string getAndroidXiaoMiActivity() const; std::string getAndroidXiaoMiActivity() const;
void setAndroidXiaoMiActivity(const std::string &androidXiaoMiActivity); void setAndroidXiaoMiActivity(const std::string &androidXiaoMiActivity);
private: private:
int androidNotificationBarType_; int androidNotificationBarType_;
int androidMessageOppoNotifyLevel_;
std::string deviceType_; std::string deviceType_;
std::string pushTime_; std::string pushTime_;
int sendSpeed_; int sendSpeed_;
@@ -254,8 +259,8 @@ private:
int androidRenderStyle_; int androidRenderStyle_;
std::string iOSExtParameters_; std::string iOSExtParameters_;
std::string androidXiaomiImageUrl_; std::string androidXiaomiImageUrl_;
std::string smsTemplateName_;
std::string harmonyUri_; std::string harmonyUri_;
std::string smsTemplateName_;
std::string harmonyExtParameters_; std::string harmonyExtParameters_;
std::string androidBigPictureUrl_; std::string androidBigPictureUrl_;
bool iOSSilentNotification_; bool iOSSilentNotification_;
@@ -281,6 +286,7 @@ private:
std::string androidMessageHuaweiCategory_; std::string androidMessageHuaweiCategory_;
std::string iOSMusic_; std::string iOSMusic_;
bool iOSMutableContent_; bool iOSMutableContent_;
std::string androidNotificationThreadId_;
int androidHonorTargetUserType_; int androidHonorTargetUserType_;
std::string harmonyRemindBody_; std::string harmonyRemindBody_;
std::string androidNotificationVivoChannel_; std::string androidNotificationVivoChannel_;
@@ -306,7 +312,6 @@ private:
std::string harmonyImageUrl_; std::string harmonyImageUrl_;
std::string androidBigBody_; std::string androidBigBody_;
std::string title_; std::string title_;
std::string accessKeyId_;
int harmonyBadgeAddNum_; int harmonyBadgeAddNum_;
bool harmonyTestMessage_; bool harmonyTestMessage_;
int androidBadgeAddNum_; int androidBadgeAddNum_;
@@ -319,6 +324,7 @@ private:
std::string harmonyActionType_; std::string harmonyActionType_;
std::string target_; std::string target_;
std::string harmonyInboxContent_; std::string harmonyInboxContent_;
std::string androidMessageOppoCategory_;
std::string androidXiaoMiActivity_; std::string androidXiaoMiActivity_;
}; };
} // namespace Model } // namespace Model

View File

@@ -32,14 +32,11 @@ public:
~QueryAliasesRequest(); ~QueryAliasesRequest();
std::string getDeviceId() const; std::string getDeviceId() const;
void setDeviceId(const std::string &deviceId); void setDeviceId(const std::string &deviceId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string deviceId_; std::string deviceId_;
std::string accessKeyId_;
long appKey_; long appKey_;
}; };
} // namespace Model } // namespace Model

View File

@@ -32,14 +32,11 @@ public:
~QueryDeviceInfoRequest(); ~QueryDeviceInfoRequest();
std::string getDeviceId() const; std::string getDeviceId() const;
void setDeviceId(const std::string &deviceId); void setDeviceId(const std::string &deviceId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string deviceId_; std::string deviceId_;
std::string accessKeyId_;
long appKey_; long appKey_;
}; };
} // namespace Model } // namespace Model

View File

@@ -34,13 +34,13 @@ namespace AlibabaCloud
public: public:
struct DeviceInfo struct DeviceInfo
{ {
std::string lastOnlineTime;
std::string brand; std::string brand;
std::string lastOnlineTime;
std::string account; std::string account;
std::string deviceType; std::string deviceType;
std::string alias;
std::string deviceId; std::string deviceId;
std::string deviceToken; std::string deviceToken;
std::string alias;
std::string model; std::string model;
std::string phoneNumber; std::string phoneNumber;
bool online; bool online;

View File

@@ -36,8 +36,6 @@ public:
void setStartTime(const std::string &startTime); void setStartTime(const std::string &startTime);
std::string getDeviceType() const; std::string getDeviceType() const;
void setDeviceType(const std::string &deviceType); void setDeviceType(const std::string &deviceType);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
std::string getQueryType() const; std::string getQueryType() const;
@@ -47,7 +45,6 @@ private:
std::string endTime_; std::string endTime_;
std::string startTime_; std::string startTime_;
std::string deviceType_; std::string deviceType_;
std::string accessKeyId_;
long appKey_; long appKey_;
std::string queryType_; std::string queryType_;
}; };

View File

@@ -30,15 +30,12 @@ class ALIBABACLOUD_PUSH_EXPORT QueryDevicesByAccountRequest : public RpcServiceR
public: public:
QueryDevicesByAccountRequest(); QueryDevicesByAccountRequest();
~QueryDevicesByAccountRequest(); ~QueryDevicesByAccountRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
std::string getAccount() const; std::string getAccount() const;
void setAccount(const std::string &account); void setAccount(const std::string &account);
private: private:
std::string accessKeyId_;
long appKey_; long appKey_;
std::string account_; std::string account_;
}; };

View File

@@ -30,15 +30,12 @@ class ALIBABACLOUD_PUSH_EXPORT QueryDevicesByAliasRequest : public RpcServiceReq
public: public:
QueryDevicesByAliasRequest(); QueryDevicesByAliasRequest();
~QueryDevicesByAliasRequest(); ~QueryDevicesByAliasRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getAlias() const; std::string getAlias() const;
void setAlias(const std::string &alias); void setAlias(const std::string &alias);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string accessKeyId_;
std::string alias_; std::string alias_;
long appKey_; long appKey_;
}; };

View File

@@ -34,8 +34,6 @@ public:
void setEndTime(const std::string &endTime); void setEndTime(const std::string &endTime);
std::string getStartTime() const; std::string getStartTime() const;
void setStartTime(const std::string &startTime); void setStartTime(const std::string &startTime);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getGranularity() const; std::string getGranularity() const;
void setGranularity(const std::string &granularity); void setGranularity(const std::string &granularity);
long getAppKey() const; long getAppKey() const;
@@ -44,7 +42,6 @@ public:
private: private:
std::string endTime_; std::string endTime_;
std::string startTime_; std::string startTime_;
std::string accessKeyId_;
std::string granularity_; std::string granularity_;
long appKey_; long appKey_;
}; };

View File

@@ -39,8 +39,8 @@ namespace AlibabaCloud
long smsSkipCount; long smsSkipCount;
long smsFailedCount; long smsFailedCount;
long smsReceiveFailedCount; long smsReceiveFailedCount;
std::string time;
long deletedCount; long deletedCount;
std::string time;
long smsReceiveSuccessCount; long smsReceiveSuccessCount;
long receivedCount; long receivedCount;
long sentCount; long sentCount;

View File

@@ -32,14 +32,11 @@ public:
~QueryPushStatByMsgRequest(); ~QueryPushStatByMsgRequest();
long getMessageId() const; long getMessageId() const;
void setMessageId(long messageId); void setMessageId(long messageId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
long messageId_; long messageId_;
std::string accessKeyId_;
long appKey_; long appKey_;
}; };
} // namespace Model } // namespace Model

View File

@@ -32,8 +32,6 @@ public:
~QueryTagsRequest(); ~QueryTagsRequest();
std::string getKeyType() const; std::string getKeyType() const;
void setKeyType(const std::string &keyType); void setKeyType(const std::string &keyType);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getClientKey() const; std::string getClientKey() const;
void setClientKey(const std::string &clientKey); void setClientKey(const std::string &clientKey);
long getAppKey() const; long getAppKey() const;
@@ -41,7 +39,6 @@ public:
private: private:
std::string keyType_; std::string keyType_;
std::string accessKeyId_;
std::string clientKey_; std::string clientKey_;
long appKey_; long appKey_;
}; };

View File

@@ -34,8 +34,6 @@ public:
void setEndTime(const std::string &endTime); void setEndTime(const std::string &endTime);
std::string getStartTime() const; std::string getStartTime() const;
void setStartTime(const std::string &startTime); void setStartTime(const std::string &startTime);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getGranularity() const; std::string getGranularity() const;
void setGranularity(const std::string &granularity); void setGranularity(const std::string &granularity);
long getAppKey() const; long getAppKey() const;
@@ -44,7 +42,6 @@ public:
private: private:
std::string endTime_; std::string endTime_;
std::string startTime_; std::string startTime_;
std::string accessKeyId_;
std::string granularity_; std::string granularity_;
long appKey_; long appKey_;
}; };

View File

@@ -30,15 +30,12 @@ class ALIBABACLOUD_PUSH_EXPORT RemoveTagRequest : public RpcServiceRequest {
public: public:
RemoveTagRequest(); RemoveTagRequest();
~RemoveTagRequest(); ~RemoveTagRequest();
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getTagName() const; std::string getTagName() const;
void setTagName(const std::string &tagName); void setTagName(const std::string &tagName);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string accessKeyId_;
std::string tagName_; std::string tagName_;
long appKey_; long appKey_;
}; };

View File

@@ -32,8 +32,6 @@ public:
~UnbindAliasRequest(); ~UnbindAliasRequest();
std::string getDeviceId() const; std::string getDeviceId() const;
void setDeviceId(const std::string &deviceId); void setDeviceId(const std::string &deviceId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getAliasName() const; std::string getAliasName() const;
void setAliasName(const std::string &aliasName); void setAliasName(const std::string &aliasName);
long getAppKey() const; long getAppKey() const;
@@ -43,7 +41,6 @@ public:
private: private:
std::string deviceId_; std::string deviceId_;
std::string accessKeyId_;
std::string aliasName_; std::string aliasName_;
long appKey_; long appKey_;
bool unbindAll_; bool unbindAll_;

View File

@@ -32,14 +32,11 @@ public:
~UnbindPhoneRequest(); ~UnbindPhoneRequest();
std::string getDeviceId() const; std::string getDeviceId() const;
void setDeviceId(const std::string &deviceId); void setDeviceId(const std::string &deviceId);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
long getAppKey() const; long getAppKey() const;
void setAppKey(long appKey); void setAppKey(long appKey);
private: private:
std::string deviceId_; std::string deviceId_;
std::string accessKeyId_;
long appKey_; long appKey_;
}; };
} // namespace Model } // namespace Model

View File

@@ -32,8 +32,6 @@ public:
~UnbindTagRequest(); ~UnbindTagRequest();
std::string getKeyType() const; std::string getKeyType() const;
void setKeyType(const std::string &keyType); void setKeyType(const std::string &keyType);
std::string getAccessKeyId() const;
void setAccessKeyId(const std::string &accessKeyId);
std::string getTagName() const; std::string getTagName() const;
void setTagName(const std::string &tagName); void setTagName(const std::string &tagName);
std::string getClientKey() const; std::string getClientKey() const;
@@ -43,7 +41,6 @@ public:
private: private:
std::string keyType_; std::string keyType_;
std::string accessKeyId_;
std::string tagName_; std::string tagName_;
std::string clientKey_; std::string clientKey_;
long appKey_; long appKey_;

View File

@@ -34,15 +34,6 @@ void BindAliasRequest::setDeviceId(const std::string &deviceId) {
setParameter(std::string("DeviceId"), deviceId); setParameter(std::string("DeviceId"), deviceId);
} }
std::string BindAliasRequest::getAccessKeyId() const {
return accessKeyId_;
}
void BindAliasRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string BindAliasRequest::getAliasName() const { std::string BindAliasRequest::getAliasName() const {
return aliasName_; return aliasName_;
} }

View File

@@ -43,15 +43,6 @@ void BindPhoneRequest::setDeviceId(const std::string &deviceId) {
setParameter(std::string("DeviceId"), deviceId); setParameter(std::string("DeviceId"), deviceId);
} }
std::string BindPhoneRequest::getAccessKeyId() const {
return accessKeyId_;
}
void BindPhoneRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long BindPhoneRequest::getAppKey() const { long BindPhoneRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -34,15 +34,6 @@ void BindTagRequest::setKeyType(const std::string &keyType) {
setParameter(std::string("KeyType"), keyType); setParameter(std::string("KeyType"), keyType);
} }
std::string BindTagRequest::getAccessKeyId() const {
return accessKeyId_;
}
void BindTagRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string BindTagRequest::getTagName() const { std::string BindTagRequest::getTagName() const {
return tagName_; return tagName_;
} }

View File

@@ -34,15 +34,6 @@ void CancelPushRequest::setMessageId(long messageId) {
setParameter(std::string("MessageId"), std::to_string(messageId)); setParameter(std::string("MessageId"), std::to_string(messageId));
} }
std::string CancelPushRequest::getAccessKeyId() const {
return accessKeyId_;
}
void CancelPushRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long CancelPushRequest::getAppKey() const { long CancelPushRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -34,15 +34,6 @@ void CheckDeviceRequest::setDeviceId(const std::string &deviceId) {
setParameter(std::string("DeviceId"), deviceId); setParameter(std::string("DeviceId"), deviceId);
} }
std::string CheckDeviceRequest::getAccessKeyId() const {
return accessKeyId_;
}
void CheckDeviceRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long CheckDeviceRequest::getAppKey() const { long CheckDeviceRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -34,15 +34,6 @@ void CheckDevicesRequest::setDeviceIds(const std::string &deviceIds) {
setParameter(std::string("DeviceIds"), deviceIds); setParameter(std::string("DeviceIds"), deviceIds);
} }
std::string CheckDevicesRequest::getAccessKeyId() const {
return accessKeyId_;
}
void CheckDevicesRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long CheckDevicesRequest::getAppKey() const { long CheckDevicesRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -43,10 +43,10 @@ void CheckDevicesResult::parse(const std::string &payload)
for (auto valueDeviceCheckInfosDeviceCheckInfo : allDeviceCheckInfosNode) for (auto valueDeviceCheckInfosDeviceCheckInfo : allDeviceCheckInfosNode)
{ {
DeviceCheckInfo deviceCheckInfosObject; DeviceCheckInfo deviceCheckInfosObject;
if(!valueDeviceCheckInfosDeviceCheckInfo["DeviceId"].isNull())
deviceCheckInfosObject.deviceId = valueDeviceCheckInfosDeviceCheckInfo["DeviceId"].asString();
if(!valueDeviceCheckInfosDeviceCheckInfo["Available"].isNull()) if(!valueDeviceCheckInfosDeviceCheckInfo["Available"].isNull())
deviceCheckInfosObject.available = valueDeviceCheckInfosDeviceCheckInfo["Available"].asString() == "true"; deviceCheckInfosObject.available = valueDeviceCheckInfosDeviceCheckInfo["Available"].asString() == "true";
if(!valueDeviceCheckInfosDeviceCheckInfo["DeviceId"].isNull())
deviceCheckInfosObject.deviceId = valueDeviceCheckInfosDeviceCheckInfo["DeviceId"].asString();
deviceCheckInfos_.push_back(deviceCheckInfosObject); deviceCheckInfos_.push_back(deviceCheckInfosObject);
} }

View File

@@ -34,15 +34,6 @@ void CompleteContinuouslyPushRequest::setMessageId(const std::string &messageId)
setParameter(std::string("MessageId"), messageId); setParameter(std::string("MessageId"), messageId);
} }
std::string CompleteContinuouslyPushRequest::getAccessKeyId() const {
return accessKeyId_;
}
void CompleteContinuouslyPushRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long CompleteContinuouslyPushRequest::getAppKey() const { long CompleteContinuouslyPushRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -34,15 +34,6 @@ void ContinuouslyPushRequest::setMessageId(const std::string &messageId) {
setParameter(std::string("MessageId"), messageId); setParameter(std::string("MessageId"), messageId);
} }
std::string ContinuouslyPushRequest::getAccessKeyId() const {
return accessKeyId_;
}
void ContinuouslyPushRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string ContinuouslyPushRequest::getTarget() const { std::string ContinuouslyPushRequest::getTarget() const {
return target_; return target_;
} }

View File

@@ -25,12 +25,3 @@ ListSummaryAppsRequest::ListSummaryAppsRequest()
ListSummaryAppsRequest::~ListSummaryAppsRequest() {} ListSummaryAppsRequest::~ListSummaryAppsRequest() {}
std::string ListSummaryAppsRequest::getAccessKeyId() const {
return accessKeyId_;
}
void ListSummaryAppsRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}

View File

@@ -43,10 +43,10 @@ void ListSummaryAppsResult::parse(const std::string &payload)
for (auto valueSummaryAppInfosSummaryAppInfo : allSummaryAppInfosNode) for (auto valueSummaryAppInfosSummaryAppInfo : allSummaryAppInfosNode)
{ {
SummaryAppInfo summaryAppInfosObject; SummaryAppInfo summaryAppInfosObject;
if(!valueSummaryAppInfosSummaryAppInfo["AppName"].isNull())
summaryAppInfosObject.appName = valueSummaryAppInfosSummaryAppInfo["AppName"].asString();
if(!valueSummaryAppInfosSummaryAppInfo["AppKey"].isNull()) if(!valueSummaryAppInfosSummaryAppInfo["AppKey"].isNull())
summaryAppInfosObject.appKey = std::stol(valueSummaryAppInfosSummaryAppInfo["AppKey"].asString()); summaryAppInfosObject.appKey = std::stol(valueSummaryAppInfosSummaryAppInfo["AppKey"].asString());
if(!valueSummaryAppInfosSummaryAppInfo["AppName"].isNull())
summaryAppInfosObject.appName = valueSummaryAppInfosSummaryAppInfo["AppName"].asString();
summaryAppInfos_.push_back(summaryAppInfosObject); summaryAppInfos_.push_back(summaryAppInfosObject);
} }

View File

@@ -25,15 +25,6 @@ ListTagsRequest::ListTagsRequest()
ListTagsRequest::~ListTagsRequest() {} ListTagsRequest::~ListTagsRequest() {}
std::string ListTagsRequest::getAccessKeyId() const {
return accessKeyId_;
}
void ListTagsRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long ListTagsRequest::getAppKey() const { long ListTagsRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -25,15 +25,6 @@ MassPushRequest::MassPushRequest()
MassPushRequest::~MassPushRequest() {} MassPushRequest::~MassPushRequest() {}
std::string MassPushRequest::getAccessKeyId() const {
return accessKeyId_;
}
void MassPushRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::vector<MassPushRequest::PushTask> MassPushRequest::getPushTask() const { std::vector<MassPushRequest::PushTask> MassPushRequest::getPushTask() const {
return pushTask_; return pushTask_;
} }
@@ -44,6 +35,7 @@ void MassPushRequest::setPushTask(const std::vector<MassPushRequest::PushTask> &
auto pushTaskObj = pushTask.at(dep1); auto pushTaskObj = pushTask.at(dep1);
std::string pushTaskObjStr = std::string("PushTask") + "." + std::to_string(dep1 + 1); std::string pushTaskObjStr = std::string("PushTask") + "." + std::to_string(dep1 + 1);
setBodyParameter(pushTaskObjStr + ".AndroidNotificationBarType", std::to_string(pushTaskObj.androidNotificationBarType)); setBodyParameter(pushTaskObjStr + ".AndroidNotificationBarType", std::to_string(pushTaskObj.androidNotificationBarType));
setBodyParameter(pushTaskObjStr + ".AndroidMessageOppoNotifyLevel", std::to_string(pushTaskObj.androidMessageOppoNotifyLevel));
setBodyParameter(pushTaskObjStr + ".Body", pushTaskObj.body); setBodyParameter(pushTaskObjStr + ".Body", pushTaskObj.body);
setBodyParameter(pushTaskObjStr + ".DeviceType", pushTaskObj.deviceType); setBodyParameter(pushTaskObjStr + ".DeviceType", pushTaskObj.deviceType);
setBodyParameter(pushTaskObjStr + ".PushTime", pushTaskObj.pushTime); setBodyParameter(pushTaskObjStr + ".PushTime", pushTaskObj.pushTime);
@@ -64,6 +56,7 @@ void MassPushRequest::setPushTask(const std::vector<MassPushRequest::PushTask> &
setBodyParameter(pushTaskObjStr + ".AndroidNotificationBarPriority", std::to_string(pushTaskObj.androidNotificationBarPriority)); setBodyParameter(pushTaskObjStr + ".AndroidNotificationBarPriority", std::to_string(pushTaskObj.androidNotificationBarPriority));
setBodyParameter(pushTaskObjStr + ".ExpireTime", pushTaskObj.expireTime); setBodyParameter(pushTaskObjStr + ".ExpireTime", pushTaskObj.expireTime);
setBodyParameter(pushTaskObjStr + ".AndroidImageUrl", pushTaskObj.androidImageUrl); setBodyParameter(pushTaskObjStr + ".AndroidImageUrl", pushTaskObj.androidImageUrl);
setBodyParameter(pushTaskObjStr + ".AndroidNotificationThreadId", pushTaskObj.androidNotificationThreadId);
setBodyParameter(pushTaskObjStr + ".AndroidHonorTargetUserType", std::to_string(pushTaskObj.androidHonorTargetUserType)); setBodyParameter(pushTaskObjStr + ".AndroidHonorTargetUserType", std::to_string(pushTaskObj.androidHonorTargetUserType));
setBodyParameter(pushTaskObjStr + ".HarmonyRemindBody", pushTaskObj.harmonyRemindBody); setBodyParameter(pushTaskObjStr + ".HarmonyRemindBody", pushTaskObj.harmonyRemindBody);
setBodyParameter(pushTaskObjStr + ".AndroidNotificationVivoChannel", pushTaskObj.androidNotificationVivoChannel); setBodyParameter(pushTaskObjStr + ".AndroidNotificationVivoChannel", pushTaskObj.androidNotificationVivoChannel);
@@ -127,6 +120,7 @@ void MassPushRequest::setPushTask(const std::vector<MassPushRequest::PushTask> &
setBodyParameter(pushTaskObjStr + ".AndroidRemind", pushTaskObj.androidRemind ? "true" : "false"); setBodyParameter(pushTaskObjStr + ".AndroidRemind", pushTaskObj.androidRemind ? "true" : "false");
setBodyParameter(pushTaskObjStr + ".HarmonyInboxContent", pushTaskObj.harmonyInboxContent); setBodyParameter(pushTaskObjStr + ".HarmonyInboxContent", pushTaskObj.harmonyInboxContent);
setBodyParameter(pushTaskObjStr + ".AndroidActivity", pushTaskObj.androidActivity); setBodyParameter(pushTaskObjStr + ".AndroidActivity", pushTaskObj.androidActivity);
setBodyParameter(pushTaskObjStr + ".AndroidMessageOppoCategory", pushTaskObj.androidMessageOppoCategory);
setBodyParameter(pushTaskObjStr + ".AndroidNotificationNotifyId", std::to_string(pushTaskObj.androidNotificationNotifyId)); setBodyParameter(pushTaskObjStr + ".AndroidNotificationNotifyId", std::to_string(pushTaskObj.androidNotificationNotifyId));
setBodyParameter(pushTaskObjStr + ".TargetValue", pushTaskObj.targetValue); setBodyParameter(pushTaskObjStr + ".TargetValue", pushTaskObj.targetValue);
setBodyParameter(pushTaskObjStr + ".HarmonyBadgeSetNum", std::to_string(pushTaskObj.harmonyBadgeSetNum)); setBodyParameter(pushTaskObjStr + ".HarmonyBadgeSetNum", std::to_string(pushTaskObj.harmonyBadgeSetNum));

View File

@@ -43,15 +43,6 @@ void PushMessageToAndroidRequest::setBody(const std::string &body) {
setParameter(std::string("Body"), body); setParameter(std::string("Body"), body);
} }
std::string PushMessageToAndroidRequest::getAccessKeyId() const {
return accessKeyId_;
}
void PushMessageToAndroidRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
bool PushMessageToAndroidRequest::getStoreOffline() const { bool PushMessageToAndroidRequest::getStoreOffline() const {
return storeOffline_; return storeOffline_;
} }

View File

@@ -43,15 +43,6 @@ void PushMessageToiOSRequest::setBody(const std::string &body) {
setParameter(std::string("Body"), body); setParameter(std::string("Body"), body);
} }
std::string PushMessageToiOSRequest::getAccessKeyId() const {
return accessKeyId_;
}
void PushMessageToiOSRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
bool PushMessageToiOSRequest::getStoreOffline() const { bool PushMessageToiOSRequest::getStoreOffline() const {
return storeOffline_; return storeOffline_;
} }

View File

@@ -43,15 +43,6 @@ void PushNoticeToAndroidRequest::setBody(const std::string &body) {
setParameter(std::string("Body"), body); setParameter(std::string("Body"), body);
} }
std::string PushNoticeToAndroidRequest::getAccessKeyId() const {
return accessKeyId_;
}
void PushNoticeToAndroidRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string PushNoticeToAndroidRequest::getExtParameters() const { std::string PushNoticeToAndroidRequest::getExtParameters() const {
return extParameters_; return extParameters_;
} }

View File

@@ -43,15 +43,6 @@ void PushNoticeToiOSRequest::setBody(const std::string &body) {
setParameter(std::string("Body"), body); setParameter(std::string("Body"), body);
} }
std::string PushNoticeToiOSRequest::getAccessKeyId() const {
return accessKeyId_;
}
void PushNoticeToiOSRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string PushNoticeToiOSRequest::getExtParameters() const { std::string PushNoticeToiOSRequest::getExtParameters() const {
return extParameters_; return extParameters_;
} }

View File

@@ -34,6 +34,15 @@ void PushRequest::setAndroidNotificationBarType(int androidNotificationBarType)
setParameter(std::string("AndroidNotificationBarType"), std::to_string(androidNotificationBarType)); setParameter(std::string("AndroidNotificationBarType"), std::to_string(androidNotificationBarType));
} }
int PushRequest::getAndroidMessageOppoNotifyLevel() const {
return androidMessageOppoNotifyLevel_;
}
void PushRequest::setAndroidMessageOppoNotifyLevel(int androidMessageOppoNotifyLevel) {
androidMessageOppoNotifyLevel_ = androidMessageOppoNotifyLevel;
setParameter(std::string("AndroidMessageOppoNotifyLevel"), std::to_string(androidMessageOppoNotifyLevel));
}
std::string PushRequest::getDeviceType() const { std::string PushRequest::getDeviceType() const {
return deviceType_; return deviceType_;
} }
@@ -295,15 +304,6 @@ void PushRequest::setAndroidXiaomiImageUrl(const std::string &androidXiaomiImage
setParameter(std::string("AndroidXiaomiImageUrl"), androidXiaomiImageUrl); setParameter(std::string("AndroidXiaomiImageUrl"), androidXiaomiImageUrl);
} }
std::string PushRequest::getSmsTemplateName() const {
return smsTemplateName_;
}
void PushRequest::setSmsTemplateName(const std::string &smsTemplateName) {
smsTemplateName_ = smsTemplateName;
setParameter(std::string("SmsTemplateName"), smsTemplateName);
}
std::string PushRequest::getHarmonyUri() const { std::string PushRequest::getHarmonyUri() const {
return harmonyUri_; return harmonyUri_;
} }
@@ -313,6 +313,15 @@ void PushRequest::setHarmonyUri(const std::string &harmonyUri) {
setParameter(std::string("HarmonyUri"), harmonyUri); setParameter(std::string("HarmonyUri"), harmonyUri);
} }
std::string PushRequest::getSmsTemplateName() const {
return smsTemplateName_;
}
void PushRequest::setSmsTemplateName(const std::string &smsTemplateName) {
smsTemplateName_ = smsTemplateName;
setParameter(std::string("SmsTemplateName"), smsTemplateName);
}
std::string PushRequest::getHarmonyExtParameters() const { std::string PushRequest::getHarmonyExtParameters() const {
return harmonyExtParameters_; return harmonyExtParameters_;
} }
@@ -538,6 +547,15 @@ void PushRequest::setIOSMutableContent(bool iOSMutableContent) {
setParameter(std::string("iOSMutableContent"), iOSMutableContent ? "true" : "false"); setParameter(std::string("iOSMutableContent"), iOSMutableContent ? "true" : "false");
} }
std::string PushRequest::getAndroidNotificationThreadId() const {
return androidNotificationThreadId_;
}
void PushRequest::setAndroidNotificationThreadId(const std::string &androidNotificationThreadId) {
androidNotificationThreadId_ = androidNotificationThreadId;
setParameter(std::string("AndroidNotificationThreadId"), androidNotificationThreadId);
}
int PushRequest::getAndroidHonorTargetUserType() const { int PushRequest::getAndroidHonorTargetUserType() const {
return androidHonorTargetUserType_; return androidHonorTargetUserType_;
} }
@@ -763,15 +781,6 @@ void PushRequest::setTitle(const std::string &title) {
setParameter(std::string("Title"), title); setParameter(std::string("Title"), title);
} }
std::string PushRequest::getAccessKeyId() const {
return accessKeyId_;
}
void PushRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
int PushRequest::getHarmonyBadgeAddNum() const { int PushRequest::getHarmonyBadgeAddNum() const {
return harmonyBadgeAddNum_; return harmonyBadgeAddNum_;
} }
@@ -880,6 +889,15 @@ void PushRequest::setHarmonyInboxContent(const std::string &harmonyInboxContent)
setParameter(std::string("HarmonyInboxContent"), harmonyInboxContent); setParameter(std::string("HarmonyInboxContent"), harmonyInboxContent);
} }
std::string PushRequest::getAndroidMessageOppoCategory() const {
return androidMessageOppoCategory_;
}
void PushRequest::setAndroidMessageOppoCategory(const std::string &androidMessageOppoCategory) {
androidMessageOppoCategory_ = androidMessageOppoCategory;
setParameter(std::string("AndroidMessageOppoCategory"), androidMessageOppoCategory);
}
std::string PushRequest::getAndroidXiaoMiActivity() const { std::string PushRequest::getAndroidXiaoMiActivity() const {
return androidXiaoMiActivity_; return androidXiaoMiActivity_;
} }

View File

@@ -34,15 +34,6 @@ void QueryAliasesRequest::setDeviceId(const std::string &deviceId) {
setParameter(std::string("DeviceId"), deviceId); setParameter(std::string("DeviceId"), deviceId);
} }
std::string QueryAliasesRequest::getAccessKeyId() const {
return accessKeyId_;
}
void QueryAliasesRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long QueryAliasesRequest::getAppKey() const { long QueryAliasesRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -34,15 +34,6 @@ void QueryDeviceInfoRequest::setDeviceId(const std::string &deviceId) {
setParameter(std::string("DeviceId"), deviceId); setParameter(std::string("DeviceId"), deviceId);
} }
std::string QueryDeviceInfoRequest::getAccessKeyId() const {
return accessKeyId_;
}
void QueryDeviceInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long QueryDeviceInfoRequest::getAppKey() const { long QueryDeviceInfoRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -42,28 +42,28 @@ void QueryDeviceInfoResult::parse(const std::string &payload)
auto deviceInfoNode = value["DeviceInfo"]; auto deviceInfoNode = value["DeviceInfo"];
if(!deviceInfoNode["Account"].isNull()) if(!deviceInfoNode["Account"].isNull())
deviceInfo_.account = deviceInfoNode["Account"].asString(); deviceInfo_.account = deviceInfoNode["Account"].asString();
if(!deviceInfoNode["LastOnlineTime"].isNull())
deviceInfo_.lastOnlineTime = deviceInfoNode["LastOnlineTime"].asString();
if(!deviceInfoNode["PhoneNumber"].isNull())
deviceInfo_.phoneNumber = deviceInfoNode["PhoneNumber"].asString();
if(!deviceInfoNode["PushEnabled"].isNull())
deviceInfo_.pushEnabled = deviceInfoNode["PushEnabled"].asString() == "true";
if(!deviceInfoNode["DeviceType"].isNull())
deviceInfo_.deviceType = deviceInfoNode["DeviceType"].asString();
if(!deviceInfoNode["DeviceId"].isNull())
deviceInfo_.deviceId = deviceInfoNode["DeviceId"].asString();
if(!deviceInfoNode["Online"].isNull())
deviceInfo_.online = deviceInfoNode["Online"].asString() == "true";
if(!deviceInfoNode["Tags"].isNull())
deviceInfo_.tags = deviceInfoNode["Tags"].asString();
if(!deviceInfoNode["DeviceToken"].isNull())
deviceInfo_.deviceToken = deviceInfoNode["DeviceToken"].asString();
if(!deviceInfoNode["Alias"].isNull()) if(!deviceInfoNode["Alias"].isNull())
deviceInfo_.alias = deviceInfoNode["Alias"].asString(); deviceInfo_.alias = deviceInfoNode["Alias"].asString();
if(!deviceInfoNode["Brand"].isNull()) if(!deviceInfoNode["Brand"].isNull())
deviceInfo_.brand = deviceInfoNode["Brand"].asString(); deviceInfo_.brand = deviceInfoNode["Brand"].asString();
if(!deviceInfoNode["DeviceId"].isNull())
deviceInfo_.deviceId = deviceInfoNode["DeviceId"].asString();
if(!deviceInfoNode["DeviceToken"].isNull())
deviceInfo_.deviceToken = deviceInfoNode["DeviceToken"].asString();
if(!deviceInfoNode["DeviceType"].isNull())
deviceInfo_.deviceType = deviceInfoNode["DeviceType"].asString();
if(!deviceInfoNode["LastOnlineTime"].isNull())
deviceInfo_.lastOnlineTime = deviceInfoNode["LastOnlineTime"].asString();
if(!deviceInfoNode["Model"].isNull()) if(!deviceInfoNode["Model"].isNull())
deviceInfo_.model = deviceInfoNode["Model"].asString(); deviceInfo_.model = deviceInfoNode["Model"].asString();
if(!deviceInfoNode["Online"].isNull())
deviceInfo_.online = deviceInfoNode["Online"].asString() == "true";
if(!deviceInfoNode["PhoneNumber"].isNull())
deviceInfo_.phoneNumber = deviceInfoNode["PhoneNumber"].asString();
if(!deviceInfoNode["PushEnabled"].isNull())
deviceInfo_.pushEnabled = deviceInfoNode["PushEnabled"].asString() == "true";
if(!deviceInfoNode["Tags"].isNull())
deviceInfo_.tags = deviceInfoNode["Tags"].asString();
} }

View File

@@ -52,15 +52,6 @@ void QueryDeviceStatRequest::setDeviceType(const std::string &deviceType) {
setParameter(std::string("DeviceType"), deviceType); setParameter(std::string("DeviceType"), deviceType);
} }
std::string QueryDeviceStatRequest::getAccessKeyId() const {
return accessKeyId_;
}
void QueryDeviceStatRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long QueryDeviceStatRequest::getAppKey() const { long QueryDeviceStatRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -43,12 +43,12 @@ void QueryDeviceStatResult::parse(const std::string &payload)
for (auto valueAppDeviceStatsAppDeviceStat : allAppDeviceStatsNode) for (auto valueAppDeviceStatsAppDeviceStat : allAppDeviceStatsNode)
{ {
AppDeviceStat appDeviceStatsObject; AppDeviceStat appDeviceStatsObject;
if(!valueAppDeviceStatsAppDeviceStat["Time"].isNull())
appDeviceStatsObject.time = valueAppDeviceStatsAppDeviceStat["Time"].asString();
if(!valueAppDeviceStatsAppDeviceStat["DeviceType"].isNull())
appDeviceStatsObject.deviceType = valueAppDeviceStatsAppDeviceStat["DeviceType"].asString();
if(!valueAppDeviceStatsAppDeviceStat["Count"].isNull()) if(!valueAppDeviceStatsAppDeviceStat["Count"].isNull())
appDeviceStatsObject.count = std::stol(valueAppDeviceStatsAppDeviceStat["Count"].asString()); appDeviceStatsObject.count = std::stol(valueAppDeviceStatsAppDeviceStat["Count"].asString());
if(!valueAppDeviceStatsAppDeviceStat["DeviceType"].isNull())
appDeviceStatsObject.deviceType = valueAppDeviceStatsAppDeviceStat["DeviceType"].asString();
if(!valueAppDeviceStatsAppDeviceStat["Time"].isNull())
appDeviceStatsObject.time = valueAppDeviceStatsAppDeviceStat["Time"].asString();
appDeviceStats_.push_back(appDeviceStatsObject); appDeviceStats_.push_back(appDeviceStatsObject);
} }

View File

@@ -25,15 +25,6 @@ QueryDevicesByAccountRequest::QueryDevicesByAccountRequest()
QueryDevicesByAccountRequest::~QueryDevicesByAccountRequest() {} QueryDevicesByAccountRequest::~QueryDevicesByAccountRequest() {}
std::string QueryDevicesByAccountRequest::getAccessKeyId() const {
return accessKeyId_;
}
void QueryDevicesByAccountRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long QueryDevicesByAccountRequest::getAppKey() const { long QueryDevicesByAccountRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -25,15 +25,6 @@ QueryDevicesByAliasRequest::QueryDevicesByAliasRequest()
QueryDevicesByAliasRequest::~QueryDevicesByAliasRequest() {} QueryDevicesByAliasRequest::~QueryDevicesByAliasRequest() {}
std::string QueryDevicesByAliasRequest::getAccessKeyId() const {
return accessKeyId_;
}
void QueryDevicesByAliasRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string QueryDevicesByAliasRequest::getAlias() const { std::string QueryDevicesByAliasRequest::getAlias() const {
return alias_; return alias_;
} }

View File

@@ -43,15 +43,6 @@ void QueryPushStatByAppRequest::setStartTime(const std::string &startTime) {
setParameter(std::string("StartTime"), startTime); setParameter(std::string("StartTime"), startTime);
} }
std::string QueryPushStatByAppRequest::getAccessKeyId() const {
return accessKeyId_;
}
void QueryPushStatByAppRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string QueryPushStatByAppRequest::getGranularity() const { std::string QueryPushStatByAppRequest::getGranularity() const {
return granularity_; return granularity_;
} }

View File

@@ -43,28 +43,28 @@ void QueryPushStatByAppResult::parse(const std::string &payload)
for (auto valueAppPushStatsAppPushStat : allAppPushStatsNode) for (auto valueAppPushStatsAppPushStat : allAppPushStatsNode)
{ {
AppPushStat appPushStatsObject; AppPushStat appPushStatsObject;
if(!valueAppPushStatsAppPushStat["Time"].isNull()) if(!valueAppPushStatsAppPushStat["AcceptCount"].isNull())
appPushStatsObject.time = valueAppPushStatsAppPushStat["Time"].asString(); appPushStatsObject.acceptCount = std::stol(valueAppPushStatsAppPushStat["AcceptCount"].asString());
if(!valueAppPushStatsAppPushStat["DeletedCount"].isNull()) if(!valueAppPushStatsAppPushStat["DeletedCount"].isNull())
appPushStatsObject.deletedCount = std::stol(valueAppPushStatsAppPushStat["DeletedCount"].asString()); appPushStatsObject.deletedCount = std::stol(valueAppPushStatsAppPushStat["DeletedCount"].asString());
if(!valueAppPushStatsAppPushStat["OpenedCount"].isNull()) if(!valueAppPushStatsAppPushStat["OpenedCount"].isNull())
appPushStatsObject.openedCount = std::stol(valueAppPushStatsAppPushStat["OpenedCount"].asString()); appPushStatsObject.openedCount = std::stol(valueAppPushStatsAppPushStat["OpenedCount"].asString());
if(!valueAppPushStatsAppPushStat["SmsReceiveSuccessCount"].isNull())
appPushStatsObject.smsReceiveSuccessCount = std::stol(valueAppPushStatsAppPushStat["SmsReceiveSuccessCount"].asString());
if(!valueAppPushStatsAppPushStat["SmsSkipCount"].isNull())
appPushStatsObject.smsSkipCount = std::stol(valueAppPushStatsAppPushStat["SmsSkipCount"].asString());
if(!valueAppPushStatsAppPushStat["SmsReceiveFailedCount"].isNull())
appPushStatsObject.smsReceiveFailedCount = std::stol(valueAppPushStatsAppPushStat["SmsReceiveFailedCount"].asString());
if(!valueAppPushStatsAppPushStat["SmsFailedCount"].isNull())
appPushStatsObject.smsFailedCount = std::stol(valueAppPushStatsAppPushStat["SmsFailedCount"].asString());
if(!valueAppPushStatsAppPushStat["ReceivedCount"].isNull()) if(!valueAppPushStatsAppPushStat["ReceivedCount"].isNull())
appPushStatsObject.receivedCount = std::stol(valueAppPushStatsAppPushStat["ReceivedCount"].asString()); appPushStatsObject.receivedCount = std::stol(valueAppPushStatsAppPushStat["ReceivedCount"].asString());
if(!valueAppPushStatsAppPushStat["SentCount"].isNull()) if(!valueAppPushStatsAppPushStat["SentCount"].isNull())
appPushStatsObject.sentCount = std::stol(valueAppPushStatsAppPushStat["SentCount"].asString()); appPushStatsObject.sentCount = std::stol(valueAppPushStatsAppPushStat["SentCount"].asString());
if(!valueAppPushStatsAppPushStat["SmsFailedCount"].isNull())
appPushStatsObject.smsFailedCount = std::stol(valueAppPushStatsAppPushStat["SmsFailedCount"].asString());
if(!valueAppPushStatsAppPushStat["SmsReceiveFailedCount"].isNull())
appPushStatsObject.smsReceiveFailedCount = std::stol(valueAppPushStatsAppPushStat["SmsReceiveFailedCount"].asString());
if(!valueAppPushStatsAppPushStat["SmsReceiveSuccessCount"].isNull())
appPushStatsObject.smsReceiveSuccessCount = std::stol(valueAppPushStatsAppPushStat["SmsReceiveSuccessCount"].asString());
if(!valueAppPushStatsAppPushStat["SmsSentCount"].isNull()) if(!valueAppPushStatsAppPushStat["SmsSentCount"].isNull())
appPushStatsObject.smsSentCount = std::stol(valueAppPushStatsAppPushStat["SmsSentCount"].asString()); appPushStatsObject.smsSentCount = std::stol(valueAppPushStatsAppPushStat["SmsSentCount"].asString());
if(!valueAppPushStatsAppPushStat["AcceptCount"].isNull()) if(!valueAppPushStatsAppPushStat["SmsSkipCount"].isNull())
appPushStatsObject.acceptCount = std::stol(valueAppPushStatsAppPushStat["AcceptCount"].asString()); appPushStatsObject.smsSkipCount = std::stol(valueAppPushStatsAppPushStat["SmsSkipCount"].asString());
if(!valueAppPushStatsAppPushStat["Time"].isNull())
appPushStatsObject.time = valueAppPushStatsAppPushStat["Time"].asString();
appPushStats_.push_back(appPushStatsObject); appPushStats_.push_back(appPushStatsObject);
} }

View File

@@ -34,15 +34,6 @@ void QueryPushStatByMsgRequest::setMessageId(long messageId) {
setParameter(std::string("MessageId"), std::to_string(messageId)); setParameter(std::string("MessageId"), std::to_string(messageId));
} }
std::string QueryPushStatByMsgRequest::getAccessKeyId() const {
return accessKeyId_;
}
void QueryPushStatByMsgRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long QueryPushStatByMsgRequest::getAppKey() const { long QueryPushStatByMsgRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -43,28 +43,28 @@ void QueryPushStatByMsgResult::parse(const std::string &payload)
for (auto valuePushStatsPushStat : allPushStatsNode) for (auto valuePushStatsPushStat : allPushStatsNode)
{ {
PushStat pushStatsObject; PushStat pushStatsObject;
if(!valuePushStatsPushStat["MessageId"].isNull()) if(!valuePushStatsPushStat["AcceptCount"].isNull())
pushStatsObject.messageId = valuePushStatsPushStat["MessageId"].asString(); pushStatsObject.acceptCount = std::stol(valuePushStatsPushStat["AcceptCount"].asString());
if(!valuePushStatsPushStat["DeletedCount"].isNull()) if(!valuePushStatsPushStat["DeletedCount"].isNull())
pushStatsObject.deletedCount = std::stol(valuePushStatsPushStat["DeletedCount"].asString()); pushStatsObject.deletedCount = std::stol(valuePushStatsPushStat["DeletedCount"].asString());
if(!valuePushStatsPushStat["MessageId"].isNull())
pushStatsObject.messageId = valuePushStatsPushStat["MessageId"].asString();
if(!valuePushStatsPushStat["OpenedCount"].isNull()) if(!valuePushStatsPushStat["OpenedCount"].isNull())
pushStatsObject.openedCount = std::stol(valuePushStatsPushStat["OpenedCount"].asString()); pushStatsObject.openedCount = std::stol(valuePushStatsPushStat["OpenedCount"].asString());
if(!valuePushStatsPushStat["SmsReceiveSuccessCount"].isNull())
pushStatsObject.smsReceiveSuccessCount = std::stol(valuePushStatsPushStat["SmsReceiveSuccessCount"].asString());
if(!valuePushStatsPushStat["SmsSkipCount"].isNull())
pushStatsObject.smsSkipCount = std::stol(valuePushStatsPushStat["SmsSkipCount"].asString());
if(!valuePushStatsPushStat["SmsReceiveFailedCount"].isNull())
pushStatsObject.smsReceiveFailedCount = std::stol(valuePushStatsPushStat["SmsReceiveFailedCount"].asString());
if(!valuePushStatsPushStat["SmsFailedCount"].isNull())
pushStatsObject.smsFailedCount = std::stol(valuePushStatsPushStat["SmsFailedCount"].asString());
if(!valuePushStatsPushStat["ReceivedCount"].isNull()) if(!valuePushStatsPushStat["ReceivedCount"].isNull())
pushStatsObject.receivedCount = std::stol(valuePushStatsPushStat["ReceivedCount"].asString()); pushStatsObject.receivedCount = std::stol(valuePushStatsPushStat["ReceivedCount"].asString());
if(!valuePushStatsPushStat["SentCount"].isNull()) if(!valuePushStatsPushStat["SentCount"].isNull())
pushStatsObject.sentCount = std::stol(valuePushStatsPushStat["SentCount"].asString()); pushStatsObject.sentCount = std::stol(valuePushStatsPushStat["SentCount"].asString());
if(!valuePushStatsPushStat["SmsFailedCount"].isNull())
pushStatsObject.smsFailedCount = std::stol(valuePushStatsPushStat["SmsFailedCount"].asString());
if(!valuePushStatsPushStat["SmsReceiveFailedCount"].isNull())
pushStatsObject.smsReceiveFailedCount = std::stol(valuePushStatsPushStat["SmsReceiveFailedCount"].asString());
if(!valuePushStatsPushStat["SmsReceiveSuccessCount"].isNull())
pushStatsObject.smsReceiveSuccessCount = std::stol(valuePushStatsPushStat["SmsReceiveSuccessCount"].asString());
if(!valuePushStatsPushStat["SmsSentCount"].isNull()) if(!valuePushStatsPushStat["SmsSentCount"].isNull())
pushStatsObject.smsSentCount = std::stol(valuePushStatsPushStat["SmsSentCount"].asString()); pushStatsObject.smsSentCount = std::stol(valuePushStatsPushStat["SmsSentCount"].asString());
if(!valuePushStatsPushStat["AcceptCount"].isNull()) if(!valuePushStatsPushStat["SmsSkipCount"].isNull())
pushStatsObject.acceptCount = std::stol(valuePushStatsPushStat["AcceptCount"].asString()); pushStatsObject.smsSkipCount = std::stol(valuePushStatsPushStat["SmsSkipCount"].asString());
pushStats_.push_back(pushStatsObject); pushStats_.push_back(pushStatsObject);
} }

View File

@@ -34,15 +34,6 @@ void QueryTagsRequest::setKeyType(const std::string &keyType) {
setParameter(std::string("KeyType"), keyType); setParameter(std::string("KeyType"), keyType);
} }
std::string QueryTagsRequest::getAccessKeyId() const {
return accessKeyId_;
}
void QueryTagsRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string QueryTagsRequest::getClientKey() const { std::string QueryTagsRequest::getClientKey() const {
return clientKey_; return clientKey_;
} }

View File

@@ -43,15 +43,6 @@ void QueryUniqueDeviceStatRequest::setStartTime(const std::string &startTime) {
setParameter(std::string("StartTime"), startTime); setParameter(std::string("StartTime"), startTime);
} }
std::string QueryUniqueDeviceStatRequest::getAccessKeyId() const {
return accessKeyId_;
}
void QueryUniqueDeviceStatRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string QueryUniqueDeviceStatRequest::getGranularity() const { std::string QueryUniqueDeviceStatRequest::getGranularity() const {
return granularity_; return granularity_;
} }

View File

@@ -43,10 +43,10 @@ void QueryUniqueDeviceStatResult::parse(const std::string &payload)
for (auto valueAppDeviceStatsAppDeviceStat : allAppDeviceStatsNode) for (auto valueAppDeviceStatsAppDeviceStat : allAppDeviceStatsNode)
{ {
AppDeviceStat appDeviceStatsObject; AppDeviceStat appDeviceStatsObject;
if(!valueAppDeviceStatsAppDeviceStat["Time"].isNull())
appDeviceStatsObject.time = valueAppDeviceStatsAppDeviceStat["Time"].asString();
if(!valueAppDeviceStatsAppDeviceStat["Count"].isNull()) if(!valueAppDeviceStatsAppDeviceStat["Count"].isNull())
appDeviceStatsObject.count = std::stol(valueAppDeviceStatsAppDeviceStat["Count"].asString()); appDeviceStatsObject.count = std::stol(valueAppDeviceStatsAppDeviceStat["Count"].asString());
if(!valueAppDeviceStatsAppDeviceStat["Time"].isNull())
appDeviceStatsObject.time = valueAppDeviceStatsAppDeviceStat["Time"].asString();
appDeviceStats_.push_back(appDeviceStatsObject); appDeviceStats_.push_back(appDeviceStatsObject);
} }

View File

@@ -25,15 +25,6 @@ RemoveTagRequest::RemoveTagRequest()
RemoveTagRequest::~RemoveTagRequest() {} RemoveTagRequest::~RemoveTagRequest() {}
std::string RemoveTagRequest::getAccessKeyId() const {
return accessKeyId_;
}
void RemoveTagRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string RemoveTagRequest::getTagName() const { std::string RemoveTagRequest::getTagName() const {
return tagName_; return tagName_;
} }

View File

@@ -34,15 +34,6 @@ void UnbindAliasRequest::setDeviceId(const std::string &deviceId) {
setParameter(std::string("DeviceId"), deviceId); setParameter(std::string("DeviceId"), deviceId);
} }
std::string UnbindAliasRequest::getAccessKeyId() const {
return accessKeyId_;
}
void UnbindAliasRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string UnbindAliasRequest::getAliasName() const { std::string UnbindAliasRequest::getAliasName() const {
return aliasName_; return aliasName_;
} }

View File

@@ -34,15 +34,6 @@ void UnbindPhoneRequest::setDeviceId(const std::string &deviceId) {
setParameter(std::string("DeviceId"), deviceId); setParameter(std::string("DeviceId"), deviceId);
} }
std::string UnbindPhoneRequest::getAccessKeyId() const {
return accessKeyId_;
}
void UnbindPhoneRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
long UnbindPhoneRequest::getAppKey() const { long UnbindPhoneRequest::getAppKey() const {
return appKey_; return appKey_;
} }

View File

@@ -34,15 +34,6 @@ void UnbindTagRequest::setKeyType(const std::string &keyType) {
setParameter(std::string("KeyType"), keyType); setParameter(std::string("KeyType"), keyType);
} }
std::string UnbindTagRequest::getAccessKeyId() const {
return accessKeyId_;
}
void UnbindTagRequest::setAccessKeyId(const std::string &accessKeyId) {
accessKeyId_ = accessKeyId;
setParameter(std::string("AccessKeyId"), accessKeyId);
}
std::string UnbindTagRequest::getTagName() const { std::string UnbindTagRequest::getTagName() const {
return tagName_; return tagName_;
} }