Skip to content

Commit

Permalink
Update all services (#1393)
Browse files Browse the repository at this point in the history
* false[adyen-sdk-automation] automated change

* Update ModificationResult.java

Removed underscore prefix for ResponseEnum attributes

---------

Co-authored-by: Djoyke Reijans <[email protected]>
  • Loading branch information
AdyenAutomationBot and DjoykeAbyah authored Nov 25, 2024
1 parent 17a9ab6 commit 2c4cc64
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
CreateSweepConfigurationV2.JSON_PROPERTY_DESCRIPTION,
CreateSweepConfigurationV2.JSON_PROPERTY_PRIORITIES,
CreateSweepConfigurationV2.JSON_PROPERTY_REASON,
CreateSweepConfigurationV2.JSON_PROPERTY_REASON_DETAIL,
CreateSweepConfigurationV2.JSON_PROPERTY_REFERENCE,
CreateSweepConfigurationV2.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY,
CreateSweepConfigurationV2.JSON_PROPERTY_SCHEDULE,
Expand Down Expand Up @@ -228,6 +229,9 @@ public static ReasonEnum fromValue(String value) {
public static final String JSON_PROPERTY_REASON = "reason";
private ReasonEnum reason;

public static final String JSON_PROPERTY_REASON_DETAIL = "reasonDetail";
private String reasonDetail;

public static final String JSON_PROPERTY_REFERENCE = "reference";
private String reference;

Expand Down Expand Up @@ -531,6 +535,39 @@ public void setReason(ReasonEnum reason) {
this.reason = reason;
}

/**
* The human readable reason for disabling the sweep.
*
* @param reasonDetail
* @return the current {@code CreateSweepConfigurationV2} instance, allowing for method chaining
*/
public CreateSweepConfigurationV2 reasonDetail(String reasonDetail) {
this.reasonDetail = reasonDetail;
return this;
}

/**
* The human readable reason for disabling the sweep.
* @return reasonDetail
*/
@ApiModelProperty(value = "The human readable reason for disabling the sweep.")
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getReasonDetail() {
return reasonDetail;
}

/**
* The human readable reason for disabling the sweep.
*
* @param reasonDetail
*/
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReasonDetail(String reasonDetail) {
this.reasonDetail = reasonDetail;
}

/**
* Your reference for the sweep configuration.
*
Expand Down Expand Up @@ -813,6 +850,7 @@ public boolean equals(Object o) {
Objects.equals(this.description, createSweepConfigurationV2.description) &&
Objects.equals(this.priorities, createSweepConfigurationV2.priorities) &&
Objects.equals(this.reason, createSweepConfigurationV2.reason) &&
Objects.equals(this.reasonDetail, createSweepConfigurationV2.reasonDetail) &&
Objects.equals(this.reference, createSweepConfigurationV2.reference) &&
Objects.equals(this.referenceForBeneficiary, createSweepConfigurationV2.referenceForBeneficiary) &&
Objects.equals(this.schedule, createSweepConfigurationV2.schedule) &&
Expand All @@ -825,7 +863,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(category, counterparty, currency, description, priorities, reason, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
return Objects.hash(category, counterparty, currency, description, priorities, reason, reasonDetail, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
}

@Override
Expand All @@ -838,6 +876,7 @@ public String toString() {
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" priorities: ").append(toIndentedString(priorities)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
sb.append(" reasonDetail: ").append(toIndentedString(reasonDetail)).append("\n");
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n");
sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
SweepConfigurationV2.JSON_PROPERTY_ID,
SweepConfigurationV2.JSON_PROPERTY_PRIORITIES,
SweepConfigurationV2.JSON_PROPERTY_REASON,
SweepConfigurationV2.JSON_PROPERTY_REASON_DETAIL,
SweepConfigurationV2.JSON_PROPERTY_REFERENCE,
SweepConfigurationV2.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY,
SweepConfigurationV2.JSON_PROPERTY_SCHEDULE,
Expand Down Expand Up @@ -232,6 +233,9 @@ public static ReasonEnum fromValue(String value) {
public static final String JSON_PROPERTY_REASON = "reason";
private ReasonEnum reason;

public static final String JSON_PROPERTY_REASON_DETAIL = "reasonDetail";
private String reasonDetail;

public static final String JSON_PROPERTY_REFERENCE = "reference";
private String reference;

Expand Down Expand Up @@ -568,6 +572,39 @@ public void setReason(ReasonEnum reason) {
this.reason = reason;
}

/**
* The human readable reason for disabling the sweep.
*
* @param reasonDetail
* @return the current {@code SweepConfigurationV2} instance, allowing for method chaining
*/
public SweepConfigurationV2 reasonDetail(String reasonDetail) {
this.reasonDetail = reasonDetail;
return this;
}

/**
* The human readable reason for disabling the sweep.
* @return reasonDetail
*/
@ApiModelProperty(value = "The human readable reason for disabling the sweep.")
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getReasonDetail() {
return reasonDetail;
}

/**
* The human readable reason for disabling the sweep.
*
* @param reasonDetail
*/
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReasonDetail(String reasonDetail) {
this.reasonDetail = reasonDetail;
}

/**
* Your reference for the sweep configuration.
*
Expand Down Expand Up @@ -851,6 +888,7 @@ public boolean equals(Object o) {
Objects.equals(this.id, sweepConfigurationV2.id) &&
Objects.equals(this.priorities, sweepConfigurationV2.priorities) &&
Objects.equals(this.reason, sweepConfigurationV2.reason) &&
Objects.equals(this.reasonDetail, sweepConfigurationV2.reasonDetail) &&
Objects.equals(this.reference, sweepConfigurationV2.reference) &&
Objects.equals(this.referenceForBeneficiary, sweepConfigurationV2.referenceForBeneficiary) &&
Objects.equals(this.schedule, sweepConfigurationV2.schedule) &&
Expand All @@ -863,7 +901,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reasonDetail, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
}

@Override
Expand All @@ -877,6 +915,7 @@ public String toString() {
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" priorities: ").append(toIndentedString(priorities)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
sb.append(" reasonDetail: ").append(toIndentedString(reasonDetail)).append("\n");
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n");
sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
UpdateSweepConfigurationV2.JSON_PROPERTY_ID,
UpdateSweepConfigurationV2.JSON_PROPERTY_PRIORITIES,
UpdateSweepConfigurationV2.JSON_PROPERTY_REASON,
UpdateSweepConfigurationV2.JSON_PROPERTY_REASON_DETAIL,
UpdateSweepConfigurationV2.JSON_PROPERTY_REFERENCE,
UpdateSweepConfigurationV2.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY,
UpdateSweepConfigurationV2.JSON_PROPERTY_SCHEDULE,
Expand Down Expand Up @@ -232,6 +233,9 @@ public static ReasonEnum fromValue(String value) {
public static final String JSON_PROPERTY_REASON = "reason";
private ReasonEnum reason;

public static final String JSON_PROPERTY_REASON_DETAIL = "reasonDetail";
private String reasonDetail;

public static final String JSON_PROPERTY_REFERENCE = "reference";
private String reference;

Expand Down Expand Up @@ -568,6 +572,39 @@ public void setReason(ReasonEnum reason) {
this.reason = reason;
}

/**
* The human readable reason for disabling the sweep.
*
* @param reasonDetail
* @return the current {@code UpdateSweepConfigurationV2} instance, allowing for method chaining
*/
public UpdateSweepConfigurationV2 reasonDetail(String reasonDetail) {
this.reasonDetail = reasonDetail;
return this;
}

/**
* The human readable reason for disabling the sweep.
* @return reasonDetail
*/
@ApiModelProperty(value = "The human readable reason for disabling the sweep.")
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getReasonDetail() {
return reasonDetail;
}

/**
* The human readable reason for disabling the sweep.
*
* @param reasonDetail
*/
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReasonDetail(String reasonDetail) {
this.reasonDetail = reasonDetail;
}

/**
* Your reference for the sweep configuration.
*
Expand Down Expand Up @@ -851,6 +888,7 @@ public boolean equals(Object o) {
Objects.equals(this.id, updateSweepConfigurationV2.id) &&
Objects.equals(this.priorities, updateSweepConfigurationV2.priorities) &&
Objects.equals(this.reason, updateSweepConfigurationV2.reason) &&
Objects.equals(this.reasonDetail, updateSweepConfigurationV2.reasonDetail) &&
Objects.equals(this.reference, updateSweepConfigurationV2.reference) &&
Objects.equals(this.referenceForBeneficiary, updateSweepConfigurationV2.referenceForBeneficiary) &&
Objects.equals(this.schedule, updateSweepConfigurationV2.schedule) &&
Expand All @@ -863,7 +901,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reasonDetail, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
}

@Override
Expand All @@ -877,6 +915,7 @@ public String toString() {
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" priorities: ").append(toIndentedString(priorities)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
sb.append(" reasonDetail: ").append(toIndentedString(reasonDetail)).append("\n");
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n");
sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
SweepConfigurationV2.JSON_PROPERTY_ID,
SweepConfigurationV2.JSON_PROPERTY_PRIORITIES,
SweepConfigurationV2.JSON_PROPERTY_REASON,
SweepConfigurationV2.JSON_PROPERTY_REASON_DETAIL,
SweepConfigurationV2.JSON_PROPERTY_REFERENCE,
SweepConfigurationV2.JSON_PROPERTY_REFERENCE_FOR_BENEFICIARY,
SweepConfigurationV2.JSON_PROPERTY_SCHEDULE,
Expand Down Expand Up @@ -232,6 +233,9 @@ public static ReasonEnum fromValue(String value) {
public static final String JSON_PROPERTY_REASON = "reason";
private ReasonEnum reason;

public static final String JSON_PROPERTY_REASON_DETAIL = "reasonDetail";
private String reasonDetail;

public static final String JSON_PROPERTY_REFERENCE = "reference";
private String reference;

Expand Down Expand Up @@ -568,6 +572,39 @@ public void setReason(ReasonEnum reason) {
this.reason = reason;
}

/**
* The human readable reason for disabling the sweep.
*
* @param reasonDetail
* @return the current {@code SweepConfigurationV2} instance, allowing for method chaining
*/
public SweepConfigurationV2 reasonDetail(String reasonDetail) {
this.reasonDetail = reasonDetail;
return this;
}

/**
* The human readable reason for disabling the sweep.
* @return reasonDetail
*/
@ApiModelProperty(value = "The human readable reason for disabling the sweep.")
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getReasonDetail() {
return reasonDetail;
}

/**
* The human readable reason for disabling the sweep.
*
* @param reasonDetail
*/
@JsonProperty(JSON_PROPERTY_REASON_DETAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReasonDetail(String reasonDetail) {
this.reasonDetail = reasonDetail;
}

/**
* Your reference for the sweep configuration.
*
Expand Down Expand Up @@ -851,6 +888,7 @@ public boolean equals(Object o) {
Objects.equals(this.id, sweepConfigurationV2.id) &&
Objects.equals(this.priorities, sweepConfigurationV2.priorities) &&
Objects.equals(this.reason, sweepConfigurationV2.reason) &&
Objects.equals(this.reasonDetail, sweepConfigurationV2.reasonDetail) &&
Objects.equals(this.reference, sweepConfigurationV2.reference) &&
Objects.equals(this.referenceForBeneficiary, sweepConfigurationV2.referenceForBeneficiary) &&
Objects.equals(this.schedule, sweepConfigurationV2.schedule) &&
Expand All @@ -863,7 +901,7 @@ public boolean equals(Object o) {

@Override
public int hashCode() {
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
return Objects.hash(category, counterparty, currency, description, id, priorities, reason, reasonDetail, reference, referenceForBeneficiary, schedule, status, sweepAmount, targetAmount, triggerAmount, type);
}

@Override
Expand All @@ -877,6 +915,7 @@ public String toString() {
sb.append(" id: ").append(toIndentedString(id)).append("\n");
sb.append(" priorities: ").append(toIndentedString(priorities)).append("\n");
sb.append(" reason: ").append(toIndentedString(reason)).append("\n");
sb.append(" reasonDetail: ").append(toIndentedString(reasonDetail)).append("\n");
sb.append(" reference: ").append(toIndentedString(reference)).append("\n");
sb.append(" referenceForBeneficiary: ").append(toIndentedString(referenceForBeneficiary)).append("\n");
sb.append(" schedule: ").append(toIndentedString(schedule)).append("\n");
Expand Down

0 comments on commit 2c4cc64

Please sign in to comment.