com.aliyun.pds20220301.models.SearchDriveRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pds20220301 Show documentation
Show all versions of pds20220301 Show documentation
Alibaba Cloud pds (20220301) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.pds20220301.models;
import com.aliyun.tea.*;
public class SearchDriveRequest extends TeaModel {
/**
* The drive name.
*/
@NameInMap("drive_name")
public String driveName;
/**
* The maximum number of asynchronous tasks to return. Valid values: 1 to 100. Default value: 100.
*
* example:
* 100
*/
@NameInMap("limit")
public Integer limit;
/**
* The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of marker.\
* By default, this parameter is left empty.
*
* example:
* NWQ1Yjk4YmI1ZDRlYmU1Y2E0YWE0NmJhYWJmODBhNDQ2NzhlMTRhMg
*/
@NameInMap("marker")
public String marker;
/**
* The owner of the drive.
*
* example:
* c9b7a5aa04d14ae3867fdc886fa01da4
*/
@NameInMap("owner")
public String owner;
/**
* The type of the owner. Valid values:
* user group
*
* example:
* user
*/
@NameInMap("owner_type")
public String ownerType;
public static SearchDriveRequest build(java.util.Map map) throws Exception {
SearchDriveRequest self = new SearchDriveRequest();
return TeaModel.build(map, self);
}
public SearchDriveRequest setDriveName(String driveName) {
this.driveName = driveName;
return this;
}
public String getDriveName() {
return this.driveName;
}
public SearchDriveRequest setLimit(Integer limit) {
this.limit = limit;
return this;
}
public Integer getLimit() {
return this.limit;
}
public SearchDriveRequest setMarker(String marker) {
this.marker = marker;
return this;
}
public String getMarker() {
return this.marker;
}
public SearchDriveRequest setOwner(String owner) {
this.owner = owner;
return this;
}
public String getOwner() {
return this.owner;
}
public SearchDriveRequest setOwnerType(String ownerType) {
this.ownerType = ownerType;
return this;
}
public String getOwnerType() {
return this.ownerType;
}
}