Class ApplicationRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.rest.representation.application.ApplicationRepresentation
-
- All Implemented Interfaces:
ResourceRepresentation
,org.svenson.DynamicProperties
public class ApplicationRepresentation extends AbstractExtensibleRepresentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ApplicationRepresentation.ApplicationRepresentationBuilder
static class
ApplicationRepresentation.Type
-
Field Summary
Fields Modifier and Type Field Description static String
MICROSERVICE
-
Constructor Summary
Constructors Constructor Description ApplicationRepresentation()
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)
-
Method Summary
-
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
-
Methods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON
-
-
-
-
Field Detail
-
MICROSERVICE
public static final String MICROSERVICE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
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)
-
-
Method Detail
-
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)
-
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)
-
canEqual
protected boolean canEqual(Object other)
-
toString
public String toString()
- Overrides:
toString
in classBaseResourceRepresentation
-
-