Merge pull request 'add vpp user services' (#151) from inosh/device-mgt-core:vpp into vpp-v2
Reviewed-on: #151pull/155/head
commit
f246d6b8de
@ -0,0 +1,76 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
||||||
|
*
|
||||||
|
* Entgra (Pvt) Ltd. licenses this file to you 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 io.entgra.device.mgt.core.application.mgt.common.dto;
|
||||||
|
|
||||||
|
public class VppPaginationDTO {
|
||||||
|
|
||||||
|
int currentPageIndex;
|
||||||
|
int size;
|
||||||
|
String tokenExpirationDate;
|
||||||
|
int totalPages;
|
||||||
|
String uId;
|
||||||
|
String versionId;
|
||||||
|
|
||||||
|
public int getCurrentPageIndex() {
|
||||||
|
return currentPageIndex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCurrentPageIndex(int currentPageIndex) {
|
||||||
|
this.currentPageIndex = currentPageIndex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getSize() {
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSize(int size) {
|
||||||
|
this.size = size;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTokenExpirationDate() {
|
||||||
|
return tokenExpirationDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTokenExpirationDate(String tokenExpirationDate) {
|
||||||
|
this.tokenExpirationDate = tokenExpirationDate;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getTotalPages() {
|
||||||
|
return totalPages;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTotalPages(int totalPages) {
|
||||||
|
this.totalPages = totalPages;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getuId() {
|
||||||
|
return uId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setuId(String uId) {
|
||||||
|
this.uId = uId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getVersionId() {
|
||||||
|
return versionId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setVersionId(String versionId) {
|
||||||
|
this.versionId = versionId;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2018 - 2023, Entgra (Pvt) Ltd. (http://www.entgra.io) All Rights Reserved.
|
||||||
|
*
|
||||||
|
* Entgra (Pvt) Ltd. licenses this file to you 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 io.entgra.device.mgt.core.application.mgt.common.wrapper;
|
||||||
|
|
||||||
|
import io.entgra.device.mgt.core.application.mgt.common.dto.VppItuneUserDTO;
|
||||||
|
import io.entgra.device.mgt.core.application.mgt.common.dto.VppPaginationDTO;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
public class VppItuneUserResponseWrapper extends VppPaginationDTO {
|
||||||
|
|
||||||
|
List<VppItuneUserDTO> users;
|
||||||
|
|
||||||
|
public VppItuneUserResponseWrapper() {
|
||||||
|
users = new ArrayList<>();
|
||||||
|
}
|
||||||
|
public List<VppItuneUserDTO> getUser() {
|
||||||
|
return users;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUser(List<VppItuneUserDTO> users) {
|
||||||
|
this.users = users;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue