@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } IssuesLink other = (IssuesLink) obj; return eq(count, other.count) && eq(updated, other.updated); }
/** * Returns whether it has the count. * * @return whether it has the count */ public boolean hasCount() { return getCount() != null; }
/** * Returns whether it has the updated. * * @return whether it has the updated */ public boolean hasUpdated() { return getUpdated() != null; }
/** * Immutable constructor. * * @param count count. * @param updated updated. */ public IssuesLink(Integer count, String href, Long length, Rel rel, String title, String type, DateTime updated) { super(); setCount(count); setUpdated(updated); setImmutable(true); }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(ProjectsFeed.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(ProjectsFeed.class, IssuesLink.getDefaultDescription(true, true)); }
/** * Sets the updated. * * @param updated updated or <code>null</code> to reset */ public void setUpdated(DateTime updated) { throwExceptionIfImmutable(); this.updated = updated; }
/** * Immutable constructor. * * @param count count. * @param updated updated. */ public IssuesLink(Integer count, String href, Long length, Rel rel, String title, String type, DateTime updated) { super(); setCount(count); setUpdated(updated); setImmutable(true); }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(IssuesFeed.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(IssuesFeed.class, IssuesLink.getDefaultDescription(true, true)); }
/** * Sets the count. * * @param count count or <code>null</code> to reset */ public void setCount(Integer count) { throwExceptionIfImmutable(); this.count = count; }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(IssueCommentsFeed.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(IssueCommentsFeed.class, IssuesLink.getDefaultDescription(true, true)); }
@Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!sameClassAs(obj)) { return false; } IssuesLink other = (IssuesLink) obj; return eq(count, other.count) && eq(updated, other.updated); }
/** * Sets the count. * * @param count count or <code>null</code> to reset */ public void setCount(Integer count) { throwExceptionIfImmutable(); this.count = count; }
/** * Returns whether it has the count. * * @return whether it has the count */ public boolean hasCount() { return getCount() != null; }
/** * Returns whether it has the updated. * * @return whether it has the updated */ public boolean hasUpdated() { return getUpdated() != null; }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(IssuesFeed.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(IssuesFeed.class, IssuesLink.getDefaultDescription(true, true)); }
/** * Sets the updated. * * @param updated updated or <code>null</code> to reset */ public void setUpdated(DateTime updated) { throwExceptionIfImmutable(); this.updated = updated; }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(IssueCommentsFeed.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(IssueCommentsFeed.class, IssuesLink.getDefaultDescription(true, true)); }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(IssueCommentsEntry.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(IssueCommentsEntry.class, IssuesLink.getDefaultDescription(false, true)); extProfile.declare(IssueCommentsEntry.class, SendEmail.class); extProfile.declare(IssueCommentsEntry.class, Updates.class); new Updates().declareExtensions(extProfile); }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(IssuesEntry.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(IssuesEntry.class, Cc.getDefaultDescription(false, true)); new Cc().declareExtensions(extProfile); extProfile.declare(IssuesEntry.class, Id.class); extProfile.declare(IssuesEntry.class, Label.getDefaultDescription(false, true)); extProfile.declare(IssuesEntry.class, IssuesLink.getDefaultDescription(false, true)); extProfile.declare(IssuesEntry.class, Owner.class); new Owner().declareExtensions(extProfile); extProfile.declare(IssuesEntry.class, SendEmail.class); extProfile.declare(IssuesEntry.class, Stars.class); extProfile.declare(IssuesEntry.class, State.class); extProfile.declare(IssuesEntry.class, Status.class); }
@Override public void declareExtensions(ExtensionProfile extProfile) { if (extProfile.isDeclared(IssuesEntry.class)) { return; } super.declareExtensions(extProfile); extProfile.declare(IssuesEntry.class, BlockedOn.getDefaultDescription(false, true)); new BlockedOn().declareExtensions(extProfile); extProfile.declare(IssuesEntry.class, Blocking.getDefaultDescription(false, true)); new Blocking().declareExtensions(extProfile); extProfile.declare(IssuesEntry.class, Cc.getDefaultDescription(false, true)); new Cc().declareExtensions(extProfile); extProfile.declare(IssuesEntry.class, ClosedDate.class); extProfile.declare(IssuesEntry.class, Id.class); extProfile.declare(IssuesEntry.class, Label.getDefaultDescription(false, true)); extProfile.declare(IssuesEntry.class, IssuesLink.getDefaultDescription(false, true)); extProfile.declare(IssuesEntry.class, MergedInto.class); new MergedInto().declareExtensions(extProfile); extProfile.declare(IssuesEntry.class, Owner.class); new Owner().declareExtensions(extProfile); extProfile.declare(IssuesEntry.class, SendEmail.class); extProfile.declare(IssuesEntry.class, Stars.class); extProfile.declare(IssuesEntry.class, State.class); extProfile.declare(IssuesEntry.class, Status.class); }