
com.tencentcloudapi.iotvideo.v20191126.models.UpgradeDeviceRequest Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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.
*/
package com.tencentcloudapi.iotvideo.v20191126.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class UpgradeDeviceRequest extends AbstractModel{
/**
* 设备TID
*/
@SerializedName("Tid")
@Expose
private String Tid;
/**
* 固件版本号
*/
@SerializedName("OtaVersion")
@Expose
private String OtaVersion;
/**
* 是否立即升级
*/
@SerializedName("UpgradeNow")
@Expose
private Boolean UpgradeNow;
/**
* Get 设备TID
* @return Tid 设备TID
*/
public String getTid() {
return this.Tid;
}
/**
* Set 设备TID
* @param Tid 设备TID
*/
public void setTid(String Tid) {
this.Tid = Tid;
}
/**
* Get 固件版本号
* @return OtaVersion 固件版本号
*/
public String getOtaVersion() {
return this.OtaVersion;
}
/**
* Set 固件版本号
* @param OtaVersion 固件版本号
*/
public void setOtaVersion(String OtaVersion) {
this.OtaVersion = OtaVersion;
}
/**
* Get 是否立即升级
* @return UpgradeNow 是否立即升级
*/
public Boolean getUpgradeNow() {
return this.UpgradeNow;
}
/**
* Set 是否立即升级
* @param UpgradeNow 是否立即升级
*/
public void setUpgradeNow(Boolean UpgradeNow) {
this.UpgradeNow = UpgradeNow;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Tid", this.Tid);
this.setParamSimple(map, prefix + "OtaVersion", this.OtaVersion);
this.setParamSimple(map, prefix + "UpgradeNow", this.UpgradeNow);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy