Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd27e98c03 |
@@ -1,3 +1,6 @@
|
||||
2020-08-09 Version: 1.36.563
|
||||
- Add extend value for list event detail.
|
||||
|
||||
2020-08-08 Version: 1.36.562
|
||||
- Update SearchImage.
|
||||
|
||||
|
||||
@@ -43,22 +43,29 @@ namespace AlibabaCloud
|
||||
GetDeviceConfigResult();
|
||||
explicit GetDeviceConfigResult(const std::string &payload);
|
||||
~GetDeviceConfigResult();
|
||||
std::string getFrameRate()const;
|
||||
std::string getEncodeFormat()const;
|
||||
std::string getMessage()const;
|
||||
std::string getDeviceId()const;
|
||||
std::string getLatitude()const;
|
||||
std::string getCode()const;
|
||||
std::string getLongitude()const;
|
||||
std::vector<OSDListItem> getOSDList()const;
|
||||
std::string getPassWord()const;
|
||||
std::string getOSDTimeY()const;
|
||||
std::string getOSDTimeEnable()const;
|
||||
std::string getServerId()const;
|
||||
std::string getDeviceAddress()const;
|
||||
std::string getOSDTimeX()const;
|
||||
int getGovLength()const;
|
||||
std::string getRetryInterval()const;
|
||||
std::string getAudioFormat()const;
|
||||
std::string getBitRate()const;
|
||||
std::string getProtocol()const;
|
||||
bool getAudioEnable()const;
|
||||
std::string getFrameRate()const;
|
||||
std::string getUserName()const;
|
||||
std::string getServerIp()const;
|
||||
std::string getCode()const;
|
||||
std::string getLongitude()const;
|
||||
std::string getRetryInterval()const;
|
||||
std::string getBitRate()const;
|
||||
std::string getServerPort()const;
|
||||
std::string getDeviceName()const;
|
||||
std::string getOSDTimeType()const;
|
||||
std::string getResolution()const;
|
||||
@@ -66,22 +73,29 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string frameRate_;
|
||||
std::string encodeFormat_;
|
||||
std::string message_;
|
||||
std::string deviceId_;
|
||||
std::string latitude_;
|
||||
std::string code_;
|
||||
std::string longitude_;
|
||||
std::vector<OSDListItem> oSDList_;
|
||||
std::string passWord_;
|
||||
std::string oSDTimeY_;
|
||||
std::string oSDTimeEnable_;
|
||||
std::string serverId_;
|
||||
std::string deviceAddress_;
|
||||
std::string oSDTimeX_;
|
||||
int govLength_;
|
||||
std::string retryInterval_;
|
||||
std::string audioFormat_;
|
||||
std::string bitRate_;
|
||||
std::string protocol_;
|
||||
bool audioEnable_;
|
||||
std::string frameRate_;
|
||||
std::string userName_;
|
||||
std::string serverIp_;
|
||||
std::string code_;
|
||||
std::string longitude_;
|
||||
std::string retryInterval_;
|
||||
std::string bitRate_;
|
||||
std::string serverPort_;
|
||||
std::string deviceName_;
|
||||
std::string oSDTimeType_;
|
||||
std::string resolution_;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getCorpId()const;
|
||||
void setCorpId(const std::string& corpId);
|
||||
std::string getExtendValue()const;
|
||||
void setExtendValue(const std::string& extendValue);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
@@ -52,6 +54,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string corpId_;
|
||||
std::string extendValue_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string pageNumber_;
|
||||
|
||||
@@ -37,9 +37,12 @@ namespace AlibabaCloud
|
||||
struct RecordsItem
|
||||
{
|
||||
std::string picUrlPath;
|
||||
std::string extendValue;
|
||||
std::string corpId;
|
||||
std::string eventType;
|
||||
std::string extendValueThree;
|
||||
std::string targetPicUrlPath;
|
||||
std::string extendValueTwo;
|
||||
std::string shotTime;
|
||||
std::string recordId;
|
||||
std::string capStyle;
|
||||
@@ -57,6 +60,7 @@ namespace AlibabaCloud
|
||||
ListEventAlgorithmResultsResult();
|
||||
explicit ListEventAlgorithmResultsResult(const std::string &payload);
|
||||
~ListEventAlgorithmResultsResult();
|
||||
std::string getExtendValue()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
@@ -64,6 +68,7 @@ namespace AlibabaCloud
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string extendValue_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
@@ -37,18 +37,18 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getDeviceTimeStamp()const;
|
||||
void setDeviceTimeStamp(const std::string& deviceTimeStamp);
|
||||
std::string getDeviceSn()const;
|
||||
void setDeviceSn(const std::string& deviceSn);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getServerId()const;
|
||||
void setServerId(const std::string& serverId);
|
||||
std::string getDeviceSerialNumber()const;
|
||||
void setDeviceSerialNumber(const std::string& deviceSerialNumber);
|
||||
|
||||
private:
|
||||
std::string deviceTimeStamp_;
|
||||
std::string deviceSn_;
|
||||
std::string deviceId_;
|
||||
std::string serverId_;
|
||||
std::string deviceSerialNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace AlibabaCloud
|
||||
std::string maxStream;
|
||||
std::string encodeFormat;
|
||||
std::string maxFrameRate;
|
||||
std::string govLengthRange;
|
||||
std::string resolution;
|
||||
};
|
||||
|
||||
|
||||
@@ -87,14 +87,23 @@ void GetDeviceConfigResult::parse(const std::string &payload)
|
||||
resolution_ = value["Resolution"].asString();
|
||||
if(!value["RetryInterval"].isNull())
|
||||
retryInterval_ = value["RetryInterval"].asString();
|
||||
if(!value["DeviceId"].isNull())
|
||||
deviceId_ = value["DeviceId"].asString();
|
||||
if(!value["UserName"].isNull())
|
||||
userName_ = value["UserName"].asString();
|
||||
if(!value["PassWord"].isNull())
|
||||
passWord_ = value["PassWord"].asString();
|
||||
if(!value["Protocol"].isNull())
|
||||
protocol_ = value["Protocol"].asString();
|
||||
if(!value["ServerId"].isNull())
|
||||
serverId_ = value["ServerId"].asString();
|
||||
if(!value["ServerPort"].isNull())
|
||||
serverPort_ = value["ServerPort"].asString();
|
||||
if(!value["ServerIp"].isNull())
|
||||
serverIp_ = value["ServerIp"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getFrameRate()const
|
||||
{
|
||||
return frameRate_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getEncodeFormat()const
|
||||
{
|
||||
return encodeFormat_;
|
||||
@@ -105,26 +114,26 @@ std::string GetDeviceConfigResult::getMessage()const
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getLatitude()const
|
||||
{
|
||||
return latitude_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getLongitude()const
|
||||
{
|
||||
return longitude_;
|
||||
}
|
||||
|
||||
std::vector<GetDeviceConfigResult::OSDListItem> GetDeviceConfigResult::getOSDList()const
|
||||
{
|
||||
return oSDList_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getPassWord()const
|
||||
{
|
||||
return passWord_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getOSDTimeY()const
|
||||
{
|
||||
return oSDTimeY_;
|
||||
@@ -135,6 +144,11 @@ std::string GetDeviceConfigResult::getOSDTimeEnable()const
|
||||
return oSDTimeEnable_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getServerId()const
|
||||
{
|
||||
return serverId_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getDeviceAddress()const
|
||||
{
|
||||
return deviceAddress_;
|
||||
@@ -150,24 +164,59 @@ int GetDeviceConfigResult::getGovLength()const
|
||||
return govLength_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getRetryInterval()const
|
||||
{
|
||||
return retryInterval_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getAudioFormat()const
|
||||
{
|
||||
return audioFormat_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getProtocol()const
|
||||
{
|
||||
return protocol_;
|
||||
}
|
||||
|
||||
bool GetDeviceConfigResult::getAudioEnable()const
|
||||
{
|
||||
return audioEnable_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getFrameRate()const
|
||||
{
|
||||
return frameRate_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getUserName()const
|
||||
{
|
||||
return userName_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getServerIp()const
|
||||
{
|
||||
return serverIp_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getLongitude()const
|
||||
{
|
||||
return longitude_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getRetryInterval()const
|
||||
{
|
||||
return retryInterval_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getBitRate()const
|
||||
{
|
||||
return bitRate_;
|
||||
}
|
||||
|
||||
bool GetDeviceConfigResult::getAudioEnable()const
|
||||
std::string GetDeviceConfigResult::getServerPort()const
|
||||
{
|
||||
return audioEnable_;
|
||||
return serverPort_;
|
||||
}
|
||||
|
||||
std::string GetDeviceConfigResult::getDeviceName()const
|
||||
|
||||
@@ -38,6 +38,17 @@ void ListEventAlgorithmResultsRequest::setCorpId(const std::string& corpId)
|
||||
setBodyParameter("CorpId", corpId);
|
||||
}
|
||||
|
||||
std::string ListEventAlgorithmResultsRequest::getExtendValue()const
|
||||
{
|
||||
return extendValue_;
|
||||
}
|
||||
|
||||
void ListEventAlgorithmResultsRequest::setExtendValue(const std::string& extendValue)
|
||||
{
|
||||
extendValue_ = extendValue;
|
||||
setBodyParameter("ExtendValue", extendValue);
|
||||
}
|
||||
|
||||
std::string ListEventAlgorithmResultsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
|
||||
@@ -70,15 +70,28 @@ void ListEventAlgorithmResultsResult::parse(const std::string &payload)
|
||||
recordsItemObject.targetPicUrlPath = dataNodeRecordsRecordsItem["TargetPicUrlPath"].asString();
|
||||
if(!dataNodeRecordsRecordsItem["RecordId"].isNull())
|
||||
recordsItemObject.recordId = dataNodeRecordsRecordsItem["RecordId"].asString();
|
||||
if(!dataNodeRecordsRecordsItem["ExtendValue"].isNull())
|
||||
recordsItemObject.extendValue = dataNodeRecordsRecordsItem["ExtendValue"].asString();
|
||||
if(!dataNodeRecordsRecordsItem["ExtendValueTwo"].isNull())
|
||||
recordsItemObject.extendValueTwo = dataNodeRecordsRecordsItem["ExtendValueTwo"].asString();
|
||||
if(!dataNodeRecordsRecordsItem["ExtendValueThree"].isNull())
|
||||
recordsItemObject.extendValueThree = dataNodeRecordsRecordsItem["ExtendValueThree"].asString();
|
||||
data_.records.push_back(recordsItemObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["ExtendValue"].isNull())
|
||||
extendValue_ = value["ExtendValue"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListEventAlgorithmResultsResult::getExtendValue()const
|
||||
{
|
||||
return extendValue_;
|
||||
}
|
||||
|
||||
std::string ListEventAlgorithmResultsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
|
||||
@@ -38,6 +38,17 @@ void RegisterDeviceRequest::setDeviceTimeStamp(const std::string& deviceTimeStam
|
||||
setBodyParameter("DeviceTimeStamp", deviceTimeStamp);
|
||||
}
|
||||
|
||||
std::string RegisterDeviceRequest::getDeviceSn()const
|
||||
{
|
||||
return deviceSn_;
|
||||
}
|
||||
|
||||
void RegisterDeviceRequest::setDeviceSn(const std::string& deviceSn)
|
||||
{
|
||||
deviceSn_ = deviceSn;
|
||||
setBodyParameter("DeviceSn", deviceSn);
|
||||
}
|
||||
|
||||
std::string RegisterDeviceRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
@@ -60,14 +71,3 @@ void RegisterDeviceRequest::setServerId(const std::string& serverId)
|
||||
setBodyParameter("ServerId", serverId);
|
||||
}
|
||||
|
||||
std::string RegisterDeviceRequest::getDeviceSerialNumber()const
|
||||
{
|
||||
return deviceSerialNumber_;
|
||||
}
|
||||
|
||||
void RegisterDeviceRequest::setDeviceSerialNumber(const std::string& deviceSerialNumber)
|
||||
{
|
||||
deviceSerialNumber_ = deviceSerialNumber;
|
||||
setBodyParameter("DeviceSerialNumber", deviceSerialNumber);
|
||||
}
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ void ReportDeviceCapacityRequest::setStreamCapacities(const std::vector<StreamCa
|
||||
setParameter(streamCapacitiesObjStr + ".MaxStream", streamCapacitiesObj.maxStream);
|
||||
setParameter(streamCapacitiesObjStr + ".EncodeFormat", streamCapacitiesObj.encodeFormat);
|
||||
setParameter(streamCapacitiesObjStr + ".MaxFrameRate", streamCapacitiesObj.maxFrameRate);
|
||||
setParameter(streamCapacitiesObjStr + ".GovLengthRange", streamCapacitiesObj.govLengthRange);
|
||||
setParameter(streamCapacitiesObjStr + ".Resolution", streamCapacitiesObj.resolution);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user