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 Summary
Constructors Constructor Description CFObject()
-
Method Summary
Modifier and Type Method Description String
toString()
Format the object in JSON style with nulls included, for debugging purposes.String
toStringPretty()
Pretty formats the object in JSON style with nulls included, for debugging purposes.
-
Constructor Details
-
CFObject
public CFObject()
-
-
Method Details
-
toString
Format the object in JSON style with nulls included, for debugging purposes. -
toStringPretty
Pretty formats the object in JSON style with nulls included, for debugging purposes.- Returns:
- The object pretty-formatted in JSON style.
-