com.aliyun.pds20220301.models.ListDriveRequest 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.pds20220301.models;
import com.aliyun.tea.*;
public class ListDriveRequest extends TeaModel {
/**
* The maximum number of results 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 empty.
*
* example:
* NWQ1Yjk4YmI1ZDRlYmU1Y2E0YWE0NmJhYWJmODBhNDQ2NzhlMTRhMg
*/
@NameInMap("marker")
public String marker;
/**
* The owner of the drive. If this parameter is not specified, all drives are returned.
*
* example:
* c9b7a5aa04d14ae3867fdc886fa01da4
*/
@NameInMap("owner")
public String owner;
/**
* The type of the owner. Valid values:
* user and group.
* By default, drives of all owner types are returned.
*
* example:
* user
*/
@NameInMap("owner_type")
public String ownerType;
public static ListDriveRequest build(java.util.Map map) throws Exception {
ListDriveRequest self = new ListDriveRequest();
return TeaModel.build(map, self);
}
public ListDriveRequest setLimit(Integer limit) {
this.limit = limit;
return this;
}
public Integer getLimit() {
return this.limit;
}
public ListDriveRequest setMarker(String marker) {
this.marker = marker;
return this;
}
public String getMarker() {
return this.marker;
}
public ListDriveRequest setOwner(String owner) {
this.owner = owner;
return this;
}
public String getOwner() {
return this.owner;
}
public ListDriveRequest setOwnerType(String ownerType) {
this.ownerType = ownerType;
return this;
}
public String getOwnerType() {
return this.ownerType;
}
}