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 {
private String mapUrl;
private String roomSlug = "";
private String mapUrl = "";
private GameRoomPolicyTypes policy_type = GameRoomPolicyTypes.ANONYMOUS_POLICY;
private List<String> tags = Lists.newArrayList();
private List<CharacterTexture> 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<String> 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<String> tags) {
this.tags = tags;
}
/**
* Gets the textures.
*
* @return the textures
*/
public List<CharacterTexture> 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<CharacterTexture> 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;