-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmodel_revision_dto.go
20 lines (19 loc) · 1.03 KB
/
model_revision_dto.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
* Apache NiFi REST API
*
* REST API definition for Apache NiFi web services
*
* API version: 2.1.0
* Contact: [email protected]
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package nifi
// The revision of the Process Group
type RevisionDto struct {
// 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
ClientId string `json:"clientId,omitempty"`
// The user that last modified the flow.
LastModifier string `json:"lastModifier,omitempty"`
// 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.
Version *int64 `json:"version,omitempty"`
}