Untitled
unknown
plain_text
2 years ago
1.4 kB
8
Indexable
package com.example.managerstaff.models.responses;
import com.example.managerstaff.models.Calendar;
import com.example.managerstaff.models.Post;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
import javax.annotation.Generated;
@Generated("jsonschema2pojo")
public class ListCalendarResponse {
@SerializedName("data")
@Expose
private List<Calendar> listCalendars;
@SerializedName("message")
@Expose
private String message;
@SerializedName("code")
@Expose
private int code;
public ListCalendarResponse() {
}
public ListCalendarResponse(List<Calendar> listCalendars, String message, int code) {
this.listCalendars = listCalendars;
this.message = message;
this.code = code;
}
public List<Calendar> getListCalendars() {
return listCalendars;
}
public void setListCalendars(List<Calendar> listCalendars) {
this.listCalendars = listCalendars;
}
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
public int getCode() {
return code;
}
public void setCode(int code) {
this.code = code;
}
}
Editor is loading...