com.aliyun.sdk.service.cloudapi20160701.models.ExportSwaggerRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Alibaba Cloud CloudAPI (20160701) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160701.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link ExportSwaggerRequest} extends {@link RequestModel}
*
* ExportSwaggerRequest
*/
public class ExportSwaggerRequest extends Request {
@Query
@NameInMap("ApiUid")
@Validation(required = true)
private String apiUid;
@Query
@NameInMap("DataFormat")
private String dataFormat;
private ExportSwaggerRequest(Builder builder) {
super(builder);
this.apiUid = builder.apiUid;
this.dataFormat = builder.dataFormat;
}
public static Builder builder() {
return new Builder();
}
public static ExportSwaggerRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return apiUid
*/
public String getApiUid() {
return this.apiUid;
}
/**
* @return dataFormat
*/
public String getDataFormat() {
return this.dataFormat;
}
public static final class Builder extends Request.Builder {
private String apiUid;
private String dataFormat;
private Builder() {
super();
}
private Builder(ExportSwaggerRequest request) {
super(request);
this.apiUid = request.apiUid;
this.dataFormat = request.dataFormat;
}
/**
* ApiUid.
*/
public Builder apiUid(String apiUid) {
this.putQueryParameter("ApiUid", apiUid);
this.apiUid = apiUid;
return this;
}
/**
* DataFormat.
*/
public Builder dataFormat(String dataFormat) {
this.putQueryParameter("DataFormat", dataFormat);
this.dataFormat = dataFormat;
return this;
}
@Override
public ExportSwaggerRequest build() {
return new ExportSwaggerRequest(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy