Newer
Older
NemophilaClient / app / src / main / java / com / example / nemophila / entities / AccountJson.java
m-mifune on 15 Jun 2023 653 bytes PostJsonの編集
  1. package com.example.nemophila.entities;
  2.  
  3. public class AccountJson {
  4. private int postsCount;
  5. private String name;
  6. private String id;
  7. private String token;
  8.  
  9. //Getter
  10. public int getPostsCount() {
  11. return postsCount;
  12. }
  13. public String getId() {return id;}
  14. public String getName() {return name;}
  15. public String getToken() {return token;}
  16.  
  17. //Setter
  18. public void setPostsCount(int postsCount) {
  19. this.postsCount = postsCount;
  20. }
  21. public void setName(String name) {this.name = name;}
  22. public void setId(String id) {this.id = id;}
  23. public void setToken(String token) {this.token = token;}
  24.  
  25. }