
com.tencentcloudapi.iotvideoindustry.v20201201.models.CreateRecordPlanRequest 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.iotvideoindustry.v20201201.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class CreateRecordPlanRequest extends AbstractModel{
/**
* 计划名称
*/
@SerializedName("Name")
@Expose
private String Name;
/**
* 时间模板ID
*/
@SerializedName("TimeTemplateId")
@Expose
private String TimeTemplateId;
/**
* 触发录制的事件类别 1:全部
*/
@SerializedName("EventId")
@Expose
private Long EventId;
/**
* 该录制计划绑定的设备列表
*/
@SerializedName("Devices")
@Expose
private DeviceItem [] Devices;
/**
* Get 计划名称
* @return Name 计划名称
*/
public String getName() {
return this.Name;
}
/**
* Set 计划名称
* @param Name 计划名称
*/
public void setName(String Name) {
this.Name = Name;
}
/**
* Get 时间模板ID
* @return TimeTemplateId 时间模板ID
*/
public String getTimeTemplateId() {
return this.TimeTemplateId;
}
/**
* Set 时间模板ID
* @param TimeTemplateId 时间模板ID
*/
public void setTimeTemplateId(String TimeTemplateId) {
this.TimeTemplateId = TimeTemplateId;
}
/**
* Get 触发录制的事件类别 1:全部
* @return EventId 触发录制的事件类别 1:全部
*/
public Long getEventId() {
return this.EventId;
}
/**
* Set 触发录制的事件类别 1:全部
* @param EventId 触发录制的事件类别 1:全部
*/
public void setEventId(Long EventId) {
this.EventId = EventId;
}
/**
* Get 该录制计划绑定的设备列表
* @return Devices 该录制计划绑定的设备列表
*/
public DeviceItem [] getDevices() {
return this.Devices;
}
/**
* Set 该录制计划绑定的设备列表
* @param Devices 该录制计划绑定的设备列表
*/
public void setDevices(DeviceItem [] Devices) {
this.Devices = Devices;
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "Name", this.Name);
this.setParamSimple(map, prefix + "TimeTemplateId", this.TimeTemplateId);
this.setParamSimple(map, prefix + "EventId", this.EventId);
this.setParamArrayObj(map, prefix + "Devices.", this.Devices);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy