Skip to content

Commit 1307ad4

Browse files
Renamed Invited to Invitable.
1 parent 84184c0 commit 1307ad4

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/java/com/robinpowered/sdk/model/Event.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,11 @@ public static class Booking {
275275
private final DateTime startedAt;
276276
private final DateTime endedAt;
277277
private final boolean isAllDay;
278-
private final List<Invited> invitees;
278+
private final List<Invitable> invitees;
279279

280280
public Booking(String ownerRef, String title, String description,
281281
DateTime startedAt, DateTime endedAt, boolean isAllDay,
282-
List<Invited> invitees) {
282+
List<Invitable> invitees) {
283283

284284
this.ownerRef = ownerRef;
285285
this.title = title;

src/main/java/com/robinpowered/sdk/model/Invited.java renamed to src/main/java/com/robinpowered/sdk/model/Invitable.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
/**
44
* Interface for models that are invited to an {@link Event}.
55
*/
6-
public interface Invited {
6+
public interface Invitable {
77
}

src/main/java/com/robinpowered/sdk/model/Invitee.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* @todo This class needs further design once APIs are fully realized.
1212
*/
13-
public class Invitee implements IdentifiableApiResponseModel, Invited {
13+
public class Invitee implements IdentifiableApiResponseModel, Invitable {
1414

1515
/**
1616
* Constants
@@ -223,7 +223,7 @@ public String getMimeType() {
223223
/**
224224
* Used to invite others to an {@link Event} or {@link Event.Booking} and to become and {@link Invitee}.
225225
*/
226-
public static class Invitation implements Invited {
226+
public static class Invitation implements Invitable {
227227

228228
private final String email;
229229

0 commit comments

Comments
 (0)