55import io .swagger .annotations .ApiModel ;
66import io .swagger .annotations .ApiModelProperty ;
77import java .util .ArrayList ;
8- import java .util .HashMap ;
98import java .util .List ;
10- import java .util .Map ;
119import org .wso2 .carbon .apimgt .rest .api .publisher .v1 .dto .EnvironmentDTO ;
1210import org .wso2 .carbon .apimgt .rest .api .publisher .v1 .dto .GatewayFeatureCatalogDTO ;
1311import org .wso2 .carbon .apimgt .rest .api .publisher .v1 .dto .MonetizationAttributeDTO ;
@@ -32,7 +30,6 @@ public class SettingsDTO {
3230 private String devportalUrl = null ;
3331 private List <EnvironmentDTO > environment = new ArrayList <EnvironmentDTO >();
3432 private List <String > gatewayTypes = new ArrayList <String >();
35- private Map <String , List <String >> supportedGatewayModes = new HashMap <String , List <String >>();
3633 private GatewayFeatureCatalogDTO gatewayFeatureCatalog = null ;
3734 private List <String > scopes = new ArrayList <String >();
3835 private List <MonetizationAttributeDTO > monetizationAttributes = new ArrayList <MonetizationAttributeDTO >();
@@ -108,24 +105,6 @@ public void setGatewayTypes(List<String> gatewayTypes) {
108105 this .gatewayTypes = gatewayTypes ;
109106 }
110107
111- /**
112- **/
113- public SettingsDTO supportedGatewayModes (Map <String , List <String >> supportedGatewayModes ) {
114- this .supportedGatewayModes = supportedGatewayModes ;
115- return this ;
116- }
117-
118-
119- @ ApiModelProperty (value = "" )
120- @ Valid
121- @ JsonProperty ("supportedGatewayModes" )
122- public Map <String , List <String >> getSupportedGatewayModes () {
123- return supportedGatewayModes ;
124- }
125- public void setSupportedGatewayModes (Map <String , List <String >> supportedGatewayModes ) {
126- this .supportedGatewayModes = supportedGatewayModes ;
127- }
128-
129108 /**
130109 **/
131110 public SettingsDTO gatewayFeatureCatalog (GatewayFeatureCatalogDTO gatewayFeatureCatalog ) {
@@ -515,7 +494,6 @@ public boolean equals(java.lang.Object o) {
515494 return Objects .equals (devportalUrl , settings .devportalUrl ) &&
516495 Objects .equals (environment , settings .environment ) &&
517496 Objects .equals (gatewayTypes , settings .gatewayTypes ) &&
518- Objects .equals (supportedGatewayModes , settings .supportedGatewayModes ) &&
519497 Objects .equals (gatewayFeatureCatalog , settings .gatewayFeatureCatalog ) &&
520498 Objects .equals (scopes , settings .scopes ) &&
521499 Objects .equals (monetizationAttributes , settings .monetizationAttributes ) &&
@@ -541,7 +519,7 @@ public boolean equals(java.lang.Object o) {
541519
542520 @ Override
543521 public int hashCode () {
544- return Objects .hash (devportalUrl , environment , gatewayTypes , supportedGatewayModes , gatewayFeatureCatalog , scopes , monetizationAttributes , subscriberContactAttributes , securityAuditProperties , externalStoresEnabled , docVisibilityEnabled , portalConfigurationOnlyModeEnabled , retryCallWithNewOAuthTokenEnabled , crossTenantSubscriptionEnabled , defaultAdvancePolicy , defaultSubscriptionPolicy , authorizationHeader , isJWTEnabledForLoginTokens , orgAccessControlEnabled , allowSubscriptionValidationDisabling , designAssistantEnabled , aiAuthTokenProvided , isGatewayNotificationEnabled , isMCPSupportEnabled , customProperties );
522+ return Objects .hash (devportalUrl , environment , gatewayTypes , gatewayFeatureCatalog , scopes , monetizationAttributes , subscriberContactAttributes , securityAuditProperties , externalStoresEnabled , docVisibilityEnabled , portalConfigurationOnlyModeEnabled , retryCallWithNewOAuthTokenEnabled , crossTenantSubscriptionEnabled , defaultAdvancePolicy , defaultSubscriptionPolicy , authorizationHeader , isJWTEnabledForLoginTokens , orgAccessControlEnabled , allowSubscriptionValidationDisabling , designAssistantEnabled , aiAuthTokenProvided , isGatewayNotificationEnabled , isMCPSupportEnabled , customProperties );
545523 }
546524
547525 @ Override
@@ -552,7 +530,6 @@ public String toString() {
552530 sb .append (" devportalUrl: " ).append (toIndentedString (devportalUrl )).append ("\n " );
553531 sb .append (" environment: " ).append (toIndentedString (environment )).append ("\n " );
554532 sb .append (" gatewayTypes: " ).append (toIndentedString (gatewayTypes )).append ("\n " );
555- sb .append (" supportedGatewayModes: " ).append (toIndentedString (supportedGatewayModes )).append ("\n " );
556533 sb .append (" gatewayFeatureCatalog: " ).append (toIndentedString (gatewayFeatureCatalog )).append ("\n " );
557534 sb .append (" scopes: " ).append (toIndentedString (scopes )).append ("\n " );
558535 sb .append (" monetizationAttributes: " ).append (toIndentedString (monetizationAttributes )).append ("\n " );
0 commit comments