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

com.aliyun.sdk.service.cloudapi20160714.models.DeleteModelRequest Maven / Gradle / Ivy

There is a newer version: 3.0.23
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160714.models;

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

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

DeleteModelRequest

*/ public class DeleteModelRequest extends Request { @Query @NameInMap("GroupId") @Validation(required = true) private String groupId; @Query @NameInMap("ModelName") @Validation(required = true) private String modelName; private DeleteModelRequest(Builder builder) { super(builder); this.groupId = builder.groupId; this.modelName = builder.modelName; } public static Builder builder() { return new Builder(); } public static DeleteModelRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return groupId */ public String getGroupId() { return this.groupId; } /** * @return modelName */ public String getModelName() { return this.modelName; } public static final class Builder extends Request.Builder { private String groupId; private String modelName; private Builder() { super(); } private Builder(DeleteModelRequest request) { super(request); this.groupId = request.groupId; this.modelName = request.modelName; } /** * The ID of the request. */ public Builder groupId(String groupId) { this.putQueryParameter("GroupId", groupId); this.groupId = groupId; return this; } /** * The ID of the API group to which the model belongs. */ public Builder modelName(String modelName) { this.putQueryParameter("ModelName", modelName); this.modelName = modelName; return this; } @Override public DeleteModelRequest build() { return new DeleteModelRequest(this); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy