Commit 687a7fa344efb800397ea6c362d146928be985ce
1 parent
5a359753
Pas de contenu généré automatiquement dans un dépôt git !
Showing
21 changed files
with
1 additions
and
1953 deletions
Show diff stats
.gitignore
src/main/java/etunicorn/generated/ConsomationController.java deleted
@@ -1,72 +0,0 @@ | @@ -1,72 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated; | ||
3 | - | ||
4 | -import java.math.BigDecimal; | ||
5 | -import org.springframework.http.ResponseEntity; | ||
6 | -import org.springframework.web.bind.annotation.PathVariable; | ||
7 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
8 | -import org.springframework.web.bind.annotation.RequestMethod; | ||
9 | -import org.springframework.web.bind.annotation.RequestParam; | ||
10 | -import org.springframework.web.bind.annotation.RestController; | ||
11 | - | ||
12 | - | ||
13 | -/** | ||
14 | - * No description | ||
15 | - * (Generated with springmvc-raml-parser v.0.8.9) | ||
16 | - * | ||
17 | - */ | ||
18 | -@RestController | ||
19 | -@RequestMapping("/v1/consomation") | ||
20 | -public interface ConsomationController { | ||
21 | - | ||
22 | - | ||
23 | - /** | ||
24 | - * Obtenir la liste de toutes les consomations. Nécessite CONSO_ADMIN ou CONSO_ACHETER ou CONSO_REMBOURSER | ||
25 | - * | ||
26 | - */ | ||
27 | - @RequestMapping(value = "", method = RequestMethod.GET) | ||
28 | - public ResponseEntity<?> getConsomation(); | ||
29 | - | ||
30 | - /** | ||
31 | - * Permet de creer une nouvelle consomation. Nécessite CONSO_ADMIN | ||
32 | - * | ||
33 | - */ | ||
34 | - @RequestMapping(value = "", method = RequestMethod.POST) | ||
35 | - public ResponseEntity<?> updateConsomation( | ||
36 | - @RequestParam | ||
37 | - String nomConsomation, | ||
38 | - @RequestParam | ||
39 | - BigDecimal prix); | ||
40 | - | ||
41 | - /** | ||
42 | - * Permet de modifier une consommation. Nécessite CONSO_ADMIN | ||
43 | - * | ||
44 | - */ | ||
45 | - @RequestMapping(value = "/{consomationId}", method = RequestMethod.PUT) | ||
46 | - public ResponseEntity<?> updateConsomationById( | ||
47 | - @PathVariable | ||
48 | - String consomationId, | ||
49 | - @RequestParam(required = false) | ||
50 | - String nomEvenement, | ||
51 | - @RequestParam(required = false) | ||
52 | - BigDecimal prix); | ||
53 | - | ||
54 | - /** | ||
55 | - * Obtenir la Consomation {consomationId}. Nécessite CONSO_ADMIN ou CONSO_ACHETER ou CONSO_REMBOURSER | ||
56 | - * | ||
57 | - */ | ||
58 | - @RequestMapping(value = "/{consomationId}", method = RequestMethod.GET) | ||
59 | - public ResponseEntity<?> getConsomationById( | ||
60 | - @PathVariable | ||
61 | - String consomationId); | ||
62 | - | ||
63 | - /** | ||
64 | - * Permet de supprimer la consomation {consomationId}. Nécessite CONSO_ADMIN | ||
65 | - * | ||
66 | - */ | ||
67 | - @RequestMapping(value = "/{consomationId}", method = RequestMethod.DELETE) | ||
68 | - public ResponseEntity<?> deleteConsomationById( | ||
69 | - @PathVariable | ||
70 | - String consomationId); | ||
71 | - | ||
72 | -} |
src/main/java/etunicorn/generated/ConsommationController.java deleted
@@ -1,70 +0,0 @@ | @@ -1,70 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated; | ||
3 | - | ||
4 | -import etunicorn.generated.model.UpdateConsommationByIdRequest; | ||
5 | -import etunicorn.generated.model.UpdateConsommationRequest; | ||
6 | -import org.springframework.http.ResponseEntity; | ||
7 | -import org.springframework.web.bind.annotation.PathVariable; | ||
8 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
9 | -import org.springframework.web.bind.annotation.RequestMethod; | ||
10 | -import org.springframework.web.bind.annotation.RestController; | ||
11 | - | ||
12 | - | ||
13 | -/** | ||
14 | - * No description | ||
15 | - * (Generated with springmvc-raml-parser v.0.8.9) | ||
16 | - * | ||
17 | - */ | ||
18 | -@RestController | ||
19 | -@RequestMapping("/v1/consommation") | ||
20 | -public interface ConsommationController { | ||
21 | - | ||
22 | - | ||
23 | - /** | ||
24 | - * Obtenir la liste de toutes les consommations. Nécessite CONSO_ADMIN ou CONSO_ACHETER ou CONSO_REMBOURSER | ||
25 | - * | ||
26 | - */ | ||
27 | - @RequestMapping(value = "", method = RequestMethod.GET) | ||
28 | - public ResponseEntity<?> getConsommation(); | ||
29 | - | ||
30 | - /** | ||
31 | - * Permet de creer une nouvelle consommation. Nécessite CONSO_ADMIN | ||
32 | - * | ||
33 | - */ | ||
34 | - @RequestMapping(value = "", method = RequestMethod.POST) | ||
35 | - public ResponseEntity<?> updateConsommation( | ||
36 | - @javax.validation.Valid | ||
37 | - @org.springframework.web.bind.annotation.RequestBody | ||
38 | - UpdateConsommationRequest updateConsommationRequest); | ||
39 | - | ||
40 | - /** | ||
41 | - * Permet de modifier une consommation. Nécessite CONSO_ADMIN | ||
42 | - * | ||
43 | - */ | ||
44 | - @RequestMapping(value = "/{consommationId}", method = RequestMethod.PUT) | ||
45 | - public ResponseEntity<?> updateConsommationById( | ||
46 | - @PathVariable | ||
47 | - Long consommationId, | ||
48 | - @javax.validation.Valid | ||
49 | - @org.springframework.web.bind.annotation.RequestBody | ||
50 | - UpdateConsommationByIdRequest updateConsommationByIdRequest); | ||
51 | - | ||
52 | - /** | ||
53 | - * Obtenir la consommation {consommationId}. Nécessite CONSO_ADMIN ou CONSO_ACHETER ou CONSO_REMBOURSER | ||
54 | - * | ||
55 | - */ | ||
56 | - @RequestMapping(value = "/{consommationId}", method = RequestMethod.GET) | ||
57 | - public ResponseEntity<?> getConsommationById( | ||
58 | - @PathVariable | ||
59 | - Long consommationId); | ||
60 | - | ||
61 | - /** | ||
62 | - * Permet de supprimer la consommation {consommationId}. Nécessite CONSO_ADMIN | ||
63 | - * | ||
64 | - */ | ||
65 | - @RequestMapping(value = "/{consommationId}", method = RequestMethod.DELETE) | ||
66 | - public ResponseEntity<?> deleteConsommationById( | ||
67 | - @PathVariable | ||
68 | - Long consommationId); | ||
69 | - | ||
70 | -} |
src/main/java/etunicorn/generated/EvenementController.java deleted
@@ -1,83 +0,0 @@ | @@ -1,83 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated; | ||
3 | - | ||
4 | -import etunicorn.generated.model.UpdateEvenementByIdRequest; | ||
5 | -import etunicorn.generated.model.UpdateEvenementRequest; | ||
6 | -import etunicorn.generated.model.UpdateParticipeRequest; | ||
7 | -import org.springframework.http.ResponseEntity; | ||
8 | -import org.springframework.web.bind.annotation.PathVariable; | ||
9 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
10 | -import org.springframework.web.bind.annotation.RequestMethod; | ||
11 | -import org.springframework.web.bind.annotation.RestController; | ||
12 | - | ||
13 | - | ||
14 | -/** | ||
15 | - * No description | ||
16 | - * (Generated with springmvc-raml-parser v.0.8.9) | ||
17 | - * | ||
18 | - */ | ||
19 | -@RestController | ||
20 | -@RequestMapping("/v1/evenement") | ||
21 | -public interface EvenementController { | ||
22 | - | ||
23 | - | ||
24 | - /** | ||
25 | - * Obtenir la liste de tout les evenements. Nécessite EVNMT_ADMIN ou EVNMT_ACHETER ou EVNMT_REMBOURSER | ||
26 | - * | ||
27 | - */ | ||
28 | - @RequestMapping(value = "", method = RequestMethod.GET) | ||
29 | - public ResponseEntity<?> getEvenement(); | ||
30 | - | ||
31 | - /** | ||
32 | - * Permet de creer un nouvel evenement. Nécessite EVNMT_ADMIN | ||
33 | - * | ||
34 | - */ | ||
35 | - @RequestMapping(value = "", method = RequestMethod.POST) | ||
36 | - public ResponseEntity<?> updateEvenement( | ||
37 | - @javax.validation.Valid | ||
38 | - @org.springframework.web.bind.annotation.RequestBody | ||
39 | - UpdateEvenementRequest updateEvenementRequest); | ||
40 | - | ||
41 | - /** | ||
42 | - * Permet de modifier un évènement existant. Nécessite EVNMT_ADMIN | ||
43 | - * | ||
44 | - */ | ||
45 | - @RequestMapping(value = "/{evenementId}", method = RequestMethod.PUT) | ||
46 | - public ResponseEntity<?> updateEvenementById( | ||
47 | - @PathVariable | ||
48 | - Long evenementId, | ||
49 | - @javax.validation.Valid | ||
50 | - @org.springframework.web.bind.annotation.RequestBody | ||
51 | - UpdateEvenementByIdRequest updateEvenementByIdRequest); | ||
52 | - | ||
53 | - /** | ||
54 | - * Obtenir l'evenement {evenementId}. Nécessite EVNMT_ADMIN ou EVNMT_ACHETER ou EVNMT_REMBOURSER | ||
55 | - * | ||
56 | - */ | ||
57 | - @RequestMapping(value = "/{evenementId}", method = RequestMethod.GET) | ||
58 | - public ResponseEntity<?> getEvenementById( | ||
59 | - @PathVariable | ||
60 | - Long evenementId); | ||
61 | - | ||
62 | - /** | ||
63 | - * Permet de supprimer l'evenement {evenementId}. Nécessite EVNMT_ADMIN | ||
64 | - * | ||
65 | - */ | ||
66 | - @RequestMapping(value = "/{evenementId}", method = RequestMethod.DELETE) | ||
67 | - public ResponseEntity<?> deleteEvenementById( | ||
68 | - @PathVariable | ||
69 | - Long evenementId); | ||
70 | - | ||
71 | - /** | ||
72 | - * Permet de notifier que quelqu'un a participer à l'evenement (id de la personne a envoyer) | ||
73 | - * | ||
74 | - */ | ||
75 | - @RequestMapping(value = "/{evenementId}/participe", method = RequestMethod.POST) | ||
76 | - public ResponseEntity<?> updateParticipe( | ||
77 | - @PathVariable | ||
78 | - Long evenementId, | ||
79 | - @javax.validation.Valid | ||
80 | - @org.springframework.web.bind.annotation.RequestBody | ||
81 | - UpdateParticipeRequest updateParticipeRequest); | ||
82 | - | ||
83 | -} |
src/main/java/etunicorn/generated/LoginController.java deleted
@@ -1,40 +0,0 @@ | @@ -1,40 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated; | ||
3 | - | ||
4 | -import javax.validation.Valid; | ||
5 | -import etunicorn.generated.model.UpdateLoginRequest; | ||
6 | -import org.springframework.http.ResponseEntity; | ||
7 | -import org.springframework.web.bind.annotation.RequestBody; | ||
8 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
9 | -import org.springframework.web.bind.annotation.RequestMethod; | ||
10 | -import org.springframework.web.bind.annotation.RestController; | ||
11 | - | ||
12 | - | ||
13 | -/** | ||
14 | - * No description | ||
15 | - * (Generated with springmvc-raml-parser v.0.8.9) | ||
16 | - * | ||
17 | - */ | ||
18 | -@RestController | ||
19 | -@RequestMapping("/v1/login") | ||
20 | -public interface LoginController { | ||
21 | - | ||
22 | - | ||
23 | - /** | ||
24 | - * Instancie une nouvelle connexion | ||
25 | - * | ||
26 | - */ | ||
27 | - @RequestMapping(value = "", method = RequestMethod.POST) | ||
28 | - public ResponseEntity<?> updateLogin( | ||
29 | - @Valid | ||
30 | - @RequestBody | ||
31 | - UpdateLoginRequest updateLoginRequest); | ||
32 | - | ||
33 | - /** | ||
34 | - * Se déconnecter | ||
35 | - * | ||
36 | - */ | ||
37 | - @RequestMapping(value = "", method = RequestMethod.DELETE) | ||
38 | - public ResponseEntity<?> deleteLogin(); | ||
39 | - | ||
40 | -} |
src/main/java/etunicorn/generated/ParticipeController.java deleted
@@ -1,33 +0,0 @@ | @@ -1,33 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated; | ||
3 | - | ||
4 | -import javax.validation.Valid; | ||
5 | -import etunicorn.generated.model.UpdateParticipeRequest; | ||
6 | -import org.springframework.http.ResponseEntity; | ||
7 | -import org.springframework.web.bind.annotation.RequestBody; | ||
8 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
9 | -import org.springframework.web.bind.annotation.RequestMethod; | ||
10 | -import org.springframework.web.bind.annotation.RestController; | ||
11 | - | ||
12 | - | ||
13 | -/** | ||
14 | - * No description | ||
15 | - * (Generated with springmvc-raml-parser v.0.8.9) | ||
16 | - * | ||
17 | - */ | ||
18 | -@RestController | ||
19 | -@RequestMapping("/v1/participe") | ||
20 | -public interface ParticipeController { | ||
21 | - | ||
22 | - | ||
23 | - /** | ||
24 | - * Permet d'ajouter une personne a un evenement | ||
25 | - * | ||
26 | - */ | ||
27 | - @RequestMapping(value = "", method = RequestMethod.POST) | ||
28 | - public ResponseEntity<?> updateParticipe( | ||
29 | - @Valid | ||
30 | - @RequestBody | ||
31 | - UpdateParticipeRequest updateParticipeRequest); | ||
32 | - | ||
33 | -} |
src/main/java/etunicorn/generated/PersonneController.java deleted
@@ -1,71 +0,0 @@ | @@ -1,71 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated; | ||
3 | - | ||
4 | -import java.math.BigDecimal; | ||
5 | -import etunicorn.generated.model.UpdatePersonneByIdRequest; | ||
6 | -import etunicorn.generated.model.UpdatePersonneRequest; | ||
7 | -import org.springframework.http.ResponseEntity; | ||
8 | -import org.springframework.web.bind.annotation.PathVariable; | ||
9 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
10 | -import org.springframework.web.bind.annotation.RequestMethod; | ||
11 | -import org.springframework.web.bind.annotation.RestController; | ||
12 | - | ||
13 | - | ||
14 | -/** | ||
15 | - * No description | ||
16 | - * (Generated with springmvc-raml-parser v.0.8.9) | ||
17 | - * | ||
18 | - */ | ||
19 | -@RestController | ||
20 | -@RequestMapping("/v1/personne") | ||
21 | -public interface PersonneController { | ||
22 | - | ||
23 | - | ||
24 | - /** | ||
25 | - * Obtenir la liste des persones. Nécessite COMPTE_ADMIN | ||
26 | - * | ||
27 | - */ | ||
28 | - @RequestMapping(value = "", method = RequestMethod.GET) | ||
29 | - public ResponseEntity<?> getPersonne(); | ||
30 | - | ||
31 | - /** | ||
32 | - * Ajoute une nouvelle personne | ||
33 | - * | ||
34 | - */ | ||
35 | - @RequestMapping(value = "", method = RequestMethod.POST) | ||
36 | - public ResponseEntity<?> updatePersonne( | ||
37 | - @javax.validation.Valid | ||
38 | - @org.springframework.web.bind.annotation.RequestBody | ||
39 | - UpdatePersonneRequest updatePersonneRequest); | ||
40 | - | ||
41 | - /** | ||
42 | - * Obtenir les infos sur une personne. Nécessite COMPTE_ADMIN | ||
43 | - * | ||
44 | - */ | ||
45 | - @RequestMapping(value = "/{idPersonne}", method = RequestMethod.GET) | ||
46 | - public ResponseEntity<?> getPersonneById( | ||
47 | - @PathVariable | ||
48 | - BigDecimal idPersonne); | ||
49 | - | ||
50 | - /** | ||
51 | - * Modifer les infos d'une personne. Nécessite COMPTE_ADMIN | ||
52 | - * | ||
53 | - */ | ||
54 | - @RequestMapping(value = "/{idPersonne}", method = RequestMethod.PUT) | ||
55 | - public ResponseEntity<?> updatePersonneById( | ||
56 | - @PathVariable | ||
57 | - BigDecimal idPersonne, | ||
58 | - @javax.validation.Valid | ||
59 | - @org.springframework.web.bind.annotation.RequestBody | ||
60 | - UpdatePersonneByIdRequest updatePersonneByIdRequest); | ||
61 | - | ||
62 | - /** | ||
63 | - * Obtenir les infos sur une personne. Nécessite COMPTE_ADMIN | ||
64 | - * | ||
65 | - */ | ||
66 | - @RequestMapping(value = "/{idPersonne}", method = RequestMethod.DELETE) | ||
67 | - public ResponseEntity<?> deletePersonneById( | ||
68 | - @PathVariable | ||
69 | - BigDecimal idPersonne); | ||
70 | - | ||
71 | -} |
src/main/java/etunicorn/generated/RoleController.java deleted
@@ -1,79 +0,0 @@ | @@ -1,79 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated; | ||
3 | - | ||
4 | -import etunicorn.generated.model.UpdateRoleByIdRequest; | ||
5 | -import etunicorn.generated.model.UpdateRoleRequest; | ||
6 | -import org.springframework.http.ResponseEntity; | ||
7 | -import org.springframework.web.bind.annotation.PathVariable; | ||
8 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
9 | -import org.springframework.web.bind.annotation.RequestMethod; | ||
10 | -import org.springframework.web.bind.annotation.RestController; | ||
11 | - | ||
12 | - | ||
13 | -/** | ||
14 | - * No description | ||
15 | - * (Generated with springmvc-raml-parser v.0.8.9) | ||
16 | - * | ||
17 | - */ | ||
18 | -@RestController | ||
19 | -@RequestMapping("/v1/role") | ||
20 | -public interface RoleController { | ||
21 | - | ||
22 | - | ||
23 | - /** | ||
24 | - * Liste les rôles. Nécessite ROLE_ADMIN | ||
25 | - * | ||
26 | - */ | ||
27 | - @RequestMapping(value = "", method = RequestMethod.GET) | ||
28 | - public ResponseEntity<?> getRole(); | ||
29 | - | ||
30 | - /** | ||
31 | - * Ajoute un nouveau rôle. Nécessite ROLE_ADMIN | ||
32 | - * | ||
33 | - */ | ||
34 | - @RequestMapping(value = "", method = RequestMethod.POST) | ||
35 | - public ResponseEntity<?> updateRole( | ||
36 | - @javax.validation.Valid | ||
37 | - @org.springframework.web.bind.annotation.RequestBody | ||
38 | - UpdateRoleRequest updateRoleRequest); | ||
39 | - | ||
40 | - /** | ||
41 | - * Supprime un rôle. Nécessite ROLE_ADMIN | ||
42 | - * | ||
43 | - */ | ||
44 | - @RequestMapping(value = "/{nomRole}", method = RequestMethod.DELETE) | ||
45 | - public ResponseEntity<?> deleteRoleById( | ||
46 | - @PathVariable | ||
47 | - String nomRole); | ||
48 | - | ||
49 | - /** | ||
50 | - * Ajoute une permission à un rôle. Nécessite ROLE_ADMIN | ||
51 | - * | ||
52 | - */ | ||
53 | - @RequestMapping(value = "/{nomRole}", method = RequestMethod.POST) | ||
54 | - public ResponseEntity<?> updateRoleById( | ||
55 | - @PathVariable | ||
56 | - String nomRole, | ||
57 | - @javax.validation.Valid | ||
58 | - @org.springframework.web.bind.annotation.RequestBody | ||
59 | - UpdateRoleByIdRequest updateRoleByIdRequest); | ||
60 | - | ||
61 | - /** | ||
62 | - * Enlève la permission du rôle. Nécessite ROLE_ADMIN | ||
63 | - * | ||
64 | - */ | ||
65 | - @RequestMapping(value = "/{nomRole}/{nomPermission}", method = RequestMethod.DELETE) | ||
66 | - public ResponseEntity<?> deleteRoleByNomPermission( | ||
67 | - @PathVariable | ||
68 | - String nomPermission, | ||
69 | - @PathVariable | ||
70 | - String nomRole); | ||
71 | - | ||
72 | - /** | ||
73 | - * Liste les permissions. Nécessite ROLE_ADMIN | ||
74 | - * | ||
75 | - */ | ||
76 | - @RequestMapping(value = "/permission", method = RequestMethod.GET) | ||
77 | - public ResponseEntity<?> getPermission(); | ||
78 | - | ||
79 | -} |
src/main/java/etunicorn/generated/TransactionController.java deleted
@@ -1,79 +0,0 @@ | @@ -1,79 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated; | ||
3 | - | ||
4 | -import etunicorn.generated.model.UpdateConsommationRequest; | ||
5 | -import etunicorn.generated.model.UpdateCreditRequest; | ||
6 | -import etunicorn.generated.model.UpdateEvenementRequest; | ||
7 | -import org.springframework.http.ResponseEntity; | ||
8 | -import org.springframework.web.bind.annotation.PathVariable; | ||
9 | -import org.springframework.web.bind.annotation.RequestMapping; | ||
10 | -import org.springframework.web.bind.annotation.RequestMethod; | ||
11 | -import org.springframework.web.bind.annotation.RestController; | ||
12 | - | ||
13 | - | ||
14 | -/** | ||
15 | - * No description | ||
16 | - * (Generated with springmvc-raml-parser v.0.8.9) | ||
17 | - * | ||
18 | - */ | ||
19 | -@RestController | ||
20 | -@RequestMapping("/v1/transaction") | ||
21 | -public interface TransactionController { | ||
22 | - | ||
23 | - | ||
24 | - /** | ||
25 | - * Permet de recuperer la liste des transaction | ||
26 | - * | ||
27 | - */ | ||
28 | - @RequestMapping(value = "", method = RequestMethod.GET) | ||
29 | - public ResponseEntity<?> getTransaction(); | ||
30 | - | ||
31 | - /** | ||
32 | - * Achat d'une consomation (id) par un participant à un acteur | ||
33 | - * | ||
34 | - */ | ||
35 | - @RequestMapping(value = "/consommation", method = RequestMethod.POST) | ||
36 | - public ResponseEntity<?> updateConsommation( | ||
37 | - @javax.validation.Valid | ||
38 | - @org.springframework.web.bind.annotation.RequestBody | ||
39 | - UpdateConsommationRequest updateConsommationRequest); | ||
40 | - | ||
41 | - /** | ||
42 | - * No description | ||
43 | - * | ||
44 | - */ | ||
45 | - @RequestMapping(value = "/evenement", method = RequestMethod.POST) | ||
46 | - public ResponseEntity<?> updateEvenement( | ||
47 | - @javax.validation.Valid | ||
48 | - @org.springframework.web.bind.annotation.RequestBody | ||
49 | - UpdateEvenementRequest updateEvenementRequest); | ||
50 | - | ||
51 | - /** | ||
52 | - * Permet de recharger ou debiter un compte | ||
53 | - * | ||
54 | - */ | ||
55 | - @RequestMapping(value = "/credit", method = RequestMethod.POST) | ||
56 | - public ResponseEntity<?> updateCredit( | ||
57 | - @javax.validation.Valid | ||
58 | - @org.springframework.web.bind.annotation.RequestBody | ||
59 | - UpdateCreditRequest updateCreditRequest); | ||
60 | - | ||
61 | - /** | ||
62 | - * Permet de recuperer la liste des transaction d'une personne | ||
63 | - * | ||
64 | - */ | ||
65 | - @RequestMapping(value = "/{idPersonne}", method = RequestMethod.GET) | ||
66 | - public ResponseEntity<?> getTransactionByIdPersonne( | ||
67 | - @PathVariable | ||
68 | - Long idPersonne); | ||
69 | - | ||
70 | - /** | ||
71 | - * Permet de recuperer la liste des transaction d'une personne | ||
72 | - * | ||
73 | - */ | ||
74 | - @RequestMapping(value = "/acteur/{idPersonne}", method = RequestMethod.GET) | ||
75 | - public ResponseEntity<?> getActeurByIdPersonne( | ||
76 | - @PathVariable | ||
77 | - Long idPersonne); | ||
78 | - | ||
79 | -} |
src/main/java/etunicorn/generated/model/UpdateConsommationByIdRequest.java deleted
@@ -1,108 +0,0 @@ | @@ -1,108 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "nom", | ||
19 | - "prix" | ||
20 | -}) | ||
21 | -public class UpdateConsommationByIdRequest { | ||
22 | - | ||
23 | - /** | ||
24 | - * | ||
25 | - */ | ||
26 | - @JsonProperty("nom") | ||
27 | - private String nom; | ||
28 | - /** | ||
29 | - * | ||
30 | - */ | ||
31 | - @JsonProperty("prix") | ||
32 | - private Float prix; | ||
33 | - @JsonIgnore | ||
34 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
35 | - | ||
36 | - /** | ||
37 | - * | ||
38 | - * @return | ||
39 | - * The nom | ||
40 | - */ | ||
41 | - @JsonProperty("nom") | ||
42 | - public String getNom() { | ||
43 | - return nom; | ||
44 | - } | ||
45 | - | ||
46 | - /** | ||
47 | - * | ||
48 | - * @param nom | ||
49 | - * The nom | ||
50 | - */ | ||
51 | - @JsonProperty("nom") | ||
52 | - public void setNom(String nom) { | ||
53 | - this.nom = nom; | ||
54 | - } | ||
55 | - | ||
56 | - /** | ||
57 | - * | ||
58 | - * @return | ||
59 | - * The prix | ||
60 | - */ | ||
61 | - @JsonProperty("prix") | ||
62 | - public Float getPrix() { | ||
63 | - return prix; | ||
64 | - } | ||
65 | - | ||
66 | - /** | ||
67 | - * | ||
68 | - * @param prix | ||
69 | - * The prix | ||
70 | - */ | ||
71 | - @JsonProperty("prix") | ||
72 | - public void setPrix(Float prix) { | ||
73 | - this.prix = prix; | ||
74 | - } | ||
75 | - | ||
76 | - @Override | ||
77 | - public String toString() { | ||
78 | - return ToStringBuilder.reflectionToString(this); | ||
79 | - } | ||
80 | - | ||
81 | - @JsonAnyGetter | ||
82 | - public Map<String, Object> getAdditionalProperties() { | ||
83 | - return this.additionalProperties; | ||
84 | - } | ||
85 | - | ||
86 | - @JsonAnySetter | ||
87 | - public void setAdditionalProperty(String name, Object value) { | ||
88 | - this.additionalProperties.put(name, value); | ||
89 | - } | ||
90 | - | ||
91 | - @Override | ||
92 | - public int hashCode() { | ||
93 | - return new HashCodeBuilder().append(nom).append(prix).append(additionalProperties).toHashCode(); | ||
94 | - } | ||
95 | - | ||
96 | - @Override | ||
97 | - public boolean equals(Object other) { | ||
98 | - if (other == this) { | ||
99 | - return true; | ||
100 | - } | ||
101 | - if ((other instanceof UpdateConsommationByIdRequest) == false) { | ||
102 | - return false; | ||
103 | - } | ||
104 | - UpdateConsommationByIdRequest rhs = ((UpdateConsommationByIdRequest) other); | ||
105 | - return new EqualsBuilder().append(nom, rhs.nom).append(prix, rhs.prix).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
106 | - } | ||
107 | - | ||
108 | -} |
src/main/java/etunicorn/generated/model/UpdateConsommationRequest.java deleted
@@ -1,120 +0,0 @@ | @@ -1,120 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "participant", | ||
19 | - "id" | ||
20 | -}) | ||
21 | -public class UpdateConsommationRequest { | ||
22 | - | ||
23 | - /** | ||
24 | - * | ||
25 | - * (Required) | ||
26 | - * | ||
27 | - */ | ||
28 | - @JsonProperty("participant") | ||
29 | - private Object participant; | ||
30 | - /** | ||
31 | - * | ||
32 | - * (Required) | ||
33 | - * | ||
34 | - */ | ||
35 | - @JsonProperty("id") | ||
36 | - private Object id; | ||
37 | - @JsonIgnore | ||
38 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
39 | - | ||
40 | - /** | ||
41 | - * | ||
42 | - * (Required) | ||
43 | - * | ||
44 | - * @return | ||
45 | - * The participant | ||
46 | - */ | ||
47 | - @JsonProperty("participant") | ||
48 | - public Object getParticipant() { | ||
49 | - return participant; | ||
50 | - } | ||
51 | - | ||
52 | - /** | ||
53 | - * | ||
54 | - * (Required) | ||
55 | - * | ||
56 | - * @param participant | ||
57 | - * The participant | ||
58 | - */ | ||
59 | - @JsonProperty("participant") | ||
60 | - public void setParticipant(Object participant) { | ||
61 | - this.participant = participant; | ||
62 | - } | ||
63 | - | ||
64 | - /** | ||
65 | - * | ||
66 | - * (Required) | ||
67 | - * | ||
68 | - * @return | ||
69 | - * The id | ||
70 | - */ | ||
71 | - @JsonProperty("id") | ||
72 | - public Object getId() { | ||
73 | - return id; | ||
74 | - } | ||
75 | - | ||
76 | - /** | ||
77 | - * | ||
78 | - * (Required) | ||
79 | - * | ||
80 | - * @param id | ||
81 | - * The id | ||
82 | - */ | ||
83 | - @JsonProperty("id") | ||
84 | - public void setId(Object id) { | ||
85 | - this.id = id; | ||
86 | - } | ||
87 | - | ||
88 | - @Override | ||
89 | - public String toString() { | ||
90 | - return ToStringBuilder.reflectionToString(this); | ||
91 | - } | ||
92 | - | ||
93 | - @JsonAnyGetter | ||
94 | - public Map<String, Object> getAdditionalProperties() { | ||
95 | - return this.additionalProperties; | ||
96 | - } | ||
97 | - | ||
98 | - @JsonAnySetter | ||
99 | - public void setAdditionalProperty(String name, Object value) { | ||
100 | - this.additionalProperties.put(name, value); | ||
101 | - } | ||
102 | - | ||
103 | - @Override | ||
104 | - public int hashCode() { | ||
105 | - return new HashCodeBuilder().append(participant).append(id).append(additionalProperties).toHashCode(); | ||
106 | - } | ||
107 | - | ||
108 | - @Override | ||
109 | - public boolean equals(Object other) { | ||
110 | - if (other == this) { | ||
111 | - return true; | ||
112 | - } | ||
113 | - if ((other instanceof UpdateConsommationRequest) == false) { | ||
114 | - return false; | ||
115 | - } | ||
116 | - UpdateConsommationRequest rhs = ((UpdateConsommationRequest) other); | ||
117 | - return new EqualsBuilder().append(participant, rhs.participant).append(id, rhs.id).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
118 | - } | ||
119 | - | ||
120 | -} |
src/main/java/etunicorn/generated/model/UpdateCreditRequest.java deleted
@@ -1,120 +0,0 @@ | @@ -1,120 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "participant", | ||
19 | - "prix" | ||
20 | -}) | ||
21 | -public class UpdateCreditRequest { | ||
22 | - | ||
23 | - /** | ||
24 | - * | ||
25 | - * (Required) | ||
26 | - * | ||
27 | - */ | ||
28 | - @JsonProperty("participant") | ||
29 | - private Object participant; | ||
30 | - /** | ||
31 | - * | ||
32 | - * (Required) | ||
33 | - * | ||
34 | - */ | ||
35 | - @JsonProperty("prix") | ||
36 | - private Float prix; | ||
37 | - @JsonIgnore | ||
38 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
39 | - | ||
40 | - /** | ||
41 | - * | ||
42 | - * (Required) | ||
43 | - * | ||
44 | - * @return | ||
45 | - * The participant | ||
46 | - */ | ||
47 | - @JsonProperty("participant") | ||
48 | - public Object getParticipant() { | ||
49 | - return participant; | ||
50 | - } | ||
51 | - | ||
52 | - /** | ||
53 | - * | ||
54 | - * (Required) | ||
55 | - * | ||
56 | - * @param participant | ||
57 | - * The participant | ||
58 | - */ | ||
59 | - @JsonProperty("participant") | ||
60 | - public void setParticipant(Object participant) { | ||
61 | - this.participant = participant; | ||
62 | - } | ||
63 | - | ||
64 | - /** | ||
65 | - * | ||
66 | - * (Required) | ||
67 | - * | ||
68 | - * @return | ||
69 | - * The prix | ||
70 | - */ | ||
71 | - @JsonProperty("prix") | ||
72 | - public Float getPrix() { | ||
73 | - return prix; | ||
74 | - } | ||
75 | - | ||
76 | - /** | ||
77 | - * | ||
78 | - * (Required) | ||
79 | - * | ||
80 | - * @param prix | ||
81 | - * The prix | ||
82 | - */ | ||
83 | - @JsonProperty("prix") | ||
84 | - public void setPrix(Float prix) { | ||
85 | - this.prix = prix; | ||
86 | - } | ||
87 | - | ||
88 | - @Override | ||
89 | - public String toString() { | ||
90 | - return ToStringBuilder.reflectionToString(this); | ||
91 | - } | ||
92 | - | ||
93 | - @JsonAnyGetter | ||
94 | - public Map<String, Object> getAdditionalProperties() { | ||
95 | - return this.additionalProperties; | ||
96 | - } | ||
97 | - | ||
98 | - @JsonAnySetter | ||
99 | - public void setAdditionalProperty(String name, Object value) { | ||
100 | - this.additionalProperties.put(name, value); | ||
101 | - } | ||
102 | - | ||
103 | - @Override | ||
104 | - public int hashCode() { | ||
105 | - return new HashCodeBuilder().append(participant).append(prix).append(additionalProperties).toHashCode(); | ||
106 | - } | ||
107 | - | ||
108 | - @Override | ||
109 | - public boolean equals(Object other) { | ||
110 | - if (other == this) { | ||
111 | - return true; | ||
112 | - } | ||
113 | - if ((other instanceof UpdateCreditRequest) == false) { | ||
114 | - return false; | ||
115 | - } | ||
116 | - UpdateCreditRequest rhs = ((UpdateCreditRequest) other); | ||
117 | - return new EqualsBuilder().append(participant, rhs.participant).append(prix, rhs.prix).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
118 | - } | ||
119 | - | ||
120 | -} |
src/main/java/etunicorn/generated/model/UpdateEvenementByIdRequest.java deleted
@@ -1,134 +0,0 @@ | @@ -1,134 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "nom", | ||
19 | - "prix", | ||
20 | - "date" | ||
21 | -}) | ||
22 | -public class UpdateEvenementByIdRequest { | ||
23 | - | ||
24 | - /** | ||
25 | - * | ||
26 | - */ | ||
27 | - @JsonProperty("nom") | ||
28 | - private String nom; | ||
29 | - /** | ||
30 | - * | ||
31 | - */ | ||
32 | - @JsonProperty("prix") | ||
33 | - private Float prix; | ||
34 | - /** | ||
35 | - * | ||
36 | - */ | ||
37 | - @JsonProperty("date") | ||
38 | - private String date; | ||
39 | - @JsonIgnore | ||
40 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
41 | - | ||
42 | - /** | ||
43 | - * | ||
44 | - * @return | ||
45 | - * The nom | ||
46 | - */ | ||
47 | - @JsonProperty("nom") | ||
48 | - public String getNom() { | ||
49 | - return nom; | ||
50 | - } | ||
51 | - | ||
52 | - /** | ||
53 | - * | ||
54 | - * @param nom | ||
55 | - * The nom | ||
56 | - */ | ||
57 | - @JsonProperty("nom") | ||
58 | - public void setNom(String nom) { | ||
59 | - this.nom = nom; | ||
60 | - } | ||
61 | - | ||
62 | - /** | ||
63 | - * | ||
64 | - * @return | ||
65 | - * The prix | ||
66 | - */ | ||
67 | - @JsonProperty("prix") | ||
68 | - public Float getPrix() { | ||
69 | - return prix; | ||
70 | - } | ||
71 | - | ||
72 | - /** | ||
73 | - * | ||
74 | - * @param prix | ||
75 | - * The prix | ||
76 | - */ | ||
77 | - @JsonProperty("prix") | ||
78 | - public void setPrix(Float prix) { | ||
79 | - this.prix = prix; | ||
80 | - } | ||
81 | - | ||
82 | - /** | ||
83 | - * | ||
84 | - * @return | ||
85 | - * The date | ||
86 | - */ | ||
87 | - @JsonProperty("date") | ||
88 | - public String getDate() { | ||
89 | - return date; | ||
90 | - } | ||
91 | - | ||
92 | - /** | ||
93 | - * | ||
94 | - * @param date | ||
95 | - * The date | ||
96 | - */ | ||
97 | - @JsonProperty("date") | ||
98 | - public void setDate(String date) { | ||
99 | - this.date = date; | ||
100 | - } | ||
101 | - | ||
102 | - @Override | ||
103 | - public String toString() { | ||
104 | - return ToStringBuilder.reflectionToString(this); | ||
105 | - } | ||
106 | - | ||
107 | - @JsonAnyGetter | ||
108 | - public Map<String, Object> getAdditionalProperties() { | ||
109 | - return this.additionalProperties; | ||
110 | - } | ||
111 | - | ||
112 | - @JsonAnySetter | ||
113 | - public void setAdditionalProperty(String name, Object value) { | ||
114 | - this.additionalProperties.put(name, value); | ||
115 | - } | ||
116 | - | ||
117 | - @Override | ||
118 | - public int hashCode() { | ||
119 | - return new HashCodeBuilder().append(nom).append(prix).append(date).append(additionalProperties).toHashCode(); | ||
120 | - } | ||
121 | - | ||
122 | - @Override | ||
123 | - public boolean equals(Object other) { | ||
124 | - if (other == this) { | ||
125 | - return true; | ||
126 | - } | ||
127 | - if ((other instanceof UpdateEvenementByIdRequest) == false) { | ||
128 | - return false; | ||
129 | - } | ||
130 | - UpdateEvenementByIdRequest rhs = ((UpdateEvenementByIdRequest) other); | ||
131 | - return new EqualsBuilder().append(nom, rhs.nom).append(prix, rhs.prix).append(date, rhs.date).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
132 | - } | ||
133 | - | ||
134 | -} |
src/main/java/etunicorn/generated/model/UpdateEvenementCreditRequest.java deleted
@@ -1,120 +0,0 @@ | @@ -1,120 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "participant", | ||
19 | - "prix" | ||
20 | -}) | ||
21 | -public class UpdateEvenementCreditRequest { | ||
22 | - | ||
23 | - /** | ||
24 | - * | ||
25 | - * (Required) | ||
26 | - * | ||
27 | - */ | ||
28 | - @JsonProperty("participant") | ||
29 | - private Object participant; | ||
30 | - /** | ||
31 | - * | ||
32 | - * (Required) | ||
33 | - * | ||
34 | - */ | ||
35 | - @JsonProperty("prix") | ||
36 | - private Float prix; | ||
37 | - @JsonIgnore | ||
38 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
39 | - | ||
40 | - /** | ||
41 | - * | ||
42 | - * (Required) | ||
43 | - * | ||
44 | - * @return | ||
45 | - * The participant | ||
46 | - */ | ||
47 | - @JsonProperty("participant") | ||
48 | - public Object getParticipant() { | ||
49 | - return participant; | ||
50 | - } | ||
51 | - | ||
52 | - /** | ||
53 | - * | ||
54 | - * (Required) | ||
55 | - * | ||
56 | - * @param participant | ||
57 | - * The participant | ||
58 | - */ | ||
59 | - @JsonProperty("participant") | ||
60 | - public void setParticipant(Object participant) { | ||
61 | - this.participant = participant; | ||
62 | - } | ||
63 | - | ||
64 | - /** | ||
65 | - * | ||
66 | - * (Required) | ||
67 | - * | ||
68 | - * @return | ||
69 | - * The prix | ||
70 | - */ | ||
71 | - @JsonProperty("prix") | ||
72 | - public Float getPrix() { | ||
73 | - return prix; | ||
74 | - } | ||
75 | - | ||
76 | - /** | ||
77 | - * | ||
78 | - * (Required) | ||
79 | - * | ||
80 | - * @param prix | ||
81 | - * The prix | ||
82 | - */ | ||
83 | - @JsonProperty("prix") | ||
84 | - public void setPrix(Float prix) { | ||
85 | - this.prix = prix; | ||
86 | - } | ||
87 | - | ||
88 | - @Override | ||
89 | - public String toString() { | ||
90 | - return ToStringBuilder.reflectionToString(this); | ||
91 | - } | ||
92 | - | ||
93 | - @JsonAnyGetter | ||
94 | - public Map<String, Object> getAdditionalProperties() { | ||
95 | - return this.additionalProperties; | ||
96 | - } | ||
97 | - | ||
98 | - @JsonAnySetter | ||
99 | - public void setAdditionalProperty(String name, Object value) { | ||
100 | - this.additionalProperties.put(name, value); | ||
101 | - } | ||
102 | - | ||
103 | - @Override | ||
104 | - public int hashCode() { | ||
105 | - return new HashCodeBuilder().append(participant).append(prix).append(additionalProperties).toHashCode(); | ||
106 | - } | ||
107 | - | ||
108 | - @Override | ||
109 | - public boolean equals(Object other) { | ||
110 | - if (other == this) { | ||
111 | - return true; | ||
112 | - } | ||
113 | - if ((other instanceof UpdateEvenementCreditRequest) == false) { | ||
114 | - return false; | ||
115 | - } | ||
116 | - UpdateEvenementCreditRequest rhs = ((UpdateEvenementCreditRequest) other); | ||
117 | - return new EqualsBuilder().append(participant, rhs.participant).append(prix, rhs.prix).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
118 | - } | ||
119 | - | ||
120 | -} |
src/main/java/etunicorn/generated/model/UpdateEvenementRequest.java deleted
@@ -1,120 +0,0 @@ | @@ -1,120 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "participant", | ||
19 | - "id" | ||
20 | -}) | ||
21 | -public class UpdateEvenementRequest { | ||
22 | - | ||
23 | - /** | ||
24 | - * | ||
25 | - * (Required) | ||
26 | - * | ||
27 | - */ | ||
28 | - @JsonProperty("participant") | ||
29 | - private Object participant; | ||
30 | - /** | ||
31 | - * | ||
32 | - * (Required) | ||
33 | - * | ||
34 | - */ | ||
35 | - @JsonProperty("id") | ||
36 | - private Object id; | ||
37 | - @JsonIgnore | ||
38 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
39 | - | ||
40 | - /** | ||
41 | - * | ||
42 | - * (Required) | ||
43 | - * | ||
44 | - * @return | ||
45 | - * The participant | ||
46 | - */ | ||
47 | - @JsonProperty("participant") | ||
48 | - public Object getParticipant() { | ||
49 | - return participant; | ||
50 | - } | ||
51 | - | ||
52 | - /** | ||
53 | - * | ||
54 | - * (Required) | ||
55 | - * | ||
56 | - * @param participant | ||
57 | - * The participant | ||
58 | - */ | ||
59 | - @JsonProperty("participant") | ||
60 | - public void setParticipant(Object participant) { | ||
61 | - this.participant = participant; | ||
62 | - } | ||
63 | - | ||
64 | - /** | ||
65 | - * | ||
66 | - * (Required) | ||
67 | - * | ||
68 | - * @return | ||
69 | - * The id | ||
70 | - */ | ||
71 | - @JsonProperty("id") | ||
72 | - public Object getId() { | ||
73 | - return id; | ||
74 | - } | ||
75 | - | ||
76 | - /** | ||
77 | - * | ||
78 | - * (Required) | ||
79 | - * | ||
80 | - * @param id | ||
81 | - * The id | ||
82 | - */ | ||
83 | - @JsonProperty("id") | ||
84 | - public void setId(Object id) { | ||
85 | - this.id = id; | ||
86 | - } | ||
87 | - | ||
88 | - @Override | ||
89 | - public String toString() { | ||
90 | - return ToStringBuilder.reflectionToString(this); | ||
91 | - } | ||
92 | - | ||
93 | - @JsonAnyGetter | ||
94 | - public Map<String, Object> getAdditionalProperties() { | ||
95 | - return this.additionalProperties; | ||
96 | - } | ||
97 | - | ||
98 | - @JsonAnySetter | ||
99 | - public void setAdditionalProperty(String name, Object value) { | ||
100 | - this.additionalProperties.put(name, value); | ||
101 | - } | ||
102 | - | ||
103 | - @Override | ||
104 | - public int hashCode() { | ||
105 | - return new HashCodeBuilder().append(participant).append(id).append(additionalProperties).toHashCode(); | ||
106 | - } | ||
107 | - | ||
108 | - @Override | ||
109 | - public boolean equals(Object other) { | ||
110 | - if (other == this) { | ||
111 | - return true; | ||
112 | - } | ||
113 | - if ((other instanceof UpdateEvenementRequest) == false) { | ||
114 | - return false; | ||
115 | - } | ||
116 | - UpdateEvenementRequest rhs = ((UpdateEvenementRequest) other); | ||
117 | - return new EqualsBuilder().append(participant, rhs.participant).append(id, rhs.id).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
118 | - } | ||
119 | - | ||
120 | -} |
src/main/java/etunicorn/generated/model/UpdateLoginRequest.java deleted
@@ -1,120 +0,0 @@ | @@ -1,120 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "login", | ||
19 | - "password" | ||
20 | -}) | ||
21 | -public class UpdateLoginRequest { | ||
22 | - | ||
23 | - /** | ||
24 | - * | ||
25 | - * (Required) | ||
26 | - * | ||
27 | - */ | ||
28 | - @JsonProperty("login") | ||
29 | - private String login; | ||
30 | - /** | ||
31 | - * | ||
32 | - * (Required) | ||
33 | - * | ||
34 | - */ | ||
35 | - @JsonProperty("password") | ||
36 | - private String password; | ||
37 | - @JsonIgnore | ||
38 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
39 | - | ||
40 | - /** | ||
41 | - * | ||
42 | - * (Required) | ||
43 | - * | ||
44 | - * @return | ||
45 | - * The login | ||
46 | - */ | ||
47 | - @JsonProperty("login") | ||
48 | - public String getLogin() { | ||
49 | - return login; | ||
50 | - } | ||
51 | - | ||
52 | - /** | ||
53 | - * | ||
54 | - * (Required) | ||
55 | - * | ||
56 | - * @param login | ||
57 | - * The login | ||
58 | - */ | ||
59 | - @JsonProperty("login") | ||
60 | - public void setLogin(String login) { | ||
61 | - this.login = login; | ||
62 | - } | ||
63 | - | ||
64 | - /** | ||
65 | - * | ||
66 | - * (Required) | ||
67 | - * | ||
68 | - * @return | ||
69 | - * The password | ||
70 | - */ | ||
71 | - @JsonProperty("password") | ||
72 | - public String getPassword() { | ||
73 | - return password; | ||
74 | - } | ||
75 | - | ||
76 | - /** | ||
77 | - * | ||
78 | - * (Required) | ||
79 | - * | ||
80 | - * @param password | ||
81 | - * The password | ||
82 | - */ | ||
83 | - @JsonProperty("password") | ||
84 | - public void setPassword(String password) { | ||
85 | - this.password = password; | ||
86 | - } | ||
87 | - | ||
88 | - @Override | ||
89 | - public String toString() { | ||
90 | - return ToStringBuilder.reflectionToString(this); | ||
91 | - } | ||
92 | - | ||
93 | - @JsonAnyGetter | ||
94 | - public Map<String, Object> getAdditionalProperties() { | ||
95 | - return this.additionalProperties; | ||
96 | - } | ||
97 | - | ||
98 | - @JsonAnySetter | ||
99 | - public void setAdditionalProperty(String name, Object value) { | ||
100 | - this.additionalProperties.put(name, value); | ||
101 | - } | ||
102 | - | ||
103 | - @Override | ||
104 | - public int hashCode() { | ||
105 | - return new HashCodeBuilder().append(login).append(password).append(additionalProperties).toHashCode(); | ||
106 | - } | ||
107 | - | ||
108 | - @Override | ||
109 | - public boolean equals(Object other) { | ||
110 | - if (other == this) { | ||
111 | - return true; | ||
112 | - } | ||
113 | - if ((other instanceof UpdateLoginRequest) == false) { | ||
114 | - return false; | ||
115 | - } | ||
116 | - UpdateLoginRequest rhs = ((UpdateLoginRequest) other); | ||
117 | - return new EqualsBuilder().append(login, rhs.login).append(password, rhs.password).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
118 | - } | ||
119 | - | ||
120 | -} |
src/main/java/etunicorn/generated/model/UpdateParticipeRequest.java deleted
@@ -1,88 +0,0 @@ | @@ -1,88 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "id" | ||
19 | -}) | ||
20 | -public class UpdateParticipeRequest { | ||
21 | - | ||
22 | - /** | ||
23 | - * | ||
24 | - * (Required) | ||
25 | - * | ||
26 | - */ | ||
27 | - @JsonProperty("id") | ||
28 | - private Integer id; | ||
29 | - @JsonIgnore | ||
30 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
31 | - | ||
32 | - /** | ||
33 | - * | ||
34 | - * (Required) | ||
35 | - * | ||
36 | - * @return | ||
37 | - * The id | ||
38 | - */ | ||
39 | - @JsonProperty("id") | ||
40 | - public Integer getId() { | ||
41 | - return id; | ||
42 | - } | ||
43 | - | ||
44 | - /** | ||
45 | - * | ||
46 | - * (Required) | ||
47 | - * | ||
48 | - * @param id | ||
49 | - * The id | ||
50 | - */ | ||
51 | - @JsonProperty("id") | ||
52 | - public void setId(Integer id) { | ||
53 | - this.id = id; | ||
54 | - } | ||
55 | - | ||
56 | - @Override | ||
57 | - public String toString() { | ||
58 | - return ToStringBuilder.reflectionToString(this); | ||
59 | - } | ||
60 | - | ||
61 | - @JsonAnyGetter | ||
62 | - public Map<String, Object> getAdditionalProperties() { | ||
63 | - return this.additionalProperties; | ||
64 | - } | ||
65 | - | ||
66 | - @JsonAnySetter | ||
67 | - public void setAdditionalProperty(String name, Object value) { | ||
68 | - this.additionalProperties.put(name, value); | ||
69 | - } | ||
70 | - | ||
71 | - @Override | ||
72 | - public int hashCode() { | ||
73 | - return new HashCodeBuilder().append(id).append(additionalProperties).toHashCode(); | ||
74 | - } | ||
75 | - | ||
76 | - @Override | ||
77 | - public boolean equals(Object other) { | ||
78 | - if (other == this) { | ||
79 | - return true; | ||
80 | - } | ||
81 | - if ((other instanceof UpdateParticipeRequest) == false) { | ||
82 | - return false; | ||
83 | - } | ||
84 | - UpdateParticipeRequest rhs = ((UpdateParticipeRequest) other); | ||
85 | - return new EqualsBuilder().append(id, rhs.id).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
86 | - } | ||
87 | - | ||
88 | -} |
src/main/java/etunicorn/generated/model/UpdatePersonneByIdRequest.java deleted
@@ -1,160 +0,0 @@ | @@ -1,160 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "carte", | ||
19 | - "naissance", | ||
20 | - "login", | ||
21 | - "role" | ||
22 | -}) | ||
23 | -public class UpdatePersonneByIdRequest { | ||
24 | - | ||
25 | - /** | ||
26 | - * | ||
27 | - */ | ||
28 | - @JsonProperty("carte") | ||
29 | - private String carte; | ||
30 | - /** | ||
31 | - * | ||
32 | - */ | ||
33 | - @JsonProperty("naissance") | ||
34 | - private String naissance; | ||
35 | - /** | ||
36 | - * | ||
37 | - */ | ||
38 | - @JsonProperty("login") | ||
39 | - private String login; | ||
40 | - /** | ||
41 | - * | ||
42 | - */ | ||
43 | - @JsonProperty("role") | ||
44 | - private Object role; | ||
45 | - @JsonIgnore | ||
46 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
47 | - | ||
48 | - /** | ||
49 | - * | ||
50 | - * @return | ||
51 | - * The carte | ||
52 | - */ | ||
53 | - @JsonProperty("carte") | ||
54 | - public String getCarte() { | ||
55 | - return carte; | ||
56 | - } | ||
57 | - | ||
58 | - /** | ||
59 | - * | ||
60 | - * @param carte | ||
61 | - * The carte | ||
62 | - */ | ||
63 | - @JsonProperty("carte") | ||
64 | - public void setCarte(String carte) { | ||
65 | - this.carte = carte; | ||
66 | - } | ||
67 | - | ||
68 | - /** | ||
69 | - * | ||
70 | - * @return | ||
71 | - * The naissance | ||
72 | - */ | ||
73 | - @JsonProperty("naissance") | ||
74 | - public String getNaissance() { | ||
75 | - return naissance; | ||
76 | - } | ||
77 | - | ||
78 | - /** | ||
79 | - * | ||
80 | - * @param naissance | ||
81 | - * The naissance | ||
82 | - */ | ||
83 | - @JsonProperty("naissance") | ||
84 | - public void setNaissance(String naissance) { | ||
85 | - this.naissance = naissance; | ||
86 | - } | ||
87 | - | ||
88 | - /** | ||
89 | - * | ||
90 | - * @return | ||
91 | - * The login | ||
92 | - */ | ||
93 | - @JsonProperty("login") | ||
94 | - public String getLogin() { | ||
95 | - return login; | ||
96 | - } | ||
97 | - | ||
98 | - /** | ||
99 | - * | ||
100 | - * @param login | ||
101 | - * The login | ||
102 | - */ | ||
103 | - @JsonProperty("login") | ||
104 | - public void setLogin(String login) { | ||
105 | - this.login = login; | ||
106 | - } | ||
107 | - | ||
108 | - /** | ||
109 | - * | ||
110 | - * @return | ||
111 | - * The role | ||
112 | - */ | ||
113 | - @JsonProperty("role") | ||
114 | - public Object getRole() { | ||
115 | - return role; | ||
116 | - } | ||
117 | - | ||
118 | - /** | ||
119 | - * | ||
120 | - * @param role | ||
121 | - * The role | ||
122 | - */ | ||
123 | - @JsonProperty("role") | ||
124 | - public void setRole(Object role) { | ||
125 | - this.role = role; | ||
126 | - } | ||
127 | - | ||
128 | - @Override | ||
129 | - public String toString() { | ||
130 | - return ToStringBuilder.reflectionToString(this); | ||
131 | - } | ||
132 | - | ||
133 | - @JsonAnyGetter | ||
134 | - public Map<String, Object> getAdditionalProperties() { | ||
135 | - return this.additionalProperties; | ||
136 | - } | ||
137 | - | ||
138 | - @JsonAnySetter | ||
139 | - public void setAdditionalProperty(String name, Object value) { | ||
140 | - this.additionalProperties.put(name, value); | ||
141 | - } | ||
142 | - | ||
143 | - @Override | ||
144 | - public int hashCode() { | ||
145 | - return new HashCodeBuilder().append(carte).append(naissance).append(login).append(role).append(additionalProperties).toHashCode(); | ||
146 | - } | ||
147 | - | ||
148 | - @Override | ||
149 | - public boolean equals(Object other) { | ||
150 | - if (other == this) { | ||
151 | - return true; | ||
152 | - } | ||
153 | - if ((other instanceof UpdatePersonneByIdRequest) == false) { | ||
154 | - return false; | ||
155 | - } | ||
156 | - UpdatePersonneByIdRequest rhs = ((UpdatePersonneByIdRequest) other); | ||
157 | - return new EqualsBuilder().append(carte, rhs.carte).append(naissance, rhs.naissance).append(login, rhs.login).append(role, rhs.role).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
158 | - } | ||
159 | - | ||
160 | -} |
src/main/java/etunicorn/generated/model/UpdatePersonneRequest.java deleted
@@ -1,160 +0,0 @@ | @@ -1,160 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "carte", | ||
19 | - "naissance", | ||
20 | - "login", | ||
21 | - "role" | ||
22 | -}) | ||
23 | -public class UpdatePersonneRequest { | ||
24 | - | ||
25 | - /** | ||
26 | - * | ||
27 | - */ | ||
28 | - @JsonProperty("carte") | ||
29 | - private String carte; | ||
30 | - /** | ||
31 | - * | ||
32 | - */ | ||
33 | - @JsonProperty("naissance") | ||
34 | - private String naissance; | ||
35 | - /** | ||
36 | - * | ||
37 | - */ | ||
38 | - @JsonProperty("login") | ||
39 | - private String login; | ||
40 | - /** | ||
41 | - * | ||
42 | - */ | ||
43 | - @JsonProperty("role") | ||
44 | - private Object role; | ||
45 | - @JsonIgnore | ||
46 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
47 | - | ||
48 | - /** | ||
49 | - * | ||
50 | - * @return | ||
51 | - * The carte | ||
52 | - */ | ||
53 | - @JsonProperty("carte") | ||
54 | - public String getCarte() { | ||
55 | - return carte; | ||
56 | - } | ||
57 | - | ||
58 | - /** | ||
59 | - * | ||
60 | - * @param carte | ||
61 | - * The carte | ||
62 | - */ | ||
63 | - @JsonProperty("carte") | ||
64 | - public void setCarte(String carte) { | ||
65 | - this.carte = carte; | ||
66 | - } | ||
67 | - | ||
68 | - /** | ||
69 | - * | ||
70 | - * @return | ||
71 | - * The naissance | ||
72 | - */ | ||
73 | - @JsonProperty("naissance") | ||
74 | - public String getNaissance() { | ||
75 | - return naissance; | ||
76 | - } | ||
77 | - | ||
78 | - /** | ||
79 | - * | ||
80 | - * @param naissance | ||
81 | - * The naissance | ||
82 | - */ | ||
83 | - @JsonProperty("naissance") | ||
84 | - public void setNaissance(String naissance) { | ||
85 | - this.naissance = naissance; | ||
86 | - } | ||
87 | - | ||
88 | - /** | ||
89 | - * | ||
90 | - * @return | ||
91 | - * The login | ||
92 | - */ | ||
93 | - @JsonProperty("login") | ||
94 | - public String getLogin() { | ||
95 | - return login; | ||
96 | - } | ||
97 | - | ||
98 | - /** | ||
99 | - * | ||
100 | - * @param login | ||
101 | - * The login | ||
102 | - */ | ||
103 | - @JsonProperty("login") | ||
104 | - public void setLogin(String login) { | ||
105 | - this.login = login; | ||
106 | - } | ||
107 | - | ||
108 | - /** | ||
109 | - * | ||
110 | - * @return | ||
111 | - * The role | ||
112 | - */ | ||
113 | - @JsonProperty("role") | ||
114 | - public Object getRole() { | ||
115 | - return role; | ||
116 | - } | ||
117 | - | ||
118 | - /** | ||
119 | - * | ||
120 | - * @param role | ||
121 | - * The role | ||
122 | - */ | ||
123 | - @JsonProperty("role") | ||
124 | - public void setRole(Object role) { | ||
125 | - this.role = role; | ||
126 | - } | ||
127 | - | ||
128 | - @Override | ||
129 | - public String toString() { | ||
130 | - return ToStringBuilder.reflectionToString(this); | ||
131 | - } | ||
132 | - | ||
133 | - @JsonAnyGetter | ||
134 | - public Map<String, Object> getAdditionalProperties() { | ||
135 | - return this.additionalProperties; | ||
136 | - } | ||
137 | - | ||
138 | - @JsonAnySetter | ||
139 | - public void setAdditionalProperty(String name, Object value) { | ||
140 | - this.additionalProperties.put(name, value); | ||
141 | - } | ||
142 | - | ||
143 | - @Override | ||
144 | - public int hashCode() { | ||
145 | - return new HashCodeBuilder().append(carte).append(naissance).append(login).append(role).append(additionalProperties).toHashCode(); | ||
146 | - } | ||
147 | - | ||
148 | - @Override | ||
149 | - public boolean equals(Object other) { | ||
150 | - if (other == this) { | ||
151 | - return true; | ||
152 | - } | ||
153 | - if ((other instanceof UpdatePersonneRequest) == false) { | ||
154 | - return false; | ||
155 | - } | ||
156 | - UpdatePersonneRequest rhs = ((UpdatePersonneRequest) other); | ||
157 | - return new EqualsBuilder().append(carte, rhs.carte).append(naissance, rhs.naissance).append(login, rhs.login).append(role, rhs.role).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
158 | - } | ||
159 | - | ||
160 | -} |
src/main/java/etunicorn/generated/model/UpdateRoleByIdRequest.java deleted
@@ -1,88 +0,0 @@ | @@ -1,88 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "nom" | ||
19 | -}) | ||
20 | -public class UpdateRoleByIdRequest { | ||
21 | - | ||
22 | - /** | ||
23 | - * | ||
24 | - * (Required) | ||
25 | - * | ||
26 | - */ | ||
27 | - @JsonProperty("nom") | ||
28 | - private String nom; | ||
29 | - @JsonIgnore | ||
30 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
31 | - | ||
32 | - /** | ||
33 | - * | ||
34 | - * (Required) | ||
35 | - * | ||
36 | - * @return | ||
37 | - * The nom | ||
38 | - */ | ||
39 | - @JsonProperty("nom") | ||
40 | - public String getNom() { | ||
41 | - return nom; | ||
42 | - } | ||
43 | - | ||
44 | - /** | ||
45 | - * | ||
46 | - * (Required) | ||
47 | - * | ||
48 | - * @param nom | ||
49 | - * The nom | ||
50 | - */ | ||
51 | - @JsonProperty("nom") | ||
52 | - public void setNom(String nom) { | ||
53 | - this.nom = nom; | ||
54 | - } | ||
55 | - | ||
56 | - @Override | ||
57 | - public String toString() { | ||
58 | - return ToStringBuilder.reflectionToString(this); | ||
59 | - } | ||
60 | - | ||
61 | - @JsonAnyGetter | ||
62 | - public Map<String, Object> getAdditionalProperties() { | ||
63 | - return this.additionalProperties; | ||
64 | - } | ||
65 | - | ||
66 | - @JsonAnySetter | ||
67 | - public void setAdditionalProperty(String name, Object value) { | ||
68 | - this.additionalProperties.put(name, value); | ||
69 | - } | ||
70 | - | ||
71 | - @Override | ||
72 | - public int hashCode() { | ||
73 | - return new HashCodeBuilder().append(nom).append(additionalProperties).toHashCode(); | ||
74 | - } | ||
75 | - | ||
76 | - @Override | ||
77 | - public boolean equals(Object other) { | ||
78 | - if (other == this) { | ||
79 | - return true; | ||
80 | - } | ||
81 | - if ((other instanceof UpdateRoleByIdRequest) == false) { | ||
82 | - return false; | ||
83 | - } | ||
84 | - UpdateRoleByIdRequest rhs = ((UpdateRoleByIdRequest) other); | ||
85 | - return new EqualsBuilder().append(nom, rhs.nom).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
86 | - } | ||
87 | - | ||
88 | -} |
src/main/java/etunicorn/generated/model/UpdateRoleRequest.java deleted
@@ -1,88 +0,0 @@ | @@ -1,88 +0,0 @@ | ||
1 | - | ||
2 | -package etunicorn.generated.model; | ||
3 | - | ||
4 | -import java.util.HashMap; | ||
5 | -import java.util.Map; | ||
6 | -import com.fasterxml.jackson.annotation.JsonAnyGetter; | ||
7 | -import com.fasterxml.jackson.annotation.JsonAnySetter; | ||
8 | -import com.fasterxml.jackson.annotation.JsonIgnore; | ||
9 | -import com.fasterxml.jackson.annotation.JsonInclude; | ||
10 | -import com.fasterxml.jackson.annotation.JsonProperty; | ||
11 | -import com.fasterxml.jackson.annotation.JsonPropertyOrder; | ||
12 | -import org.apache.commons.lang.builder.EqualsBuilder; | ||
13 | -import org.apache.commons.lang.builder.HashCodeBuilder; | ||
14 | -import org.apache.commons.lang.builder.ToStringBuilder; | ||
15 | - | ||
16 | -@JsonInclude(JsonInclude.Include.NON_NULL) | ||
17 | -@JsonPropertyOrder({ | ||
18 | - "nom" | ||
19 | -}) | ||
20 | -public class UpdateRoleRequest { | ||
21 | - | ||
22 | - /** | ||
23 | - * | ||
24 | - * (Required) | ||
25 | - * | ||
26 | - */ | ||
27 | - @JsonProperty("nom") | ||
28 | - private String nom; | ||
29 | - @JsonIgnore | ||
30 | - private Map<String, Object> additionalProperties = new HashMap<String, Object>(); | ||
31 | - | ||
32 | - /** | ||
33 | - * | ||
34 | - * (Required) | ||
35 | - * | ||
36 | - * @return | ||
37 | - * The nom | ||
38 | - */ | ||
39 | - @JsonProperty("nom") | ||
40 | - public String getNom() { | ||
41 | - return nom; | ||
42 | - } | ||
43 | - | ||
44 | - /** | ||
45 | - * | ||
46 | - * (Required) | ||
47 | - * | ||
48 | - * @param nom | ||
49 | - * The nom | ||
50 | - */ | ||
51 | - @JsonProperty("nom") | ||
52 | - public void setNom(String nom) { | ||
53 | - this.nom = nom; | ||
54 | - } | ||
55 | - | ||
56 | - @Override | ||
57 | - public String toString() { | ||
58 | - return ToStringBuilder.reflectionToString(this); | ||
59 | - } | ||
60 | - | ||
61 | - @JsonAnyGetter | ||
62 | - public Map<String, Object> getAdditionalProperties() { | ||
63 | - return this.additionalProperties; | ||
64 | - } | ||
65 | - | ||
66 | - @JsonAnySetter | ||
67 | - public void setAdditionalProperty(String name, Object value) { | ||
68 | - this.additionalProperties.put(name, value); | ||
69 | - } | ||
70 | - | ||
71 | - @Override | ||
72 | - public int hashCode() { | ||
73 | - return new HashCodeBuilder().append(nom).append(additionalProperties).toHashCode(); | ||
74 | - } | ||
75 | - | ||
76 | - @Override | ||
77 | - public boolean equals(Object other) { | ||
78 | - if (other == this) { | ||
79 | - return true; | ||
80 | - } | ||
81 | - if ((other instanceof UpdateRoleRequest) == false) { | ||
82 | - return false; | ||
83 | - } | ||
84 | - UpdateRoleRequest rhs = ((UpdateRoleRequest) other); | ||
85 | - return new EqualsBuilder().append(nom, rhs.nom).append(additionalProperties, rhs.additionalProperties).isEquals(); | ||
86 | - } | ||
87 | - | ||
88 | -} |