Skip to content

Commit

Permalink
Rename DiscoverableGroup to DiscoverableGroupModel
Browse files Browse the repository at this point in the history
  • Loading branch information
pavinduLakshan committed Jan 6, 2025
1 parent 66c0438 commit ae44059
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
import org.wso2.carbon.identity.api.server.application.management.v1.AdditionalSpProperty;
import org.wso2.carbon.identity.api.server.application.management.v1.AdvancedApplicationConfigurationAttestationMetaData;
import org.wso2.carbon.identity.api.server.application.management.v1.Certificate;
import org.wso2.carbon.identity.api.server.application.management.v1.DiscoverableGroup;
import org.wso2.carbon.identity.api.server.application.management.v1.DiscoverableGroupModel;
import org.wso2.carbon.identity.api.server.application.management.v1.TrustedAppConfiguration;
import javax.validation.constraints.*;

Expand All @@ -41,7 +41,7 @@ public class AdvancedApplicationConfiguration {

private Boolean saas;
private Boolean discoverableByEndUsers;
private List<DiscoverableGroup> discoverableGroups = null;
private List<DiscoverableGroupModel> discoverableGroups = null;

private Certificate certificate;
private Boolean skipLoginConsent;
Expand Down Expand Up @@ -95,7 +95,7 @@ public void setDiscoverableByEndUsers(Boolean discoverableByEndUsers) {

/**
**/
public AdvancedApplicationConfiguration discoverableGroups(List<DiscoverableGroup> discoverableGroups) {
public AdvancedApplicationConfiguration discoverableGroups(List<DiscoverableGroupModel> discoverableGroups) {

this.discoverableGroups = discoverableGroups;
return this;
Expand All @@ -104,14 +104,14 @@ public AdvancedApplicationConfiguration discoverableGroups(List<DiscoverableGrou
@ApiModelProperty(value = "")
@JsonProperty("discoverableGroups")
@Valid
public List<DiscoverableGroup> getDiscoverableGroups() {
public List<DiscoverableGroupModel> getDiscoverableGroups() {
return discoverableGroups;
}
public void setDiscoverableGroups(List<DiscoverableGroup> discoverableGroups) {
public void setDiscoverableGroups(List<DiscoverableGroupModel> discoverableGroups) {
this.discoverableGroups = discoverableGroups;
}

public AdvancedApplicationConfiguration addDiscoverableGroupsItem(DiscoverableGroup discoverableGroupsItem) {
public AdvancedApplicationConfiguration addDiscoverableGroupsItem(DiscoverableGroupModel discoverableGroupsItem) {
if (this.discoverableGroups == null) {
this.discoverableGroups = new ArrayList<>();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3115,7 +3115,7 @@ components:
discoverableGroups:
type: array
items:
$ref: '#/components/schemas/DiscoverableGroup'
$ref: '#/components/schemas/DiscoverableGroupModel'
certificate:
$ref: '#/components/schemas/Certificate'
skipLoginConsent:
Expand Down Expand Up @@ -3227,7 +3227,7 @@ components:
description: >-
Certificate value. If type is JWKS, value should be jwks URL. If
type is PEM, value should be the certificate in PEM format.
DiscoverableGroup:
DiscoverableGroupModel:
type: object
properties:
userStore:
Expand Down

0 comments on commit ae44059

Please sign in to comment.