Class CFObject

java.lang.Object
com.github.rami_sabbagh.codeforces.api.objects.CFObject
Direct Known Subclasses:
BlogEntry, Comment, Contest, ContestStandings, Hack, Hack.JudgeProtocol, Member, Party, Problem, ProblemResult, ProblemSet, ProblemStatistics, RanklistRow, RatingChange, RecentAction, Submission, User

public abstract class CFObject
extends Object
Represents a Codeforces API object.
  • Constructor Details

  • Method Details

    • toString

      public String toString()
      Format the object in JSON style with nulls included, for debugging purposes.
      Overrides:
      toString in class Object
      Returns:
      The object formatted in JSON style.
    • toStringPretty

      public String toStringPretty()
      Pretty formats the object in JSON style with nulls included, for debugging purposes.
      Returns:
      The object pretty-formatted in JSON style.