![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.lcic.v20220817.models.DescribeDocumentsRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.lcic.v20220817.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class DescribeDocumentsRequest extends AbstractModel {
/**
* The school ID.
*/
@SerializedName("SchoolId")
@Expose
private Long SchoolId;
/**
* The page to return records from. Pagination starts from 1.
*/
@SerializedName("Page")
@Expose
private Long Page;
/**
* The maximum number of records per page. The value of this parameter cannot exceed `1000`.
*/
@SerializedName("Limit")
@Expose
private Long Limit;
/**
* The courseware access. [0]: The private courseware of the specified user (`Owner`) will be returned; [1]: The public courseware of the specified user will be returned; [0,1]: Both the private and public courseware of the specified user will be returned; [2]: The private courseware of the specified user and the public courseware of all users (including `Owner`) will be returned.
*/
@SerializedName("Permission")
@Expose
private Long [] Permission;
/**
* The user ID of the courseware owner. If you do not specify this parameter, all courseware under the school ID will be returned.
*/
@SerializedName("Owner")
@Expose
private String Owner;
/**
* The filename keyword.
*/
@SerializedName("Keyword")
@Expose
private String Keyword;
/**
* The courseware IDs. Non-existent IDs will be ignored.
*/
@SerializedName("DocumentId")
@Expose
private String [] DocumentId;
/**
* Get The school ID.
* @return SchoolId The school ID.
*/
public Long getSchoolId() {
return this.SchoolId;
}
/**
* Set The school ID.
* @param SchoolId The school ID.
*/
public void setSchoolId(Long SchoolId) {
this.SchoolId = SchoolId;
}
/**
* Get The page to return records from. Pagination starts from 1.
* @return Page The page to return records from. Pagination starts from 1.
*/
public Long getPage() {
return this.Page;
}
/**
* Set The page to return records from. Pagination starts from 1.
* @param Page The page to return records from. Pagination starts from 1.
*/
public void setPage(Long Page) {
this.Page = Page;
}
/**
* Get The maximum number of records per page. The value of this parameter cannot exceed `1000`.
* @return Limit The maximum number of records per page. The value of this parameter cannot exceed `1000`.
*/
public Long getLimit() {
return this.Limit;
}
/**
* Set The maximum number of records per page. The value of this parameter cannot exceed `1000`.
* @param Limit The maximum number of records per page. The value of this parameter cannot exceed `1000`.
*/
public void setLimit(Long Limit) {
this.Limit = Limit;
}
/**
* Get The courseware access. [0]: The private courseware of the specified user (`Owner`) will be returned; [1]: The public courseware of the specified user will be returned; [0,1]: Both the private and public courseware of the specified user will be returned; [2]: The private courseware of the specified user and the public courseware of all users (including `Owner`) will be returned.
* @return Permission The courseware access. [0]: The private courseware of the specified user (`Owner`) will be returned; [1]: The public courseware of the specified user will be returned; [0,1]: Both the private and public courseware of the specified user will be returned; [2]: The private courseware of the specified user and the public courseware of all users (including `Owner`) will be returned.
*/
public Long [] getPermission() {
return this.Permission;
}
/**
* Set The courseware access. [0]: The private courseware of the specified user (`Owner`) will be returned; [1]: The public courseware of the specified user will be returned; [0,1]: Both the private and public courseware of the specified user will be returned; [2]: The private courseware of the specified user and the public courseware of all users (including `Owner`) will be returned.
* @param Permission The courseware access. [0]: The private courseware of the specified user (`Owner`) will be returned; [1]: The public courseware of the specified user will be returned; [0,1]: Both the private and public courseware of the specified user will be returned; [2]: The private courseware of the specified user and the public courseware of all users (including `Owner`) will be returned.
*/
public void setPermission(Long [] Permission) {
this.Permission = Permission;
}
/**
* Get The user ID of the courseware owner. If you do not specify this parameter, all courseware under the school ID will be returned.
* @return Owner The user ID of the courseware owner. If you do not specify this parameter, all courseware under the school ID will be returned.
*/
public String getOwner() {
return this.Owner;
}
/**
* Set The user ID of the courseware owner. If you do not specify this parameter, all courseware under the school ID will be returned.
* @param Owner The user ID of the courseware owner. If you do not specify this parameter, all courseware under the school ID will be returned.
*/
public void setOwner(String Owner) {
this.Owner = Owner;
}
/**
* Get The filename keyword.
* @return Keyword The filename keyword.
*/
public String getKeyword() {
return this.Keyword;
}
/**
* Set The filename keyword.
* @param Keyword The filename keyword.
*/
public void setKeyword(String Keyword) {
this.Keyword = Keyword;
}
/**
* Get The courseware IDs. Non-existent IDs will be ignored.
* @return DocumentId The courseware IDs. Non-existent IDs will be ignored.
*/
public String [] getDocumentId() {
return this.DocumentId;
}
/**
* Set The courseware IDs. Non-existent IDs will be ignored.
* @param DocumentId The courseware IDs. Non-existent IDs will be ignored.
*/
public void setDocumentId(String [] DocumentId) {
this.DocumentId = DocumentId;
}
public DescribeDocumentsRequest() {
}
/**
* NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
* and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
*/
public DescribeDocumentsRequest(DescribeDocumentsRequest source) {
if (source.SchoolId != null) {
this.SchoolId = new Long(source.SchoolId);
}
if (source.Page != null) {
this.Page = new Long(source.Page);
}
if (source.Limit != null) {
this.Limit = new Long(source.Limit);
}
if (source.Permission != null) {
this.Permission = new Long[source.Permission.length];
for (int i = 0; i < source.Permission.length; i++) {
this.Permission[i] = new Long(source.Permission[i]);
}
}
if (source.Owner != null) {
this.Owner = new String(source.Owner);
}
if (source.Keyword != null) {
this.Keyword = new String(source.Keyword);
}
if (source.DocumentId != null) {
this.DocumentId = new String[source.DocumentId.length];
for (int i = 0; i < source.DocumentId.length; i++) {
this.DocumentId[i] = new String(source.DocumentId[i]);
}
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "SchoolId", this.SchoolId);
this.setParamSimple(map, prefix + "Page", this.Page);
this.setParamSimple(map, prefix + "Limit", this.Limit);
this.setParamArraySimple(map, prefix + "Permission.", this.Permission);
this.setParamSimple(map, prefix + "Owner", this.Owner);
this.setParamSimple(map, prefix + "Keyword", this.Keyword);
this.setParamArraySimple(map, prefix + "DocumentId.", this.DocumentId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy