Class AssetVersion

    • Method Detail

      • fromJson

        public static AssetVersion fromJson​(String json,
                                            com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON String into a AssetVersion object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON String
        objectMapper - Jackson ObjectMapper
        Returns:
        AssetVersion object represented by the provided JSON
      • fromJson

        public static AssetVersion fromJson​(InputStream json,
                                            com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Converts a JSON InputStream into a AssetVersion object using the provided ObjectMapper.
        Parameters:
        json - Raw JSON InputStream
        objectMapper - Jackson ObjectMapper
        Returns:
        AssetVersion object represented by the provided JSON
      • getSid

        public final String getSid()
      • getAccountSid

        public final String getAccountSid()
      • getServiceSid

        public final String getServiceSid()
      • getAssetSid

        public final String getAssetSid()
      • getPath

        public final String getPath()
      • getUrl

        public final URI getUrl()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object