Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
1.4 kB
2
Indexable
Never
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;
    }
}