All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.iot20180120.models.CreateSchedulePeriodRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.iot20180120.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link CreateSchedulePeriodRequest} extends {@link RequestModel}
 *
 * 

CreateSchedulePeriodRequest

*/ public class CreateSchedulePeriodRequest extends Request { @Body @NameInMap("Description") @Validation(required = true) private String description; @Body @NameInMap("EndTime") @Validation(required = true) private String endTime; @Body @NameInMap("IotInstanceId") private String iotInstanceId; @Body @NameInMap("ScheduleCode") @Validation(required = true) private String scheduleCode; @Body @NameInMap("SoundCodeContent") @Validation(required = true) private String soundCodeContent; @Body @NameInMap("StartTime") @Validation(required = true) private String startTime; private CreateSchedulePeriodRequest(Builder builder) { super(builder); this.description = builder.description; this.endTime = builder.endTime; this.iotInstanceId = builder.iotInstanceId; this.scheduleCode = builder.scheduleCode; this.soundCodeContent = builder.soundCodeContent; this.startTime = builder.startTime; } public static Builder builder() { return new Builder(); } public static CreateSchedulePeriodRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return description */ public String getDescription() { return this.description; } /** * @return endTime */ public String getEndTime() { return this.endTime; } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return scheduleCode */ public String getScheduleCode() { return this.scheduleCode; } /** * @return soundCodeContent */ public String getSoundCodeContent() { return this.soundCodeContent; } /** * @return startTime */ public String getStartTime() { return this.startTime; } public static final class Builder extends Request.Builder { private String description; private String endTime; private String iotInstanceId; private String scheduleCode; private String soundCodeContent; private String startTime; private Builder() { super(); } private Builder(CreateSchedulePeriodRequest request) { super(request); this.description = request.description; this.endTime = request.endTime; this.iotInstanceId = request.iotInstanceId; this.scheduleCode = request.scheduleCode; this.soundCodeContent = request.soundCodeContent; this.startTime = request.startTime; } /** * Description. */ public Builder description(String description) { this.putBodyParameter("Description", description); this.description = description; return this; } /** * EndTime. */ public Builder endTime(String endTime) { this.putBodyParameter("EndTime", endTime); this.endTime = endTime; return this; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putBodyParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } /** * ScheduleCode. */ public Builder scheduleCode(String scheduleCode) { this.putBodyParameter("ScheduleCode", scheduleCode); this.scheduleCode = scheduleCode; return this; } /** * SoundCodeContent. */ public Builder soundCodeContent(String soundCodeContent) { this.putBodyParameter("SoundCodeContent", soundCodeContent); this.soundCodeContent = soundCodeContent; return this; } /** * StartTime. */ public Builder startTime(String startTime) { this.putBodyParameter("StartTime", startTime); this.startTime = startTime; return this; } @Override public CreateSchedulePeriodRequest build() { return new CreateSchedulePeriodRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy