From 3dbe244af13b593d23eb66038132d758ecc3c3a0 Mon Sep 17 00:00:00 2001 From: _Bastler Date: Thu, 16 Dec 2021 19:33:09 +0100 Subject: [PATCH] fix partey api --- .../api/controller/model/MapDetailsData.java | 91 ++++++++++++------- 1 file changed, 56 insertions(+), 35 deletions(-) diff --git a/partey/src/main/java/de/bstly/we/partey/api/controller/model/MapDetailsData.java b/partey/src/main/java/de/bstly/we/partey/api/controller/model/MapDetailsData.java index bb4c13f..1cb7121 100644 --- a/partey/src/main/java/de/bstly/we/partey/api/controller/model/MapDetailsData.java +++ b/partey/src/main/java/de/bstly/we/partey/api/controller/model/MapDetailsData.java @@ -14,52 +14,59 @@ import de.bstly.we.partey.model.GameRoomPolicyTypes; */ public class MapDetailsData { - private String mapUrl; + private String roomSlug = ""; + private String mapUrl = ""; private GameRoomPolicyTypes policy_type = GameRoomPolicyTypes.ANONYMOUS_POLICY; private List tags = Lists.newArrayList(); private List textures = Lists.newArrayList(); + private String contactPage = ""; private boolean authenticationMandatory; + private String group = ""; private String iframeAuthentication; /** - * Gets the map url. - * - * @return the map url + * @return the roomSlug + */ + public String getRoomSlug() { + return roomSlug; + } + + /** + * @param roomSlug the roomSlug to set + */ + public void setRoomSlug(String roomSlug) { + this.roomSlug = roomSlug; + } + + /** + * @return the mapUrl */ public String getMapUrl() { return mapUrl; } /** - * Sets the map url. - * - * @param mapUrl the new map url + * @param mapUrl the mapUrl to set */ public void setMapUrl(String mapUrl) { this.mapUrl = mapUrl; } /** - * Gets the policy type. - * - * @return the policy type + * @return the policy_type */ public GameRoomPolicyTypes getPolicy_type() { return policy_type; } /** - * Sets the policy type. - * - * @param policy_type the new policy type + * @param policy_type the policy_type to set */ public void setPolicy_type(GameRoomPolicyTypes policy_type) { this.policy_type = policy_type; } /** - * Gets the tags. - * * @return the tags */ public List getTags() { @@ -67,17 +74,13 @@ public class MapDetailsData { } /** - * Sets the tags. - * - * @param tags the new tags + * @param tags the tags to set */ public void setTags(List tags) { this.tags = tags; } /** - * Gets the textures. - * * @return the textures */ public List getTextures() { @@ -85,45 +88,63 @@ public class MapDetailsData { } /** - * Sets the textures. - * - * @param textures the new textures + * @param textures the textures to set */ public void setTextures(List textures) { this.textures = textures; } /** - * Checks if is authentication mandatory. - * - * @return true, if is authentication mandatory + * @return the contactPage + */ + public String getContactPage() { + return contactPage; + } + + /** + * @param contactPage the contactPage to set + */ + public void setContactPage(String contactPage) { + this.contactPage = contactPage; + } + + /** + * @return the authenticationMandatory */ public boolean isAuthenticationMandatory() { return authenticationMandatory; } /** - * Sets the authentication mandatory. - * - * @param authenticationMandatory the new authentication mandatory + * @param authenticationMandatory the authenticationMandatory to set */ public void setAuthenticationMandatory(boolean authenticationMandatory) { this.authenticationMandatory = authenticationMandatory; } /** - * Gets the iframe authentication. - * - * @return the iframe authentication + * @return the group + */ + public String getGroup() { + return group; + } + + /** + * @param group the group to set + */ + public void setGroup(String group) { + this.group = group; + } + + /** + * @return the iframeAuthentication */ public String getIframeAuthentication() { return iframeAuthentication; } /** - * Sets the iframe authentication. - * - * @param iframeAuthentication the new iframe authentication + * @param iframeAuthentication the iframeAuthentication to set */ public void setIframeAuthentication(String iframeAuthentication) { this.iframeAuthentication = iframeAuthentication;