Class StagingLocation


  • @Generated("org.openapitools.codegen.languages.JavaClientCodegen")
    public class StagingLocation
    extends Object
    location for placing an object when staging it
    • Constructor Detail

      • StagingLocation

        public StagingLocation()
    • Method Detail

      • getPhysicalAddress

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

        public void setPhysicalAddress​(String physicalAddress)
      • getPresignedUrl

        @Nullable
        public String getPresignedUrl()
        if presign=true is passed in the request, this field will contain a pre-signed URL to use when uploading
        Returns:
        presignedUrl
      • setPresignedUrl

        public void setPresignedUrl​(String presignedUrl)
      • getPresignedUrlExpiry

        @Nullable
        public Long getPresignedUrlExpiry()
        If present and nonzero, physical_address is a pre-signed URL and will expire at this Unix Epoch time. This will be shorter than the pre-signed URL lifetime if an authentication token is about to expire. This field is *optional*.
        Returns:
        presignedUrlExpiry
      • setPresignedUrlExpiry

        public void setPresignedUrlExpiry​(Long presignedUrlExpiry)
      • putAdditionalProperty

        public StagingLocation 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 StagingLocation 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 StagingLocation
      • fromJson

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

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