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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApplicationRepresentation(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 newApplicationRepresentationinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetId()getKey()getName()getOwner()Deprecated.Deprecated.Deprecated.getRoles()getType()getUrl()inthashCode()voidsetActiveVersionId(String activeVersionId) voidsetApplicationVersions(List<ApplicationVersionRepresentation> applicationVersions) voidsetAvailability(String availability) voidsetContextPath(String contextPath) voidsetExternalUrl(String externalUrl) voidvoidvoidsetManifest(ManifestRepresentation manifest) voidvoidvoidsetRequiredRoles(List<String> requiredRoles) Roles that are required for microservice in order to make requests to platform instance.voidsetResourcesPassword(String resourcesPassword) Deprecated.voidsetResourcesUrl(String resourcesUrl) Deprecated.voidsetResourcesUsername(String resourcesUsername) Deprecated.voidRoles that are required for users in order to make requests to microservice instance;voidvoidtoString()Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setPropertyMethods 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) Creates a newApplicationRepresentationinstance.- 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
-
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:
toStringin classBaseResourceRepresentation
-