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
  • Field Details

  • Constructor Details

    • 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 Details

    • microserviceMetadataRepresentation

      public static MicroserviceMetadataRepresentation.MicroserviceMetadataRepresentationBuilder microserviceMetadataRepresentation()
    • getRequiredRoles

      @JSONProperty(ignoreIfNull=true) public List<String> getRequiredRoles()
    • getUrl

      @JSONProperty(ignoreIfNull=true) public String getUrl()
    • getRoles

      @JSONProperty(ignoreIfNull=true) public List<String> getRoles()
    • getExtensions

      @JSONProperty(ignoreIfNull=true) public List<com.cumulocity.rest.representation.application.microservice.ExtensionRepresentation> getExtensions()
    • setRequiredRoles

      public void setRequiredRoles(List<String> requiredRoles)
    • setRoles

      public void setRoles(List<String> roles)
    • 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 class com.cumulocity.rest.representation.BaseResourceRepresentation
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • canEqual

      protected boolean canEqual(Object other)