From 687a7fa344efb800397ea6c362d146928be985ce Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Sun, 5 Feb 2017 20:52:02 +0100 Subject: [PATCH] Pas de contenu généré automatiquement dans un dépôt git ! --- .gitignore | 1 + src/main/java/etunicorn/generated/ConsomationController.java | 72 ------------------------------------------------------------------------ src/main/java/etunicorn/generated/ConsommationController.java | 70 ---------------------------------------------------------------------- src/main/java/etunicorn/generated/EvenementController.java | 83 ----------------------------------------------------------------------------------- src/main/java/etunicorn/generated/LoginController.java | 40 ---------------------------------------- src/main/java/etunicorn/generated/ParticipeController.java | 33 --------------------------------- src/main/java/etunicorn/generated/PersonneController.java | 71 ----------------------------------------------------------------------- src/main/java/etunicorn/generated/RoleController.java | 79 ------------------------------------------------------------------------------- src/main/java/etunicorn/generated/TransactionController.java | 79 ------------------------------------------------------------------------------- src/main/java/etunicorn/generated/model/UpdateConsommationByIdRequest.java | 108 ------------------------------------------------------------------------------------------------------------ src/main/java/etunicorn/generated/model/UpdateConsommationRequest.java | 120 ------------------------------------------------------------------------------------------------------------------------ src/main/java/etunicorn/generated/model/UpdateCreditRequest.java | 120 ------------------------------------------------------------------------------------------------------------------------ src/main/java/etunicorn/generated/model/UpdateEvenementByIdRequest.java | 134 -------------------------------------------------------------------------------------------------------------------------------------- src/main/java/etunicorn/generated/model/UpdateEvenementCreditRequest.java | 120 ------------------------------------------------------------------------------------------------------------------------ src/main/java/etunicorn/generated/model/UpdateEvenementRequest.java | 120 ------------------------------------------------------------------------------------------------------------------------ src/main/java/etunicorn/generated/model/UpdateLoginRequest.java | 120 ------------------------------------------------------------------------------------------------------------------------ src/main/java/etunicorn/generated/model/UpdateParticipeRequest.java | 88 ---------------------------------------------------------------------------------------- src/main/java/etunicorn/generated/model/UpdatePersonneByIdRequest.java | 160 ---------------------------------------------------------------------------------------------------------------------------------------------------------------- src/main/java/etunicorn/generated/model/UpdatePersonneRequest.java | 160 ---------------------------------------------------------------------------------------------------------------------------------------------------------------- src/main/java/etunicorn/generated/model/UpdateRoleByIdRequest.java | 88 ---------------------------------------------------------------------------------------- src/main/java/etunicorn/generated/model/UpdateRoleRequest.java | 88 ---------------------------------------------------------------------------------------- 21 files changed, 1 insertion(+), 1953 deletions(-) delete mode 100644 src/main/java/etunicorn/generated/ConsomationController.java delete mode 100644 src/main/java/etunicorn/generated/ConsommationController.java delete mode 100644 src/main/java/etunicorn/generated/EvenementController.java delete mode 100644 src/main/java/etunicorn/generated/LoginController.java delete mode 100644 src/main/java/etunicorn/generated/ParticipeController.java delete mode 100644 src/main/java/etunicorn/generated/PersonneController.java delete mode 100644 src/main/java/etunicorn/generated/RoleController.java delete mode 100644 src/main/java/etunicorn/generated/TransactionController.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdateConsommationByIdRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdateConsommationRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdateCreditRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdateEvenementByIdRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdateEvenementCreditRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdateEvenementRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdateLoginRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdateParticipeRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdatePersonneByIdRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdatePersonneRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdateRoleByIdRequest.java delete mode 100644 src/main/java/etunicorn/generated/model/UpdateRoleRequest.java diff --git a/.gitignore b/.gitignore index f54838f..9027081 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ demo*/ .idea/dictionaries/ .idea/dataSources* !/src/main/java/etunicorn/NotEnoughtDataException.java +src/main/java/etunicorn/generated diff --git a/src/main/java/etunicorn/generated/ConsomationController.java b/src/main/java/etunicorn/generated/ConsomationController.java deleted file mode 100644 index f050a68..0000000 --- a/src/main/java/etunicorn/generated/ConsomationController.java +++ /dev/null @@ -1,72 +0,0 @@ - -package etunicorn.generated; - -import java.math.BigDecimal; -import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RequestParam; -import org.springframework.web.bind.annotation.RestController; - - -/** - * No description - * (Generated with springmvc-raml-parser v.0.8.9) - * - */ -@RestController -@RequestMapping("/v1/consomation") -public interface ConsomationController { - - - /** - * Obtenir la liste de toutes les consomations. Nécessite CONSO_ADMIN ou CONSO_ACHETER ou CONSO_REMBOURSER - * - */ - @RequestMapping(value = "", method = RequestMethod.GET) - public ResponseEntity getConsomation(); - - /** - * Permet de creer une nouvelle consomation. Nécessite CONSO_ADMIN - * - */ - @RequestMapping(value = "", method = RequestMethod.POST) - public ResponseEntity updateConsomation( - @RequestParam - String nomConsomation, - @RequestParam - BigDecimal prix); - - /** - * Permet de modifier une consommation. Nécessite CONSO_ADMIN - * - */ - @RequestMapping(value = "/{consomationId}", method = RequestMethod.PUT) - public ResponseEntity updateConsomationById( - @PathVariable - String consomationId, - @RequestParam(required = false) - String nomEvenement, - @RequestParam(required = false) - BigDecimal prix); - - /** - * Obtenir la Consomation {consomationId}. Nécessite CONSO_ADMIN ou CONSO_ACHETER ou CONSO_REMBOURSER - * - */ - @RequestMapping(value = "/{consomationId}", method = RequestMethod.GET) - public ResponseEntity getConsomationById( - @PathVariable - String consomationId); - - /** - * Permet de supprimer la consomation {consomationId}. Nécessite CONSO_ADMIN - * - */ - @RequestMapping(value = "/{consomationId}", method = RequestMethod.DELETE) - public ResponseEntity deleteConsomationById( - @PathVariable - String consomationId); - -} diff --git a/src/main/java/etunicorn/generated/ConsommationController.java b/src/main/java/etunicorn/generated/ConsommationController.java deleted file mode 100644 index 18fa28f..0000000 --- a/src/main/java/etunicorn/generated/ConsommationController.java +++ /dev/null @@ -1,70 +0,0 @@ - -package etunicorn.generated; - -import etunicorn.generated.model.UpdateConsommationByIdRequest; -import etunicorn.generated.model.UpdateConsommationRequest; -import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RestController; - - -/** - * No description - * (Generated with springmvc-raml-parser v.0.8.9) - * - */ -@RestController -@RequestMapping("/v1/consommation") -public interface ConsommationController { - - - /** - * Obtenir la liste de toutes les consommations. Nécessite CONSO_ADMIN ou CONSO_ACHETER ou CONSO_REMBOURSER - * - */ - @RequestMapping(value = "", method = RequestMethod.GET) - public ResponseEntity getConsommation(); - - /** - * Permet de creer une nouvelle consommation. Nécessite CONSO_ADMIN - * - */ - @RequestMapping(value = "", method = RequestMethod.POST) - public ResponseEntity updateConsommation( - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdateConsommationRequest updateConsommationRequest); - - /** - * Permet de modifier une consommation. Nécessite CONSO_ADMIN - * - */ - @RequestMapping(value = "/{consommationId}", method = RequestMethod.PUT) - public ResponseEntity updateConsommationById( - @PathVariable - Long consommationId, - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdateConsommationByIdRequest updateConsommationByIdRequest); - - /** - * Obtenir la consommation {consommationId}. Nécessite CONSO_ADMIN ou CONSO_ACHETER ou CONSO_REMBOURSER - * - */ - @RequestMapping(value = "/{consommationId}", method = RequestMethod.GET) - public ResponseEntity getConsommationById( - @PathVariable - Long consommationId); - - /** - * Permet de supprimer la consommation {consommationId}. Nécessite CONSO_ADMIN - * - */ - @RequestMapping(value = "/{consommationId}", method = RequestMethod.DELETE) - public ResponseEntity deleteConsommationById( - @PathVariable - Long consommationId); - -} diff --git a/src/main/java/etunicorn/generated/EvenementController.java b/src/main/java/etunicorn/generated/EvenementController.java deleted file mode 100644 index fa686ca..0000000 --- a/src/main/java/etunicorn/generated/EvenementController.java +++ /dev/null @@ -1,83 +0,0 @@ - -package etunicorn.generated; - -import etunicorn.generated.model.UpdateEvenementByIdRequest; -import etunicorn.generated.model.UpdateEvenementRequest; -import etunicorn.generated.model.UpdateParticipeRequest; -import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RestController; - - -/** - * No description - * (Generated with springmvc-raml-parser v.0.8.9) - * - */ -@RestController -@RequestMapping("/v1/evenement") -public interface EvenementController { - - - /** - * Obtenir la liste de tout les evenements. Nécessite EVNMT_ADMIN ou EVNMT_ACHETER ou EVNMT_REMBOURSER - * - */ - @RequestMapping(value = "", method = RequestMethod.GET) - public ResponseEntity getEvenement(); - - /** - * Permet de creer un nouvel evenement. Nécessite EVNMT_ADMIN - * - */ - @RequestMapping(value = "", method = RequestMethod.POST) - public ResponseEntity updateEvenement( - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdateEvenementRequest updateEvenementRequest); - - /** - * Permet de modifier un évènement existant. Nécessite EVNMT_ADMIN - * - */ - @RequestMapping(value = "/{evenementId}", method = RequestMethod.PUT) - public ResponseEntity updateEvenementById( - @PathVariable - Long evenementId, - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdateEvenementByIdRequest updateEvenementByIdRequest); - - /** - * Obtenir l'evenement {evenementId}. Nécessite EVNMT_ADMIN ou EVNMT_ACHETER ou EVNMT_REMBOURSER - * - */ - @RequestMapping(value = "/{evenementId}", method = RequestMethod.GET) - public ResponseEntity getEvenementById( - @PathVariable - Long evenementId); - - /** - * Permet de supprimer l'evenement {evenementId}. Nécessite EVNMT_ADMIN - * - */ - @RequestMapping(value = "/{evenementId}", method = RequestMethod.DELETE) - public ResponseEntity deleteEvenementById( - @PathVariable - Long evenementId); - - /** - * Permet de notifier que quelqu'un a participer à l'evenement (id de la personne a envoyer) - * - */ - @RequestMapping(value = "/{evenementId}/participe", method = RequestMethod.POST) - public ResponseEntity updateParticipe( - @PathVariable - Long evenementId, - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdateParticipeRequest updateParticipeRequest); - -} diff --git a/src/main/java/etunicorn/generated/LoginController.java b/src/main/java/etunicorn/generated/LoginController.java deleted file mode 100644 index 075a315..0000000 --- a/src/main/java/etunicorn/generated/LoginController.java +++ /dev/null @@ -1,40 +0,0 @@ - -package etunicorn.generated; - -import javax.validation.Valid; -import etunicorn.generated.model.UpdateLoginRequest; -import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RestController; - - -/** - * No description - * (Generated with springmvc-raml-parser v.0.8.9) - * - */ -@RestController -@RequestMapping("/v1/login") -public interface LoginController { - - - /** - * Instancie une nouvelle connexion - * - */ - @RequestMapping(value = "", method = RequestMethod.POST) - public ResponseEntity updateLogin( - @Valid - @RequestBody - UpdateLoginRequest updateLoginRequest); - - /** - * Se déconnecter - * - */ - @RequestMapping(value = "", method = RequestMethod.DELETE) - public ResponseEntity deleteLogin(); - -} diff --git a/src/main/java/etunicorn/generated/ParticipeController.java b/src/main/java/etunicorn/generated/ParticipeController.java deleted file mode 100644 index aba0266..0000000 --- a/src/main/java/etunicorn/generated/ParticipeController.java +++ /dev/null @@ -1,33 +0,0 @@ - -package etunicorn.generated; - -import javax.validation.Valid; -import etunicorn.generated.model.UpdateParticipeRequest; -import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.RequestBody; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RestController; - - -/** - * No description - * (Generated with springmvc-raml-parser v.0.8.9) - * - */ -@RestController -@RequestMapping("/v1/participe") -public interface ParticipeController { - - - /** - * Permet d'ajouter une personne a un evenement - * - */ - @RequestMapping(value = "", method = RequestMethod.POST) - public ResponseEntity updateParticipe( - @Valid - @RequestBody - UpdateParticipeRequest updateParticipeRequest); - -} diff --git a/src/main/java/etunicorn/generated/PersonneController.java b/src/main/java/etunicorn/generated/PersonneController.java deleted file mode 100644 index e6d5db8..0000000 --- a/src/main/java/etunicorn/generated/PersonneController.java +++ /dev/null @@ -1,71 +0,0 @@ - -package etunicorn.generated; - -import java.math.BigDecimal; -import etunicorn.generated.model.UpdatePersonneByIdRequest; -import etunicorn.generated.model.UpdatePersonneRequest; -import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RestController; - - -/** - * No description - * (Generated with springmvc-raml-parser v.0.8.9) - * - */ -@RestController -@RequestMapping("/v1/personne") -public interface PersonneController { - - - /** - * Obtenir la liste des persones. Nécessite COMPTE_ADMIN - * - */ - @RequestMapping(value = "", method = RequestMethod.GET) - public ResponseEntity getPersonne(); - - /** - * Ajoute une nouvelle personne - * - */ - @RequestMapping(value = "", method = RequestMethod.POST) - public ResponseEntity updatePersonne( - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdatePersonneRequest updatePersonneRequest); - - /** - * Obtenir les infos sur une personne. Nécessite COMPTE_ADMIN - * - */ - @RequestMapping(value = "/{idPersonne}", method = RequestMethod.GET) - public ResponseEntity getPersonneById( - @PathVariable - BigDecimal idPersonne); - - /** - * Modifer les infos d'une personne. Nécessite COMPTE_ADMIN - * - */ - @RequestMapping(value = "/{idPersonne}", method = RequestMethod.PUT) - public ResponseEntity updatePersonneById( - @PathVariable - BigDecimal idPersonne, - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdatePersonneByIdRequest updatePersonneByIdRequest); - - /** - * Obtenir les infos sur une personne. Nécessite COMPTE_ADMIN - * - */ - @RequestMapping(value = "/{idPersonne}", method = RequestMethod.DELETE) - public ResponseEntity deletePersonneById( - @PathVariable - BigDecimal idPersonne); - -} diff --git a/src/main/java/etunicorn/generated/RoleController.java b/src/main/java/etunicorn/generated/RoleController.java deleted file mode 100644 index 73f6a49..0000000 --- a/src/main/java/etunicorn/generated/RoleController.java +++ /dev/null @@ -1,79 +0,0 @@ - -package etunicorn.generated; - -import etunicorn.generated.model.UpdateRoleByIdRequest; -import etunicorn.generated.model.UpdateRoleRequest; -import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RestController; - - -/** - * No description - * (Generated with springmvc-raml-parser v.0.8.9) - * - */ -@RestController -@RequestMapping("/v1/role") -public interface RoleController { - - - /** - * Liste les rôles. Nécessite ROLE_ADMIN - * - */ - @RequestMapping(value = "", method = RequestMethod.GET) - public ResponseEntity getRole(); - - /** - * Ajoute un nouveau rôle. Nécessite ROLE_ADMIN - * - */ - @RequestMapping(value = "", method = RequestMethod.POST) - public ResponseEntity updateRole( - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdateRoleRequest updateRoleRequest); - - /** - * Supprime un rôle. Nécessite ROLE_ADMIN - * - */ - @RequestMapping(value = "/{nomRole}", method = RequestMethod.DELETE) - public ResponseEntity deleteRoleById( - @PathVariable - String nomRole); - - /** - * Ajoute une permission à un rôle. Nécessite ROLE_ADMIN - * - */ - @RequestMapping(value = "/{nomRole}", method = RequestMethod.POST) - public ResponseEntity updateRoleById( - @PathVariable - String nomRole, - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdateRoleByIdRequest updateRoleByIdRequest); - - /** - * Enlève la permission du rôle. Nécessite ROLE_ADMIN - * - */ - @RequestMapping(value = "/{nomRole}/{nomPermission}", method = RequestMethod.DELETE) - public ResponseEntity deleteRoleByNomPermission( - @PathVariable - String nomPermission, - @PathVariable - String nomRole); - - /** - * Liste les permissions. Nécessite ROLE_ADMIN - * - */ - @RequestMapping(value = "/permission", method = RequestMethod.GET) - public ResponseEntity getPermission(); - -} diff --git a/src/main/java/etunicorn/generated/TransactionController.java b/src/main/java/etunicorn/generated/TransactionController.java deleted file mode 100644 index 47be235..0000000 --- a/src/main/java/etunicorn/generated/TransactionController.java +++ /dev/null @@ -1,79 +0,0 @@ - -package etunicorn.generated; - -import etunicorn.generated.model.UpdateConsommationRequest; -import etunicorn.generated.model.UpdateCreditRequest; -import etunicorn.generated.model.UpdateEvenementRequest; -import org.springframework.http.ResponseEntity; -import org.springframework.web.bind.annotation.PathVariable; -import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; -import org.springframework.web.bind.annotation.RestController; - - -/** - * No description - * (Generated with springmvc-raml-parser v.0.8.9) - * - */ -@RestController -@RequestMapping("/v1/transaction") -public interface TransactionController { - - - /** - * Permet de recuperer la liste des transaction - * - */ - @RequestMapping(value = "", method = RequestMethod.GET) - public ResponseEntity getTransaction(); - - /** - * Achat d'une consomation (id) par un participant à un acteur - * - */ - @RequestMapping(value = "/consommation", method = RequestMethod.POST) - public ResponseEntity updateConsommation( - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdateConsommationRequest updateConsommationRequest); - - /** - * No description - * - */ - @RequestMapping(value = "/evenement", method = RequestMethod.POST) - public ResponseEntity updateEvenement( - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdateEvenementRequest updateEvenementRequest); - - /** - * Permet de recharger ou debiter un compte - * - */ - @RequestMapping(value = "/credit", method = RequestMethod.POST) - public ResponseEntity updateCredit( - @javax.validation.Valid - @org.springframework.web.bind.annotation.RequestBody - UpdateCreditRequest updateCreditRequest); - - /** - * Permet de recuperer la liste des transaction d'une personne - * - */ - @RequestMapping(value = "/{idPersonne}", method = RequestMethod.GET) - public ResponseEntity getTransactionByIdPersonne( - @PathVariable - Long idPersonne); - - /** - * Permet de recuperer la liste des transaction d'une personne - * - */ - @RequestMapping(value = "/acteur/{idPersonne}", method = RequestMethod.GET) - public ResponseEntity getActeurByIdPersonne( - @PathVariable - Long idPersonne); - -} diff --git a/src/main/java/etunicorn/generated/model/UpdateConsommationByIdRequest.java b/src/main/java/etunicorn/generated/model/UpdateConsommationByIdRequest.java deleted file mode 100644 index 0e32ebb..0000000 --- a/src/main/java/etunicorn/generated/model/UpdateConsommationByIdRequest.java +++ /dev/null @@ -1,108 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "nom", - "prix" -}) -public class UpdateConsommationByIdRequest { - - /** - * - */ - @JsonProperty("nom") - private String nom; - /** - * - */ - @JsonProperty("prix") - private Float prix; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * @return - * The nom - */ - @JsonProperty("nom") - public String getNom() { - return nom; - } - - /** - * - * @param nom - * The nom - */ - @JsonProperty("nom") - public void setNom(String nom) { - this.nom = nom; - } - - /** - * - * @return - * The prix - */ - @JsonProperty("prix") - public Float getPrix() { - return prix; - } - - /** - * - * @param prix - * The prix - */ - @JsonProperty("prix") - public void setPrix(Float prix) { - this.prix = prix; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(nom).append(prix).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdateConsommationByIdRequest) == false) { - return false; - } - UpdateConsommationByIdRequest rhs = ((UpdateConsommationByIdRequest) other); - return new EqualsBuilder().append(nom, rhs.nom).append(prix, rhs.prix).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdateConsommationRequest.java b/src/main/java/etunicorn/generated/model/UpdateConsommationRequest.java deleted file mode 100644 index 318162c..0000000 --- a/src/main/java/etunicorn/generated/model/UpdateConsommationRequest.java +++ /dev/null @@ -1,120 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "participant", - "id" -}) -public class UpdateConsommationRequest { - - /** - * - * (Required) - * - */ - @JsonProperty("participant") - private Object participant; - /** - * - * (Required) - * - */ - @JsonProperty("id") - private Object id; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * (Required) - * - * @return - * The participant - */ - @JsonProperty("participant") - public Object getParticipant() { - return participant; - } - - /** - * - * (Required) - * - * @param participant - * The participant - */ - @JsonProperty("participant") - public void setParticipant(Object participant) { - this.participant = participant; - } - - /** - * - * (Required) - * - * @return - * The id - */ - @JsonProperty("id") - public Object getId() { - return id; - } - - /** - * - * (Required) - * - * @param id - * The id - */ - @JsonProperty("id") - public void setId(Object id) { - this.id = id; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(participant).append(id).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdateConsommationRequest) == false) { - return false; - } - UpdateConsommationRequest rhs = ((UpdateConsommationRequest) other); - return new EqualsBuilder().append(participant, rhs.participant).append(id, rhs.id).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdateCreditRequest.java b/src/main/java/etunicorn/generated/model/UpdateCreditRequest.java deleted file mode 100644 index 3792c8f..0000000 --- a/src/main/java/etunicorn/generated/model/UpdateCreditRequest.java +++ /dev/null @@ -1,120 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "participant", - "prix" -}) -public class UpdateCreditRequest { - - /** - * - * (Required) - * - */ - @JsonProperty("participant") - private Object participant; - /** - * - * (Required) - * - */ - @JsonProperty("prix") - private Float prix; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * (Required) - * - * @return - * The participant - */ - @JsonProperty("participant") - public Object getParticipant() { - return participant; - } - - /** - * - * (Required) - * - * @param participant - * The participant - */ - @JsonProperty("participant") - public void setParticipant(Object participant) { - this.participant = participant; - } - - /** - * - * (Required) - * - * @return - * The prix - */ - @JsonProperty("prix") - public Float getPrix() { - return prix; - } - - /** - * - * (Required) - * - * @param prix - * The prix - */ - @JsonProperty("prix") - public void setPrix(Float prix) { - this.prix = prix; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(participant).append(prix).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdateCreditRequest) == false) { - return false; - } - UpdateCreditRequest rhs = ((UpdateCreditRequest) other); - return new EqualsBuilder().append(participant, rhs.participant).append(prix, rhs.prix).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdateEvenementByIdRequest.java b/src/main/java/etunicorn/generated/model/UpdateEvenementByIdRequest.java deleted file mode 100644 index c23d2b2..0000000 --- a/src/main/java/etunicorn/generated/model/UpdateEvenementByIdRequest.java +++ /dev/null @@ -1,134 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "nom", - "prix", - "date" -}) -public class UpdateEvenementByIdRequest { - - /** - * - */ - @JsonProperty("nom") - private String nom; - /** - * - */ - @JsonProperty("prix") - private Float prix; - /** - * - */ - @JsonProperty("date") - private String date; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * @return - * The nom - */ - @JsonProperty("nom") - public String getNom() { - return nom; - } - - /** - * - * @param nom - * The nom - */ - @JsonProperty("nom") - public void setNom(String nom) { - this.nom = nom; - } - - /** - * - * @return - * The prix - */ - @JsonProperty("prix") - public Float getPrix() { - return prix; - } - - /** - * - * @param prix - * The prix - */ - @JsonProperty("prix") - public void setPrix(Float prix) { - this.prix = prix; - } - - /** - * - * @return - * The date - */ - @JsonProperty("date") - public String getDate() { - return date; - } - - /** - * - * @param date - * The date - */ - @JsonProperty("date") - public void setDate(String date) { - this.date = date; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(nom).append(prix).append(date).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdateEvenementByIdRequest) == false) { - return false; - } - UpdateEvenementByIdRequest rhs = ((UpdateEvenementByIdRequest) other); - return new EqualsBuilder().append(nom, rhs.nom).append(prix, rhs.prix).append(date, rhs.date).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdateEvenementCreditRequest.java b/src/main/java/etunicorn/generated/model/UpdateEvenementCreditRequest.java deleted file mode 100644 index ee49e58..0000000 --- a/src/main/java/etunicorn/generated/model/UpdateEvenementCreditRequest.java +++ /dev/null @@ -1,120 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "participant", - "prix" -}) -public class UpdateEvenementCreditRequest { - - /** - * - * (Required) - * - */ - @JsonProperty("participant") - private Object participant; - /** - * - * (Required) - * - */ - @JsonProperty("prix") - private Float prix; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * (Required) - * - * @return - * The participant - */ - @JsonProperty("participant") - public Object getParticipant() { - return participant; - } - - /** - * - * (Required) - * - * @param participant - * The participant - */ - @JsonProperty("participant") - public void setParticipant(Object participant) { - this.participant = participant; - } - - /** - * - * (Required) - * - * @return - * The prix - */ - @JsonProperty("prix") - public Float getPrix() { - return prix; - } - - /** - * - * (Required) - * - * @param prix - * The prix - */ - @JsonProperty("prix") - public void setPrix(Float prix) { - this.prix = prix; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(participant).append(prix).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdateEvenementCreditRequest) == false) { - return false; - } - UpdateEvenementCreditRequest rhs = ((UpdateEvenementCreditRequest) other); - return new EqualsBuilder().append(participant, rhs.participant).append(prix, rhs.prix).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdateEvenementRequest.java b/src/main/java/etunicorn/generated/model/UpdateEvenementRequest.java deleted file mode 100644 index 6f99db2..0000000 --- a/src/main/java/etunicorn/generated/model/UpdateEvenementRequest.java +++ /dev/null @@ -1,120 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "participant", - "id" -}) -public class UpdateEvenementRequest { - - /** - * - * (Required) - * - */ - @JsonProperty("participant") - private Object participant; - /** - * - * (Required) - * - */ - @JsonProperty("id") - private Object id; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * (Required) - * - * @return - * The participant - */ - @JsonProperty("participant") - public Object getParticipant() { - return participant; - } - - /** - * - * (Required) - * - * @param participant - * The participant - */ - @JsonProperty("participant") - public void setParticipant(Object participant) { - this.participant = participant; - } - - /** - * - * (Required) - * - * @return - * The id - */ - @JsonProperty("id") - public Object getId() { - return id; - } - - /** - * - * (Required) - * - * @param id - * The id - */ - @JsonProperty("id") - public void setId(Object id) { - this.id = id; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(participant).append(id).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdateEvenementRequest) == false) { - return false; - } - UpdateEvenementRequest rhs = ((UpdateEvenementRequest) other); - return new EqualsBuilder().append(participant, rhs.participant).append(id, rhs.id).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdateLoginRequest.java b/src/main/java/etunicorn/generated/model/UpdateLoginRequest.java deleted file mode 100644 index d6a8774..0000000 --- a/src/main/java/etunicorn/generated/model/UpdateLoginRequest.java +++ /dev/null @@ -1,120 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "login", - "password" -}) -public class UpdateLoginRequest { - - /** - * - * (Required) - * - */ - @JsonProperty("login") - private String login; - /** - * - * (Required) - * - */ - @JsonProperty("password") - private String password; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * (Required) - * - * @return - * The login - */ - @JsonProperty("login") - public String getLogin() { - return login; - } - - /** - * - * (Required) - * - * @param login - * The login - */ - @JsonProperty("login") - public void setLogin(String login) { - this.login = login; - } - - /** - * - * (Required) - * - * @return - * The password - */ - @JsonProperty("password") - public String getPassword() { - return password; - } - - /** - * - * (Required) - * - * @param password - * The password - */ - @JsonProperty("password") - public void setPassword(String password) { - this.password = password; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(login).append(password).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdateLoginRequest) == false) { - return false; - } - UpdateLoginRequest rhs = ((UpdateLoginRequest) other); - return new EqualsBuilder().append(login, rhs.login).append(password, rhs.password).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdateParticipeRequest.java b/src/main/java/etunicorn/generated/model/UpdateParticipeRequest.java deleted file mode 100644 index 2af8f0c..0000000 --- a/src/main/java/etunicorn/generated/model/UpdateParticipeRequest.java +++ /dev/null @@ -1,88 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "id" -}) -public class UpdateParticipeRequest { - - /** - * - * (Required) - * - */ - @JsonProperty("id") - private Integer id; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * (Required) - * - * @return - * The id - */ - @JsonProperty("id") - public Integer getId() { - return id; - } - - /** - * - * (Required) - * - * @param id - * The id - */ - @JsonProperty("id") - public void setId(Integer id) { - this.id = id; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(id).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdateParticipeRequest) == false) { - return false; - } - UpdateParticipeRequest rhs = ((UpdateParticipeRequest) other); - return new EqualsBuilder().append(id, rhs.id).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdatePersonneByIdRequest.java b/src/main/java/etunicorn/generated/model/UpdatePersonneByIdRequest.java deleted file mode 100644 index 83d3356..0000000 --- a/src/main/java/etunicorn/generated/model/UpdatePersonneByIdRequest.java +++ /dev/null @@ -1,160 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "carte", - "naissance", - "login", - "role" -}) -public class UpdatePersonneByIdRequest { - - /** - * - */ - @JsonProperty("carte") - private String carte; - /** - * - */ - @JsonProperty("naissance") - private String naissance; - /** - * - */ - @JsonProperty("login") - private String login; - /** - * - */ - @JsonProperty("role") - private Object role; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * @return - * The carte - */ - @JsonProperty("carte") - public String getCarte() { - return carte; - } - - /** - * - * @param carte - * The carte - */ - @JsonProperty("carte") - public void setCarte(String carte) { - this.carte = carte; - } - - /** - * - * @return - * The naissance - */ - @JsonProperty("naissance") - public String getNaissance() { - return naissance; - } - - /** - * - * @param naissance - * The naissance - */ - @JsonProperty("naissance") - public void setNaissance(String naissance) { - this.naissance = naissance; - } - - /** - * - * @return - * The login - */ - @JsonProperty("login") - public String getLogin() { - return login; - } - - /** - * - * @param login - * The login - */ - @JsonProperty("login") - public void setLogin(String login) { - this.login = login; - } - - /** - * - * @return - * The role - */ - @JsonProperty("role") - public Object getRole() { - return role; - } - - /** - * - * @param role - * The role - */ - @JsonProperty("role") - public void setRole(Object role) { - this.role = role; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(carte).append(naissance).append(login).append(role).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdatePersonneByIdRequest) == false) { - return false; - } - UpdatePersonneByIdRequest rhs = ((UpdatePersonneByIdRequest) other); - return new EqualsBuilder().append(carte, rhs.carte).append(naissance, rhs.naissance).append(login, rhs.login).append(role, rhs.role).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdatePersonneRequest.java b/src/main/java/etunicorn/generated/model/UpdatePersonneRequest.java deleted file mode 100644 index ce0105b..0000000 --- a/src/main/java/etunicorn/generated/model/UpdatePersonneRequest.java +++ /dev/null @@ -1,160 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "carte", - "naissance", - "login", - "role" -}) -public class UpdatePersonneRequest { - - /** - * - */ - @JsonProperty("carte") - private String carte; - /** - * - */ - @JsonProperty("naissance") - private String naissance; - /** - * - */ - @JsonProperty("login") - private String login; - /** - * - */ - @JsonProperty("role") - private Object role; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * @return - * The carte - */ - @JsonProperty("carte") - public String getCarte() { - return carte; - } - - /** - * - * @param carte - * The carte - */ - @JsonProperty("carte") - public void setCarte(String carte) { - this.carte = carte; - } - - /** - * - * @return - * The naissance - */ - @JsonProperty("naissance") - public String getNaissance() { - return naissance; - } - - /** - * - * @param naissance - * The naissance - */ - @JsonProperty("naissance") - public void setNaissance(String naissance) { - this.naissance = naissance; - } - - /** - * - * @return - * The login - */ - @JsonProperty("login") - public String getLogin() { - return login; - } - - /** - * - * @param login - * The login - */ - @JsonProperty("login") - public void setLogin(String login) { - this.login = login; - } - - /** - * - * @return - * The role - */ - @JsonProperty("role") - public Object getRole() { - return role; - } - - /** - * - * @param role - * The role - */ - @JsonProperty("role") - public void setRole(Object role) { - this.role = role; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(carte).append(naissance).append(login).append(role).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdatePersonneRequest) == false) { - return false; - } - UpdatePersonneRequest rhs = ((UpdatePersonneRequest) other); - return new EqualsBuilder().append(carte, rhs.carte).append(naissance, rhs.naissance).append(login, rhs.login).append(role, rhs.role).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdateRoleByIdRequest.java b/src/main/java/etunicorn/generated/model/UpdateRoleByIdRequest.java deleted file mode 100644 index 91cd1ac..0000000 --- a/src/main/java/etunicorn/generated/model/UpdateRoleByIdRequest.java +++ /dev/null @@ -1,88 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "nom" -}) -public class UpdateRoleByIdRequest { - - /** - * - * (Required) - * - */ - @JsonProperty("nom") - private String nom; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * (Required) - * - * @return - * The nom - */ - @JsonProperty("nom") - public String getNom() { - return nom; - } - - /** - * - * (Required) - * - * @param nom - * The nom - */ - @JsonProperty("nom") - public void setNom(String nom) { - this.nom = nom; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(nom).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdateRoleByIdRequest) == false) { - return false; - } - UpdateRoleByIdRequest rhs = ((UpdateRoleByIdRequest) other); - return new EqualsBuilder().append(nom, rhs.nom).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} diff --git a/src/main/java/etunicorn/generated/model/UpdateRoleRequest.java b/src/main/java/etunicorn/generated/model/UpdateRoleRequest.java deleted file mode 100644 index eaf7c08..0000000 --- a/src/main/java/etunicorn/generated/model/UpdateRoleRequest.java +++ /dev/null @@ -1,88 +0,0 @@ - -package etunicorn.generated.model; - -import java.util.HashMap; -import java.util.Map; -import com.fasterxml.jackson.annotation.JsonAnyGetter; -import com.fasterxml.jackson.annotation.JsonAnySetter; -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonPropertyOrder; -import org.apache.commons.lang.builder.EqualsBuilder; -import org.apache.commons.lang.builder.HashCodeBuilder; -import org.apache.commons.lang.builder.ToStringBuilder; - -@JsonInclude(JsonInclude.Include.NON_NULL) -@JsonPropertyOrder({ - "nom" -}) -public class UpdateRoleRequest { - - /** - * - * (Required) - * - */ - @JsonProperty("nom") - private String nom; - @JsonIgnore - private Map additionalProperties = new HashMap(); - - /** - * - * (Required) - * - * @return - * The nom - */ - @JsonProperty("nom") - public String getNom() { - return nom; - } - - /** - * - * (Required) - * - * @param nom - * The nom - */ - @JsonProperty("nom") - public void setNom(String nom) { - this.nom = nom; - } - - @Override - public String toString() { - return ToStringBuilder.reflectionToString(this); - } - - @JsonAnyGetter - public Map getAdditionalProperties() { - return this.additionalProperties; - } - - @JsonAnySetter - public void setAdditionalProperty(String name, Object value) { - this.additionalProperties.put(name, value); - } - - @Override - public int hashCode() { - return new HashCodeBuilder().append(nom).append(additionalProperties).toHashCode(); - } - - @Override - public boolean equals(Object other) { - if (other == this) { - return true; - } - if ((other instanceof UpdateRoleRequest) == false) { - return false; - } - UpdateRoleRequest rhs = ((UpdateRoleRequest) other); - return new EqualsBuilder().append(nom, rhs.nom).append(additionalProperties, rhs.additionalProperties).isEquals(); - } - -} -- libgit2 0.21.2