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

com.aliyun.sdk.service.quickbi_public20220101.models.CancelCollectionRequest Maven / Gradle / Ivy

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

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

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

CancelCollectionRequest

*/ public class CancelCollectionRequest extends Request { @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("UserId") @com.aliyun.core.annotation.Validation(required = true) private String userId; @com.aliyun.core.annotation.Query @com.aliyun.core.annotation.NameInMap("WorksId") @com.aliyun.core.annotation.Validation(required = true) private String worksId; private CancelCollectionRequest(Builder builder) { super(builder); this.userId = builder.userId; this.worksId = builder.worksId; } public static Builder builder() { return new Builder(); } public static CancelCollectionRequest create() { return builder().build(); } @Override public Builder toBuilder() { return new Builder(this); } /** * @return userId */ public String getUserId() { return this.userId; } /** * @return worksId */ public String getWorksId() { return this.worksId; } public static final class Builder extends Request.Builder { private String userId; private String worksId; private Builder() { super(); } private Builder(CancelCollectionRequest request) { super(request); this.userId = request.userId; this.worksId = request.worksId; } /** *

The ID of the favorite user. The user ID is the UserID of the Quick BI, not the UID of Alibaba Cloud.

*

This parameter is required.

* * example: *

121344444790****

*/ public Builder userId(String userId) { this.putQueryParameter("UserId", userId); this.userId = userId; return this; } /** *

The ID of the work to cancel the collection.

*

This parameter is required.

* * example: *

5d6ae4e7-cede-43cd-b4d3-d2fd442a9202

*/ public Builder worksId(String worksId) { this.putQueryParameter("WorksId", worksId); this.worksId = worksId; return this; } @Override public CancelCollectionRequest build() { return new CancelCollectionRequest(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy