Class ObjectStageCreation


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class ObjectStageCreation
    extends Object
    ObjectStageCreation
    • Constructor Detail

      • ObjectStageCreation

        public ObjectStageCreation()
    • Method Detail

      • getPhysicalAddress

        @Nonnull
        public String getPhysicalAddress()
        Get physicalAddress
        Returns:
        physicalAddress
      • setPhysicalAddress

        public void setPhysicalAddress​(String physicalAddress)
      • getChecksum

        @Nonnull
        public String getChecksum()
        Get checksum
        Returns:
        checksum
      • setChecksum

        public void setChecksum​(String checksum)
      • getSizeBytes

        @Nonnull
        public Long getSizeBytes()
        Get sizeBytes
        Returns:
        sizeBytes
      • setSizeBytes

        public void setSizeBytes​(Long sizeBytes)
      • getMtime

        @Nullable
        public Long getMtime()
        Unix Epoch in seconds
        Returns:
        mtime
      • setMtime

        public void setMtime​(Long mtime)
      • setMetadata

        public void setMetadata​(Map<String,​String> metadata)
      • getContentType

        @Nullable
        public String getContentType()
        Object media type
        Returns:
        contentType
      • setContentType

        public void setContentType​(String contentType)
      • setForce

        public void setForce​(Boolean force)
      • putAdditionalProperty

        public ObjectStageCreation putAdditionalProperty​(String key,
                                                         Object value)
        Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
        Parameters:
        key - name of the property
        value - value of the property
        Returns:
        the ObjectStageCreation instance itself
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
        Return the additional (undeclared) property.
        Returns:
        a map of objects
      • getAdditionalProperty

        public Object getAdditionalProperty​(String key)
        Return the additional (undeclared) property with the specified name.
        Parameters:
        key - name of the property
        Returns:
        an object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • validateJsonElement

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to ObjectStageCreation
      • fromJson

        public static ObjectStageCreation fromJson​(String jsonString)
                                            throws IOException
        Create an instance of ObjectStageCreation given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of ObjectStageCreation
        Throws:
        IOException - if the JSON string is invalid with respect to ObjectStageCreation
      • toJson

        public String toJson()
        Convert an instance of ObjectStageCreation to an JSON string
        Returns:
        JSON string