Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
juldrixx committed Jan 2, 2025
1 parent 12d7297 commit 753e21c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions pkg/nifi/model_parameter_context_update_request_dto.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,14 @@
*/
package nifi

import (
"time"
)

// The Update Request
type ParameterContextUpdateRequestDto struct {
// Whether or not the request is completed
Complete bool `json:"complete,omitempty"`
// The reason for the request failing, or null if the request has not failed
FailureReason string `json:"failureReason,omitempty"`
// The timestamp of when the request was last updated
LastUpdated time.Time `json:"lastUpdated,omitempty"`
LastUpdated string `json:"lastUpdated,omitempty"`
ParameterContext *ParameterContextDto `json:"parameterContext,omitempty"`
// A value between 0 and 100 (inclusive) indicating how close the request is to completion
PercentCompleted int32 `json:"percentCompleted,omitempty"`
Expand Down
6 changes: 1 addition & 5 deletions pkg/nifi/model_parameter_context_validation_request_dto.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
*/
package nifi

import (
"time"
)

// The Update Request
type ParameterContextValidationRequestDto struct {
// Whether or not the request is completed
Expand All @@ -21,7 +17,7 @@ type ParameterContextValidationRequestDto struct {
// The reason for the request failing, or null if the request has not failed
FailureReason string `json:"failureReason,omitempty"`
// The timestamp of when the request was last updated
LastUpdated time.Time `json:"lastUpdated,omitempty"`
LastUpdated string `json:"lastUpdated,omitempty"`
ParameterContext *ParameterContextDto `json:"parameterContext,omitempty"`
// A value between 0 and 100 (inclusive) indicating how close the request is to completion
PercentCompleted int32 `json:"percentCompleted,omitempty"`
Expand Down

0 comments on commit 753e21c

Please sign in to comment.