Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------------------com.example.app.models.api.Info.java-----------------------------------
- package com.example.app.models.api;
- import java.util.ArrayList;
- import java.util.List;
- import javax.annotation.Generated;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- @Generated("org.jsonschema2pojo")
- public class Info {
- @SerializedName("username")
- @Expose
- private List<String> username = new ArrayList<String>();
- @SerializedName("email")
- @Expose
- private List<String> email = new ArrayList<String>();
- @SerializedName("password")
- @Expose
- private List<String> password = new ArrayList<String>();
- @SerializedName("birthDate")
- @Expose
- private List<String> birthDate = new ArrayList<String>();
- @SerializedName("gender")
- @Expose
- private List<String> gender = new ArrayList<String>();
- /**
- *
- * @return
- * The username
- */
- public List<String> getUsername() {
- return username;
- }
- /**
- *
- * @param username
- * The username
- */
- public void setUsername(List<String> username) {
- this.username = username;
- }
- /**
- *
- * @return
- * The email
- */
- public List<String> getEmail() {
- return email;
- }
- /**
- *
- * @param email
- * The email
- */
- public void setEmail(List<String> email) {
- this.email = email;
- }
- /**
- *
- * @return
- * The password
- */
- public List<String> getPassword() {
- return password;
- }
- /**
- *
- * @param password
- * The password
- */
- public void setPassword(List<String> password) {
- this.password = password;
- }
- /**
- *
- * @return
- * The birthDate
- */
- public List<String> getBirthDate() {
- return birthDate;
- }
- /**
- *
- * @param birthDate
- * The birthDate
- */
- public void setBirthDate(List<String> birthDate) {
- this.birthDate = birthDate;
- }
- /**
- *
- * @return
- * The gender
- */
- public List<String> getGender() {
- return gender;
- }
- /**
- *
- * @param gender
- * The gender
- */
- public void setGender(List<String> gender) {
- this.gender = gender;
- }
- }
- -----------------------------------com.example.app.models.api.RegisterModel.java-----------------------------------
- package com.example.app.models.api;
- import javax.annotation.Generated;
- import com.google.gson.annotations.Expose;
- import com.google.gson.annotations.SerializedName;
- @Generated("org.jsonschema2pojo")
- public class RegisterModel {
- @SerializedName("status")
- @Expose
- private boolean status;
- @SerializedName("info")
- @Expose
- private Info info;
- /**
- *
- * @return
- * The status
- */
- public boolean isStatus() {
- return status;
- }
- /**
- *
- * @param status
- * The status
- */
- public void setStatus(boolean status) {
- this.status = status;
- }
- /**
- *
- * @return
- * The info
- */
- public Info getInfo() {
- return info;
- }
- /**
- *
- * @param info
- * The info
- */
- public void setInfo(Info info) {
- this.info = info;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement