Class ApplicationRepresentation

All Implemented Interfaces:
ResourceRepresentation, org.svenson.DynamicProperties

public class ApplicationRepresentation extends AbstractExtensibleRepresentation
  • Field Details

  • Constructor Details

    • ApplicationRepresentation

      public ApplicationRepresentation()
    • ApplicationRepresentation

      public ApplicationRepresentation(String id, String name, String key, String type, String availability, TenantReferenceRepresentation owner, String contextPath, String resourcesUrl, String resourcesUsername, String resourcesPassword, String externalUrl, ManifestRepresentation manifest, String activeVersionId, List<String> requiredRoles, List<String> roles, List<ApplicationVersionRepresentation> applicationVersions, String url)
      Creates a new ApplicationRepresentation instance.
      Parameters:
      id -
      name -
      key -
      type -
      availability -
      owner -
      contextPath -
      resourcesUrl -
      resourcesUsername -
      resourcesPassword -
      externalUrl -
      manifest -
      activeVersionId -
      requiredRoles - Roles that are required for microservice in order to make requests to platform instance.
      roles - Roles that are required for users in order to make requests to microservice instance;
      applicationVersions -
      url -
  • Method Details

    • getId

      public String getId()
    • setId

      public void setId(String id)
    • getName

      @JSONProperty(ignoreIfNull=true) public String getName()
    • setName

      public void setName(String name)
    • getKey

      @JSONProperty(ignoreIfNull=true) public String getKey()
    • setKey

      public void setKey(String key)
    • getType

      @JSONProperty(ignoreIfNull=true) public String getType()
    • setType

      public void setType(String type)
    • getAvailability

      @JSONProperty(ignoreIfNull=true) public String getAvailability()
    • setAvailability

      public void setAvailability(String availability)
    • getOwner

      @JSONProperty(ignoreIfNull=true) public TenantReferenceRepresentation getOwner()
    • setOwner

      public void setOwner(TenantReferenceRepresentation owner)
    • getContextPath

      @JSONProperty(ignoreIfNull=true) public String getContextPath()
    • setContextPath

      public void setContextPath(String contextPath)
    • getResourcesUrl

      @Deprecated @JSONProperty(ignoreIfNull=true) public String getResourcesUrl()
      Deprecated.
    • setResourcesUrl

      @Deprecated public void setResourcesUrl(String resourcesUrl)
      Deprecated.
    • getResourcesUsername

      @Deprecated @JSONProperty(ignoreIfNull=true) public String getResourcesUsername()
      Deprecated.
    • setResourcesUsername

      @Deprecated public void setResourcesUsername(String resourcesUsername)
      Deprecated.
    • getResourcesPassword

      @Deprecated @JSONProperty(ignoreIfNull=true) public String getResourcesPassword()
      Deprecated.
    • setResourcesPassword

      @Deprecated public void setResourcesPassword(String resourcesPassword)
      Deprecated.
    • getExternalUrl

      @JSONProperty(ignoreIfNull=true) public String getExternalUrl()
    • setExternalUrl

      public void setExternalUrl(String externalUrl)
    • getManifest

      @JSONProperty(ignoreIfNull=true) public ManifestRepresentation getManifest()
    • setManifest

      public void setManifest(ManifestRepresentation manifest)
    • getActiveVersionId

      @JSONProperty(ignoreIfNull=true) public String getActiveVersionId()
    • setActiveVersionId

      public void setActiveVersionId(String activeVersionId)
    • getRequiredRoles

      @JSONProperty(ignoreIfNull=true) public List<String> getRequiredRoles()
    • getRoles

      @JSONProperty(ignoreIfNull=true) public List<String> getRoles()
    • getApplicationVersions

      @JSONProperty(ignoreIfNull=true) @JSONTypeHint(ApplicationVersionRepresentation.class) public List<ApplicationVersionRepresentation> getApplicationVersions()
    • getUrl

      @JSONProperty(ignoreIfNull=true) public String getUrl()
    • applicationRepresentation

      public static ApplicationRepresentation.ApplicationRepresentationBuilder applicationRepresentation()
    • setRequiredRoles

      public void setRequiredRoles(List<String> requiredRoles)
      Roles that are required for microservice in order to make requests to platform instance.
    • setRoles

      public void setRoles(List<String> roles)
      Roles that are required for users in order to make requests to microservice instance;
    • setApplicationVersions

      public void setApplicationVersions(List<ApplicationVersionRepresentation> applicationVersions)
    • setUrl

      public void setUrl(String url)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class BaseResourceRepresentation