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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
A client identifier used to make a request.The user that last modified the flow.NiFi employs an optimistic locking strategy where the client must include a revision in their request when performing an update.int
hashCode()
void
setClientId
(String clientId) void
setVersion
(Long version) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
-
Field Details
-
clientId
-
version
-
lastModifier
-
-
Constructor Details
-
RevisionDTO
public RevisionDTO()
-
-
Method Details
-
clientId
-
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
-
version
-
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
-
getLastModifier
The user that last modified the flow.- Returns:
- lastModifier
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-