Class IDResponse
- java.lang.Object
-
- com.github.gpluscb.ggjava.entity.AbstractGGEntity
-
- com.github.gpluscb.ggjava.entity.object.AbstractGGObject
-
- com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject
-
- com.github.gpluscb.ggjava.entity.object.response.scalars.ScalarResponse<java.lang.String>
-
- com.github.gpluscb.ggjava.entity.object.response.scalars.IDResponse
-
- All Implemented Interfaces:
GGEntity
,GGObject
,GGResponseObject
,GGID
,Scalar<java.lang.String>
public class IDResponse extends ScalarResponse<java.lang.String> implements GGID
TheID
scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as"4"
) or integer (such as4
) input value will be accepted as an ID.
-
-
Constructor Summary
Constructors Constructor Description IDResponse()
IDResponse(java.lang.String value)
-
Method Summary
-
Methods inherited from class com.github.gpluscb.ggjava.entity.object.response.scalars.ScalarResponse
getValue
-
Methods inherited from class com.github.gpluscb.ggjava.entity.object.response.AbstractGGResponseObject
checkProvided, isProvided
-
Methods inherited from class com.github.gpluscb.ggjava.entity.AbstractGGEntity
getGGEntityType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.gpluscb.ggjava.entity.GGEntity
getGGEntityType
-
Methods inherited from interface com.github.gpluscb.ggjava.entity.object.scalars.GGID
getValueLong
-
-