fix partey api

This commit is contained in:
_Bastler 2021-12-16 19:33:09 +01:00
parent aa79839a00
commit 3dbe244af1

View File

@ -14,52 +14,59 @@ import de.bstly.we.partey.model.GameRoomPolicyTypes;
*/ */
public class MapDetailsData { public class MapDetailsData {
private String mapUrl; private String roomSlug = "";
private String mapUrl = "";
private GameRoomPolicyTypes policy_type = GameRoomPolicyTypes.ANONYMOUS_POLICY; private GameRoomPolicyTypes policy_type = GameRoomPolicyTypes.ANONYMOUS_POLICY;
private List<String> tags = Lists.newArrayList(); private List<String> tags = Lists.newArrayList();
private List<CharacterTexture> textures = Lists.newArrayList(); private List<CharacterTexture> textures = Lists.newArrayList();
private String contactPage = "";
private boolean authenticationMandatory; private boolean authenticationMandatory;
private String group = "";
private String iframeAuthentication; private String iframeAuthentication;
/** /**
* Gets the map url. * @return the roomSlug
* */
* @return the map url 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() { public String getMapUrl() {
return mapUrl; return mapUrl;
} }
/** /**
* Sets the map url. * @param mapUrl the mapUrl to set
*
* @param mapUrl the new map url
*/ */
public void setMapUrl(String mapUrl) { public void setMapUrl(String mapUrl) {
this.mapUrl = mapUrl; this.mapUrl = mapUrl;
} }
/** /**
* Gets the policy type. * @return the policy_type
*
* @return the policy type
*/ */
public GameRoomPolicyTypes getPolicy_type() { public GameRoomPolicyTypes getPolicy_type() {
return policy_type; return policy_type;
} }
/** /**
* Sets the policy type. * @param policy_type the policy_type to set
*
* @param policy_type the new policy type
*/ */
public void setPolicy_type(GameRoomPolicyTypes policy_type) { public void setPolicy_type(GameRoomPolicyTypes policy_type) {
this.policy_type = policy_type; this.policy_type = policy_type;
} }
/** /**
* Gets the tags.
*
* @return the tags * @return the tags
*/ */
public List<String> getTags() { public List<String> getTags() {
@ -67,17 +74,13 @@ public class MapDetailsData {
} }
/** /**
* Sets the tags. * @param tags the tags to set
*
* @param tags the new tags
*/ */
public void setTags(List<String> tags) { public void setTags(List<String> tags) {
this.tags = tags; this.tags = tags;
} }
/** /**
* Gets the textures.
*
* @return the textures * @return the textures
*/ */
public List<CharacterTexture> getTextures() { public List<CharacterTexture> getTextures() {
@ -85,45 +88,63 @@ public class MapDetailsData {
} }
/** /**
* Sets the textures. * @param textures the textures to set
*
* @param textures the new textures
*/ */
public void setTextures(List<CharacterTexture> textures) { public void setTextures(List<CharacterTexture> textures) {
this.textures = textures; this.textures = textures;
} }
/** /**
* Checks if is authentication mandatory. * @return the contactPage
* */
* @return true, if is authentication mandatory 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() { public boolean isAuthenticationMandatory() {
return authenticationMandatory; return authenticationMandatory;
} }
/** /**
* Sets the authentication mandatory. * @param authenticationMandatory the authenticationMandatory to set
*
* @param authenticationMandatory the new authentication mandatory
*/ */
public void setAuthenticationMandatory(boolean authenticationMandatory) { public void setAuthenticationMandatory(boolean authenticationMandatory) {
this.authenticationMandatory = authenticationMandatory; this.authenticationMandatory = authenticationMandatory;
} }
/** /**
* Gets the iframe authentication. * @return the group
* */
* @return the iframe authentication 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() { public String getIframeAuthentication() {
return iframeAuthentication; return iframeAuthentication;
} }
/** /**
* Sets the iframe authentication. * @param iframeAuthentication the iframeAuthentication to set
*
* @param iframeAuthentication the new iframe authentication
*/ */
public void setIframeAuthentication(String iframeAuthentication) { public void setIframeAuthentication(String iframeAuthentication) {
this.iframeAuthentication = iframeAuthentication; this.iframeAuthentication = iframeAuthentication;