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
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static enum
-
Field Summary
-
Constructor Summary
ConstructorDescriptionApplicationRepresentation
(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
Modifier and TypeMethodDescriptionprotected boolean
boolean
getId()
getKey()
getName()
getOwner()
Deprecated.Deprecated.Deprecated.getRoles()
getType()
getUrl()
int
hashCode()
void
setActiveVersionId
(String activeVersionId) void
setApplicationVersions
(List<ApplicationVersionRepresentation> applicationVersions) void
setAvailability
(String availability) void
setContextPath
(String contextPath) void
setExternalUrl
(String externalUrl) void
void
void
setManifest
(ManifestRepresentation manifest) void
void
void
setRequiredRoles
(List<String> requiredRoles) Roles that are required for microservice in order to make requests to platform instance.void
setResourcesPassword
(String resourcesPassword) Deprecated.void
setResourcesUrl
(String resourcesUrl) Deprecated.void
setResourcesUsername
(String resourcesUsername) Deprecated.void
Roles that are required for users in order to make requests to microservice instance;void
void
toString()
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 Details
-
MICROSERVICE
- See Also:
-
-
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)
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getKey
-
setKey
-
getType
-
setType
-
getAvailability
-
setAvailability
-
getOwner
-
setOwner
-
getContextPath
-
setContextPath
-
getResourcesUrl
Deprecated. -
setResourcesUrl
Deprecated. -
getResourcesUsername
Deprecated. -
setResourcesUsername
Deprecated. -
getResourcesPassword
Deprecated. -
setResourcesPassword
Deprecated. -
getExternalUrl
-
setExternalUrl
-
getManifest
-
setManifest
-
getActiveVersionId
-
setActiveVersionId
-
getRequiredRoles
-
getRoles
-
getApplicationVersions
@JSONProperty(ignoreIfNull=true) @JSONTypeHint(ApplicationVersionRepresentation.class) public List<ApplicationVersionRepresentation> getApplicationVersions() -
getUrl
-
applicationRepresentation
public static ApplicationRepresentation.ApplicationRepresentationBuilder applicationRepresentation() -
setRequiredRoles
Roles that are required for microservice in order to make requests to platform instance. -
setRoles
Roles that are required for users in order to make requests to microservice instance; -
setApplicationVersions
-
setUrl
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
- Overrides:
toString
in classBaseResourceRepresentation
-