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

com.aliyun.sdk.service.iot20180120.models.CreateSoundCodeLabelRequest 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 CreateSoundCodeLabelRequest} extends {@link RequestModel}
 *
 * 

CreateSoundCodeLabelRequest

*/ public class CreateSoundCodeLabelRequest extends Request { @Body @NameInMap("IotInstanceId") private String iotInstanceId; @Body @NameInMap("Label") @Validation(required = true) private String label; @Body @NameInMap("ScheduleCode") @Validation(required = true) private String scheduleCode; private CreateSoundCodeLabelRequest(Builder builder) { super(builder); this.iotInstanceId = builder.iotInstanceId; this.label = builder.label; this.scheduleCode = builder.scheduleCode; } public static Builder builder() { return new Builder(); } public static CreateSoundCodeLabelRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return label */ public String getLabel() { return this.label; } /** * @return scheduleCode */ public String getScheduleCode() { return this.scheduleCode; } public static final class Builder extends Request.Builder { private String iotInstanceId; private String label; private String scheduleCode; private Builder() { super(); } private Builder(CreateSoundCodeLabelRequest request) { super(request); this.iotInstanceId = request.iotInstanceId; this.label = request.label; this.scheduleCode = request.scheduleCode; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putBodyParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } /** * Label. */ public Builder label(String label) { this.putBodyParameter("Label", label); this.label = label; return this; } /** * ScheduleCode. */ public Builder scheduleCode(String scheduleCode) { this.putBodyParameter("ScheduleCode", scheduleCode); this.scheduleCode = scheduleCode; return this; } @Override public CreateSoundCodeLabelRequest build() { return new CreateSoundCodeLabelRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy