Class RevisionDTO

java.lang.Object
org.apache.nifi.api.toolkit.model.RevisionDTO

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]") public class RevisionDTO extends Object
RevisionDTO
  • Field Details

    • clientId

      private String clientId
    • version

      private Long version
    • lastModifier

      private String lastModifier
  • Constructor Details

    • RevisionDTO

      public RevisionDTO()
  • Method Details

    • clientId

      public RevisionDTO clientId(String clientId)
    • getClientId

      public String getClientId()
      A client identifier used to make a request. By including a client identifier, the API can allow multiple requests without needing the current revision. Due to the asynchronous nature of requests/responses this was implemented to allow the client to make numerous requests without having to wait for the previous response to come back
      Returns:
      clientId
    • setClientId

      public void setClientId(String clientId)
    • version

      public RevisionDTO version(Long version)
    • getVersion

      public Long getVersion()
      NiFi employs an optimistic locking strategy where the client must include a revision in their request when performing an update. In a response to a mutable flow request, this field represents the updated base version.
      Returns:
      version
    • setVersion

      public void setVersion(Long version)
    • getLastModifier

      public String getLastModifier()
      The user that last modified the flow.
      Returns:
      lastModifier
    • 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
    • toIndentedString

      private String toIndentedString(Object o)
      Convert the given object to string with each line indented by 4 spaces (except the first line).