Class CloudcraftObject

java.lang.Object
co.cloudcraft.model.CloudcraftObject
Direct Known Subclasses:
AwsAccount, AwsAccountCollection, AwsAccountRequest, BlueprintCollection, BlueprintData, BlueprintMetadata, BlueprintRequest, ErrorResponse, IAMParameters, User

public abstract class CloudcraftObject extends Object
Base class for all data models.
  • Field Details

    • serialVersionUID

      protected static final long serialVersionUID
      See Also:
    • eTag

      protected String eTag
    • PRETTY_PRINT_GSON

      public static final com.google.gson.Gson PRETTY_PRINT_GSON
    • GSON

      public static final com.google.gson.Gson GSON
  • Constructor Details

    • CloudcraftObject

      public CloudcraftObject()
  • Method Details

    • prettyPrint

      public String prettyPrint()
    • toJson

      public String toJson()
    • convertDateStringToInstant

      protected Long convertDateStringToInstant(String dateAsString)
    • setETag

      public void setETag(String eTag)
    • getETag

      public String getETag()