com.app55.message.ScheduleGetRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of app55-java Show documentation
Show all versions of app55-java Show documentation
App55 client library for the Java platform.
The newest version!
package com.app55.message;
import org.codehaus.jackson.annotate.JsonIgnore;
import com.app55.domain.Schedule;
import com.app55.domain.User;
public class ScheduleGetRequest extends Request
{
private Schedule schedule;
private User user;
public ScheduleGetRequest()
{
super(ScheduleGetResponse.class);
}
public ScheduleGetRequest(User user, Schedule schedule)
{
this();
this.user = user;
this.schedule = schedule;
}
@Override
@JsonIgnore
public String getHttpEndpoint()
{
return getGateway().getEnvironment().getBaseUrl() + "/schedule/" + schedule.getId();
}
public Schedule getSchedule()
{
return schedule;
}
public void setSchedule(Schedule schedule)
{
this.schedule = schedule;
}
public User getUser()
{
return user;
}
public void setUser(User user)
{
this.user = user;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy