public class ClusterModelAssembler
extends java.lang.Object
implements org.springframework.hateoas.server.RepresentationModelAssembler<com.netflix.genie.common.dto.Cluster,org.springframework.hateoas.EntityModel<com.netflix.genie.common.dto.Cluster>>
| Constructor and Description |
|---|
ClusterModelAssembler() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.hateoas.EntityModel<com.netflix.genie.common.dto.Cluster> |
toModel(com.netflix.genie.common.dto.Cluster cluster) |
@Nonnull public org.springframework.hateoas.EntityModel<com.netflix.genie.common.dto.Cluster> toModel(com.netflix.genie.common.dto.Cluster cluster)
toModel in interface org.springframework.hateoas.server.RepresentationModelAssembler<com.netflix.genie.common.dto.Cluster,org.springframework.hateoas.EntityModel<com.netflix.genie.common.dto.Cluster>>