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

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

QueryMessageInfoRequest

*/ public class QueryMessageInfoRequest extends Request { @Query @NameInMap("IotInstanceId") private String iotInstanceId; @Query @NameInMap("UniMsgId") @Validation(required = true) private String uniMsgId; private QueryMessageInfoRequest(Builder builder) { super(builder); this.iotInstanceId = builder.iotInstanceId; this.uniMsgId = builder.uniMsgId; } public static Builder builder() { return new Builder(); } public static QueryMessageInfoRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return iotInstanceId */ public String getIotInstanceId() { return this.iotInstanceId; } /** * @return uniMsgId */ public String getUniMsgId() { return this.uniMsgId; } public static final class Builder extends Request.Builder { private String iotInstanceId; private String uniMsgId; private Builder() { super(); } private Builder(QueryMessageInfoRequest request) { super(request); this.iotInstanceId = request.iotInstanceId; this.uniMsgId = request.uniMsgId; } /** * IotInstanceId. */ public Builder iotInstanceId(String iotInstanceId) { this.putQueryParameter("IotInstanceId", iotInstanceId); this.iotInstanceId = iotInstanceId; return this; } /** * UniMsgId. */ public Builder uniMsgId(String uniMsgId) { this.putQueryParameter("UniMsgId", uniMsgId); this.uniMsgId = uniMsgId; return this; } @Override public QueryMessageInfoRequest build() { return new QueryMessageInfoRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy