Class VersionImpl

  • All Implemented Interfaces:
    com.jfrog.bintray.client.api.model.Version

    public class VersionImpl
    extends Object
    implements com.jfrog.bintray.client.api.model.Version
    • Constructor Detail

      • VersionImpl

        public VersionImpl()
      • VersionImpl

        public VersionImpl​(com.jfrog.bintray.client.api.details.VersionDetails versionDetails)
      • VersionImpl

        public VersionImpl​(String name,
                           String description,
                           String pkg,
                           String repository,
                           String owner,
                           List<String> labels,
                           List<String> attributeNames,
                           org.joda.time.DateTime created,
                           org.joda.time.DateTime updated,
                           org.joda.time.DateTime released,
                           int ordinal,
                           String vcsTag)
    • Method Detail

      • getCreateUpdateJson

        public static String getCreateUpdateJson​(com.jfrog.bintray.client.api.details.VersionDetails versionDetails)
                                          throws IOException
        Throws:
        IOException
      • name

        public String name()
        Specified by:
        name in interface com.jfrog.bintray.client.api.model.Version
      • description

        public String description()
        Specified by:
        description in interface com.jfrog.bintray.client.api.model.Version
      • pkg

        public String pkg()
        Specified by:
        pkg in interface com.jfrog.bintray.client.api.model.Version
      • repository

        public String repository()
        Specified by:
        repository in interface com.jfrog.bintray.client.api.model.Version
      • owner

        public String owner()
        Specified by:
        owner in interface com.jfrog.bintray.client.api.model.Version
      • labels

        public List<String> labels()
        Specified by:
        labels in interface com.jfrog.bintray.client.api.model.Version
      • attributeNames

        public List<String> attributeNames()
        Specified by:
        attributeNames in interface com.jfrog.bintray.client.api.model.Version
      • created

        public org.joda.time.DateTime created()
        Specified by:
        created in interface com.jfrog.bintray.client.api.model.Version
      • updated

        public org.joda.time.DateTime updated()
        Specified by:
        updated in interface com.jfrog.bintray.client.api.model.Version
      • released

        public org.joda.time.DateTime released()
        Specified by:
        released in interface com.jfrog.bintray.client.api.model.Version
      • ordinal

        public Integer ordinal()
        Specified by:
        ordinal in interface com.jfrog.bintray.client.api.model.Version
      • vcsTag

        public String vcsTag()
        Specified by:
        vcsTag in interface com.jfrog.bintray.client.api.model.Version
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object