Add toString methods

master
Stuart Boston 12 years ago
parent 00bdfaf6a7
commit a57e7eeb37

@ -20,6 +20,8 @@
package com.omertron.themoviedbapi.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
public class TokenAuthorisation {
@ -60,4 +62,9 @@ public class TokenAuthorisation {
this.success = success;
}
// </editor-fold>
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}

@ -20,6 +20,8 @@
package com.omertron.themoviedbapi.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
public class TokenSession {
@ -90,4 +92,9 @@ public class TokenSession {
this.expiresAt = expiresAt;
}
// </editor-fold>
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
}

Loading…
Cancel
Save