Class NameAndUuid

java.lang.Object
io.cloudreactor.tasksymphony.model.NameAndUuid

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class NameAndUuid extends Object
Identifies an entity in three ways: 1. UUID; 2. Name; and 3. URL. When used to indentify an entity in a request method body, only one of uuid and name needs to be specified. If both are present, they must refer to the same entity or else the response will be a 400 error.
  • Field Details

  • Constructor Details

    • NameAndUuid

      public NameAndUuid()
  • Method Details

    • uuid

      public NameAndUuid uuid(UUID uuid)
    • getUuid

      @Nullable public UUID getUuid()
      Get uuid
      Returns:
      uuid
    • setUuid

      public void setUuid(UUID uuid)
    • getUrl

      @Nullable public String getUrl()
      Get url
      Returns:
      url
    • name

      public NameAndUuid name(String name)
    • getName

      @Nullable public String getName()
      Get name
      Returns:
      name
    • setName

      public void setName(String name)
    • equals

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

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

      public String toString()
      Overrides:
      toString in class Object