Skip to content

Commit

Permalink
add missing resource instances api
Browse files Browse the repository at this point in the history
  • Loading branch information
asafc committed Jun 26, 2023
1 parent 53d69c2 commit 5dd5e05
Showing 1 changed file with 23 additions and 17 deletions.
40 changes: 23 additions & 17 deletions src/main/java/io/permit/sdk/api/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,21 @@ public class ApiClient implements IDeprecatedApis {
*/
public final ResourceAttributesApi resourceAttributes;

/**
* The {@code ResourceRolesApi} instance for accessing Resource Roles.
*/
public final ResourceRolesApi resourceRoles;

/**
* The {@code ResourceRelationsApi} instance for accessing Resource Relations.
*/
public final ResourceRelationsApi resourceRelations;

/**
* The {@code ResourceInstancesApi} instance for accessing Resource Instances.
*/
public final ResourceInstancesApi resourceInstances;

/**
* The {@code RolesApi} instance for accessing role related API endpoints.
*/
Expand All @@ -89,30 +104,20 @@ public class ApiClient implements IDeprecatedApis {
*/
public final RoleAssignmentsApi roleAssignments;

/**
* The {@code ConditionSetRulesApi} instance for accessing condition set rules related API endpoints.
*/
public final ConditionSetRulesApi conditionSetRules;

/**
* The {@code ElementsApi} instance for accessing Permit Elements related API endpoints.
*/
public final ElementsApi elements;

/**
* The {@code RelationshipTuplesApi} instance for accessing Relationship Tuples.
*/
public final RelationshipTuplesApi relationshipTuples;

/**
* The {@code ResourceRolesApi} instance for accessing Resource Roles.
* The {@code ConditionSetRulesApi} instance for accessing condition set rules related API endpoints.
*/
public final ResourceRolesApi resourceRoles;
public final ConditionSetRulesApi conditionSetRules;

/**
* The {@code ResourceRelationsApi} instance for accessing Resource Relations.
* The {@code ElementsApi} instance for accessing Permit Elements related API endpoints.
*/
public final ResourceRelationsApi resourceRelations;
public final ElementsApi elements;


/**
Expand All @@ -132,16 +137,17 @@ public ApiClient(PermitConfig config) {
this.resourceActions = new ResourceActionsApi(this.client, this.config);
this.resourceActionGroups = new ResourceActionGroupsApi(this.client, this.config);
this.resourceAttributes = new ResourceAttributesApi(this.client, this.config);
this.resourceRoles = new ResourceRolesApi(this.client, this.config);
this.resourceRelations = new ResourceRelationsApi(this.client, this.config);
this.resourceInstances = new ResourceInstancesApi(this.client, this.config);
this.roles = new RolesApi(this.client, this.config);
this.conditionSets = new ConditionSetsApi(this.client, this.config);
this.tenants = new TenantsApi(this.client, this.config);
this.users = new UsersApi(this.client, this.config);
this.roleAssignments = new RoleAssignmentsApi(this.client, this.config);
this.relationshipTuples = new RelationshipTuplesApi(this.client, this.config);
this.conditionSetRules = new ConditionSetRulesApi(this.client, this.config);
this.elements = new ElementsApi(this.client, this.config);
this.relationshipTuples = new RelationshipTuplesApi(this.client, this.config);
this.resourceRoles = new ResourceRolesApi(this.client, this.config);
this.resourceRelations = new ResourceRelationsApi(this.client, this.config);
}

/**
Expand Down

0 comments on commit 5dd5e05

Please sign in to comment.