/* * Copyright 2016 Baidu, Inc. * * 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.baidubce.services.iothub.model; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.List; /** * The permission response to list. */ @JsonIgnoreProperties(ignoreUnknown = true) public class ListPermissionResponse extends BaseResponse { private int totalCount; private List<Permission> result; private String order; private String orderBy; private int pageSize; private int pageNo; public int getPageSize() { return pageSize; } public void setPageSize(int pageSize) { this.pageSize = pageSize; } public int getTotalCount() { return totalCount; } public void setTotalCount(int totalCount) { this.totalCount = totalCount; } public List<Permission> getResult() { return result; } public void setResult(List<Permission> result) { this.result = result; } public String getOrder() { return order; } public void setOrder(String order) { this.order = order; } public String getOrderBy() { return orderBy; } public void setOrderBy(String orderBy) { this.orderBy = orderBy; } public int getPageNo() { return pageNo; } public void setPageNo(int pageNo) { this.pageNo = pageNo; } }