Class MicroserviceMetadataRepresentation
- java.lang.Object
-
- com.cumulocity.rest.representation.BaseResourceRepresentation
-
- com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
- com.cumulocity.microservice.subscription.model.MicroserviceMetadataRepresentation
-
- All Implemented Interfaces:
com.cumulocity.rest.representation.ResourceRepresentation
,org.svenson.DynamicProperties
public class MicroserviceMetadataRepresentation extends com.cumulocity.rest.representation.AbstractExtensibleRepresentation
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder
-
Field Summary
Fields Modifier and Type Field Description static String
EXTENSIONS_FIELD_NAME
-
Constructor Summary
Constructors Constructor Description MicroserviceMetadataRepresentation()
MicroserviceMetadataRepresentation(List<String> requiredRoles, List<String> roles, String url, List<com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation> extensions)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
List<com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation>
getExtensions()
List<String>
getRequiredRoles()
List<String>
getRoles()
String
getUrl()
int
hashCode()
static MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder
microserviceMetadataRepresentation()
void
setExtensions(List<com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation> extensions)
void
setRequiredRoles(List<String> requiredRoles)
void
setRoles(List<String> roles)
void
setUrl(String url)
String
toString()
-
Methods inherited from class com.cumulocity.rest.representation.AbstractExtensibleRepresentation
get, get, getAttrs, getProperty, hasProperty, propertyNames, removeProperty, set, set, set, setAttrs, setProperty
-
-
-
-
Field Detail
-
EXTENSIONS_FIELD_NAME
public static final String EXTENSIONS_FIELD_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MicroserviceMetadataRepresentation
@ConstructorProperties({"requiredRoles","roles","url","extensions"}) public MicroserviceMetadataRepresentation(List<String> requiredRoles, List<String> roles, String url, List<com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation> extensions)
-
MicroserviceMetadataRepresentation
public MicroserviceMetadataRepresentation()
-
-
Method Detail
-
microserviceMetadataRepresentation
public static MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder microserviceMetadataRepresentation()
-
getUrl
@JSONProperty(ignoreIfNull=true) public String getUrl()
-
getExtensions
@JSONProperty(ignoreIfNull=true) public List<com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation> getExtensions()
-
setUrl
public void setUrl(String url)
-
setExtensions
public void setExtensions(List<com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation> extensions)
-
toString
public String toString()
- Overrides:
toString
in classcom.cumulocity.rest.representation.BaseResourceRepresentation
-
canEqual
protected boolean canEqual(Object other)
-
-