Package uk.co.ractf.polaris.api.common
Class JsonRepresentable
- java.lang.Object
-
- uk.co.ractf.polaris.api.common.JsonRepresentable
-
- Direct Known Subclasses:
Allocation
,AndromedaAuthentication
,AndromedaChallenge
,AndromedaInstance
,AndromedaInstanceRequest
,AndromedaResources
,APIToken
,ContainerRegistryCredentials
,CredentialsDeleteResponse
,CredentialsSubmitResponse
,CredentialsUpdateResponse
,HealthCheck
,Instance
,InstancePortBinding
,InstanceRequest
,InstanceResponse
,Namespace
,NamespaceCreateResponse
,NamespaceDeleteResponse
,NamespaceUpdateResponse
,NodeInfo
,Notification
,NotificationReceiver
,NotificationReceiverCreateResponse
,NotificationReceiverDeleteResponse
,NotificationReceiverUpdateResponse
,Pod
,PortAllocations
,PortMapping
,RandomEnv
,Replication
,ResourceQuota
,Task
,TaskDeleteResponse
,TaskSubmitResponse
,TaskUpdateResponse
,TcpPayload
public abstract class JsonRepresentable extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description JsonRepresentable()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T extends JsonRepresentable>
Tparse(java.lang.String json, java.lang.Class<T> clazz)
java.lang.String
toJsonString()
-
-
-
Method Detail
-
parse
public static <T extends JsonRepresentable> T parse(java.lang.String json, java.lang.Class<T> clazz) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
toJsonString
public java.lang.String toJsonString()
-
-