Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify integration tests adding the newly introduced 'policyType' field in OperationPolicyDTO #13614

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17932,33 +17932,39 @@ components:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
response:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
fault:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
monetization:
Expand Down Expand Up @@ -20612,33 +20618,39 @@ components:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
response:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
fault:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
verb: POST
Expand Down Expand Up @@ -21141,33 +21153,39 @@ components:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
response:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
fault:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
verb: POST
Expand All @@ -21186,33 +21204,39 @@ components:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
response:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
fault:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
verb: POST
Expand Down Expand Up @@ -22058,6 +22082,7 @@ components:
policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
properties:
Expand All @@ -22066,6 +22091,8 @@ components:
policyVersion:
default: v1
type: string
policyType:
type: string
policyId:
type: string
parameters:
Expand All @@ -22082,33 +22109,39 @@ components:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
response:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
fault:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
properties:
Expand Down Expand Up @@ -22917,33 +22950,39 @@ components:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
response:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
fault:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
verb: POST
Expand All @@ -22962,33 +23001,39 @@ components:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
response:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
fault:
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
- policyVersion: v1
policyId: policyId
policyName: policyName
policyType: policyType
parameters:
key: '{}'
verb: POST
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**policyName** | **String** | |
**policyVersion** | **String** | | [optional]
**policyType** | **String** | | [optional]
**policyId** | **String** | | [optional]
**parameters** | **Map<String, Object>** | | [optional]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ public class OperationPolicyDTO {
@SerializedName(SERIALIZED_NAME_POLICY_VERSION)
private String policyVersion = "v1";

public static final String SERIALIZED_NAME_POLICY_TYPE = "policyType";
@SerializedName(SERIALIZED_NAME_POLICY_TYPE)
private String policyType;

public static final String SERIALIZED_NAME_POLICY_ID = "policyId";
@SerializedName(SERIALIZED_NAME_POLICY_ID)
private String policyId;
Expand Down Expand Up @@ -94,6 +98,29 @@ public void setPolicyVersion(String policyVersion) {
}


public OperationPolicyDTO policyType(String policyType) {

this.policyType = policyType;
return this;
}

/**
* Get policyType
* @return policyType
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")

public String getPolicyType() {
return policyType;
}


public void setPolicyType(String policyType) {
this.policyType = policyType;
}


public OperationPolicyDTO policyId(String policyId) {

this.policyId = policyId;
Expand Down Expand Up @@ -151,13 +178,14 @@ public boolean equals(Object o) {
OperationPolicyDTO operationPolicy = (OperationPolicyDTO) o;
return Objects.equals(this.policyName, operationPolicy.policyName) &&
Objects.equals(this.policyVersion, operationPolicy.policyVersion) &&
Objects.equals(this.policyType, operationPolicy.policyType) &&
Objects.equals(this.policyId, operationPolicy.policyId) &&
Objects.equals(this.parameters, operationPolicy.parameters);
}

@Override
public int hashCode() {
return Objects.hash(policyName, policyVersion, policyId, parameters);
return Objects.hash(policyName, policyVersion, policyType, policyId, parameters);
}


Expand All @@ -167,6 +195,7 @@ public String toString() {
sb.append("class OperationPolicyDTO {\n");
sb.append(" policyName: ").append(toIndentedString(policyName)).append("\n");
sb.append(" policyVersion: ").append(toIndentedString(policyVersion)).append("\n");
sb.append(" policyType: ").append(toIndentedString(policyType)).append("\n");
sb.append(" policyId: ").append(toIndentedString(policyId)).append("\n");
sb.append(" parameters: ").append(toIndentedString(parameters)).append("\n");
sb.append("}");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12739,6 +12739,8 @@ components:
policyVersion:
type: string
default: v1
policyType:
type: string
policyId:
type: string
parameters:
Expand Down
Loading
Loading