Skip to content

Commit dfc3e9c

Browse files
issue-1168 added missing Domains property for
_UpdateOrganizationQuotaDefinitionRequest
1 parent 2d2230f commit dfc3e9c

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/organizationquotadefinitions/OrganizationQuotaDefinitionsV3.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
public interface OrganizationQuotaDefinitionsV3 {
2525

2626
/**
27-
* Makes the <a href="https://v3-apidocs.cloudfoundry.org/version/3.200.0/index.html#create-organization-quota-definition">Create Organization Quota Definition</a>
27+
* Makes the <a href="https://v3-apidocs.cloudfoundry.org/version/3.200.0/index.html#create-an-organization-quota">Create Organization Quota Definition</a>
2828
* request
2929
*
3030
* @param request the Create Organization Quota Definition request
@@ -34,7 +34,7 @@ Mono<CreateOrganizationQuotaDefinitionResponse> create(
3434
CreateOrganizationQuotaDefinitionRequest request);
3535

3636
/**
37-
* Makes the <a href="https://v3-apidocs.cloudfoundry.org/version/3.200.0/index.html#get-organization-quota-definition">Get Organization Quota Definition</a>
37+
* Makes the <a href="https://v3-apidocs.cloudfoundry.org/version/3.200.0/index.html#get-an-organization-quota">Get Organization Quota Definition</a>
3838
* request
3939
*
4040
* @param request the Get Organization Quota Definition request
@@ -52,7 +52,7 @@ Mono<CreateOrganizationQuotaDefinitionResponse> create(
5252
Mono<ListOrganizationQuotaDefinitionsResponse> list(
5353
ListOrganizationQuotaDefinitionsRequest request);
5454

55-
/** Makes the <a href="https://v3-apidocs.cloudfoundry.org/version/3.200.0/index.html#update-organization-quota-definition">Update Organization Quota Definition</a>
55+
/** Makes the <a href="https://v3-apidocs.cloudfoundry.org/version/3.200.0/index.html#update-an-organization-quota">Update Organization Quota Definition</a>
5656
* request
5757
*
5858
* @param request the Update Organization Quota Definition request
@@ -62,7 +62,7 @@ Mono<UpdateOrganizationQuotaDefinitionResponse> update(
6262
UpdateOrganizationQuotaDefinitionRequest request);
6363

6464
/**
65-
* Makes the <a href="https://v3-apidocs.cloudfoundry.org/version/3.200.0/index.html#delete-organization-quota-definition">Delete Organization Quota Definition</a>
65+
* Makes the <a href="https://v3-apidocs.cloudfoundry.org/version/3.200.0/index.html#delete-an-organization-quota">Delete Organization Quota Definition</a>
6666
* request
6767
*
6868
* @param request the Delete Organization Quota Definition request

cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/organizationquotadefinitions/_UpdateOrganizationQuotaDefinitionRequest.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,11 @@ abstract class _UpdateOrganizationQuotaDefinitionRequest {
6262
@JsonProperty("routes")
6363
@Nullable
6464
abstract Routes getRoutes();
65+
66+
/**
67+
* Quotas that affect domains
68+
*/
69+
@JsonProperty("domains")
70+
@Nullable
71+
abstract Domains getDomains();
6572
}

cloudfoundry-client/src/test/java/org/cloudfoundry/client/v3/organizationquotadefinitions/UpdateOrganizationQuotaDefinitionRequestTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
final class UpdateOrganizationQuotaDefinitionRequestTest {
2424

2525
@Test
26-
void noOrganizationId() {
26+
void noOrganizationQuotaDefinitionId() {
2727
assertThrows(
2828
IllegalStateException.class,
2929
() -> UpdateOrganizationQuotaDefinitionRequest.builder().build());

0 commit comments

Comments
 (0)