All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.cloudfoundry.client.v2.organizations.Organizations Maven / Gradle / Ivy

/*
 * Copyright 2013-2021 the original author or authors.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.cloudfoundry.client.v2.organizations;

import reactor.core.publisher.Mono;

/**
 * Main entry point to the Cloud Foundry Organizations Client API
 */
public interface Organizations {

    /**
     * Makes the Associate Auditor with the Organization request
     *
     * @param request the Associate Auditor request
     * @return the response from the Associate Auditor request
     */
    Mono associateAuditor(
            AssociateOrganizationAuditorRequest request);

    /**
     * Makes the Associate Auditor with the Organization by Username
     * request
     *
     * @param request the Associate Auditor with an Organization by Username request
     * @return the response from the Associate Auditor with an Organization by Username request
     */
    Mono associateAuditorByUsername(
            AssociateOrganizationAuditorByUsernameRequest request);

    /**
     * Makes the Associate Billing Manager with the Organization
     * request
     *
     * @param request the Associate Billing Manager with the Organization request
     * @return the response from the Associate Billing Manager with the Organization request
     */
    Mono associateBillingManager(
            AssociateOrganizationBillingManagerRequest request);

    /**
     * Makes the Associate Billing Manager with the Organization
     * by Username request
     *
     * @param request the Associate Billing Manager with the Organization by Username request
     * @return the response from the Associate Billing Manager with the Organization by Username request
     */
    Mono associateBillingManagerByUsername(
            AssociateOrganizationBillingManagerByUsernameRequest request);

    /**
     * Makes the Associate Manager with the Organization request
     *
     * @param request the Associate Manager with the Organization request
     * @return the response from the Associate Manager with the Organization request
     */
    Mono associateManager(
            AssociateOrganizationManagerRequest request);

    /**
     * Makes the Associate Manager with the Organization by Username
     * request
     *
     * @param request the Associate Manager with the Organization by Username request
     * @return the response from the Associate Manager with the Organization by Username request
     */
    Mono associateManagerByUsername(
            AssociateOrganizationManagerByUsernameRequest request);

    /**
     * Makes the Associate Private Domain with the Organization request
     *
     * @param request the Associate Private Domain with the Organization request
     * @return the response from the Associate Private Domain with the Organization request
     */
    Mono associatePrivateDomain(
            AssociateOrganizationPrivateDomainRequest request);

    /**
     * Makes the Associate User with the Organization request
     *
     * @param request the Associate User with the Organization request
     * @return the response from the Associate User with the Organization request
     */
    Mono associateUser(AssociateOrganizationUserRequest request);

    /**
     * Makes the Associate User with the Organization by Username
     * request
     *
     * @param request the Associate User with the Organization by Username request
     * @return the response from the Associate User with the Organization by Username request
     */
    Mono associateUserByUsername(
            AssociateOrganizationUserByUsernameRequest request);

    /**
     * Makes the Creating an Organization request
     *
     * @param request the Creating an Organization request
     * @return the response from the Creating an Organization request
     */
    Mono create(CreateOrganizationRequest request);

    /**
     * Makes the Delete a Particular Organization request
     *
     * @param request the Delete a Particular Organization request
     * @return the response from the Delete a Particular Organization request
     */
    Mono delete(DeleteOrganizationRequest request);

    /**
     * Makes the Retrieve a Particular Organization request
     *
     * @param request the Retrieve a Particular Organization request
     * @return the response from the Retrieve a Particular Organization request
     */
    Mono get(GetOrganizationRequest request);

    /**
     * Makes the Retrieving organization instance usage request
     *
     * @param request the Retrieving organization instance usage request
     * @return the response from the Retrieving organization instance usage request
     */
    Mono getInstanceUsage(
            GetOrganizationInstanceUsageRequest request);

    /**
     * Makes the Retrieving organization memory usage request
     *
     * @param request the Retrieving organization memory usage request
     * @return the response from the Retrieving organization memory usage request
     */
    Mono getMemoryUsage(
            GetOrganizationMemoryUsageRequest request);

    /**
     * Makes the Retrieving the roles of all Users in the
     * Organization request
     *
     * @param request the Retrieving the roles of all Users in the Organization request
     * @return the response from the Retrieving the roles of all Users in the Organization request
     */
    Mono getUserRoles(GetOrganizationUserRolesRequest request);

    /**
     * Makes the List Organizations request
     *
     * @param request the List Organizations request
     * @return the response from the List Organizations request
     */
    Mono list(ListOrganizationsRequest request);

    /**
     * Makes the List all Auditors for the Organization request
     *
     * @param request the List all Auditors for the Organization request
     * @return the response from the List all Auditors for the Organization request
     */
    Mono listAuditors(ListOrganizationAuditorsRequest request);

    /**
     * Makes the List all Billing Managers for the Organization request
     *
     * @param request the List all Billing Managers for the Organization request
     * @return the response from the List all Billing Managers for the Organization request
     */
    Mono listBillingManagers(
            ListOrganizationBillingManagersRequest request);

    /**
     * List all Domains for the Organization request
     *
     * @param request the List all Domains for the Organization request
     * @return the response from the List all Domains for the Organization request
     */
    @Deprecated
    Mono listDomains(ListOrganizationDomainsRequest request);

    /**
     * Makes the List all Managers for the Organization request
     *
     * @param request the List all Managers for the Organization request
     * @return the response from the List all Managers for the Organization request
     */
    Mono listManagers(ListOrganizationManagersRequest request);

    /**
     * List all Private Domains for the Organization request
     *
     * @param request the List all Private Domains for the Organization request
     * @return the response from the List all Private Domains for the Organization request
     */
    Mono listPrivateDomains(
            ListOrganizationPrivateDomainsRequest request);

    /**
     * Makes the List all Services for the Organization request
     *
     * @param request the List all Services for the Organization request
     * @return the response from the List all Services for the Organization request
     */
    Mono listServices(ListOrganizationServicesRequest request);

    /**
     * Makes the List all Space Quota Definitions for the
     * Organization request
     *
     * @param request the List all Space Quota Definitions for the Organization request
     * @return the response from the List all Space Quota Definitions for the Organization request
     */
    Mono listSpaceQuotaDefinitions(
            ListOrganizationSpaceQuotaDefinitionsRequest request);

    /**
     * Makes the List all Spaces for the Organization request
     *
     * @param request the List all Spaces for the Organization request
     * @return the response from the List all Spaces for the Organization request
     */
    Mono listSpaces(ListOrganizationSpacesRequest request);

    /**
     * Makes the List all Users for the Organization request
     *
     * @param request the List all Users for the Organization request
     * @return the response from the List all Users for the Organization request
     */
    Mono listUsers(ListOrganizationUsersRequest request);

    /**
     * Makes the Remove Auditor from the Organization request
     *
     * @param request the Remove Auditor from the Organization request
     * @return the response from the Remove Auditor from the Organization request
     */
    Mono removeAuditor(RemoveOrganizationAuditorRequest request);

    /**
     * Makes the Disassociate Auditor with the Organization by
     * Username request
     *
     * @param request the Remove Auditor with the Organization By Username request
     * @return the response from the Associate Billing Manager with the Organization request
     */
    Mono removeAuditorByUsername(RemoveOrganizationAuditorByUsernameRequest request);

    /**
     * Makes the Remove Billing Manager from the Organization request
     *
     * @param request the Remove Billing Manager from the Organization request
     * @return the response from the Remove Billing Manager from the Organization request
     */
    Mono removeBillingManager(RemoveOrganizationBillingManagerRequest request);

    /**
     * Makes the Disassociate Billing Manager with the
     * Organization by Username request
     *
     * @param request the Disassociate Billing Manager with the Organization by Username request
     * @return the response from the Disassociate Billing Manager with the Organization by Username request
     */
    Mono removeBillingManagerByUsername(
            RemoveOrganizationBillingManagerByUsernameRequest request);

    /**
     * Makes the Remove Manager from the Organization request
     *
     * @param request the Remove Manager from the Organization request
     * @return the response from the Remove Manager from the Organization request
     */
    Mono removeManager(RemoveOrganizationManagerRequest request);

    /**
     * Makes the Disassociate Manager with the Organization by
     * Username request
     *
     * @param request the Disassociate Manager with the Organization by Username request
     * @return the response from the Disassociate Manager with the Organization by Username request
     */
    Mono removeManagerByUsername(RemoveOrganizationManagerByUsernameRequest request);

    /**
     * Makes the Remove Private Domain from the Organization request
     *
     * @param request the Remove Private Domain from the Organization request
     * @return the response from the Remove Private Domain from the Organization request
     */
    Mono removePrivateDomain(RemoveOrganizationPrivateDomainRequest request);

    /**
     * Makes the Remove User from the Organization request
     *
     * @param request the Remove User from the Organization request
     * @return the response from the Remove User from the Organization request
     */
    Mono removeUser(RemoveOrganizationUserRequest request);

    /**
     * Makes the Disassociate User with the Organization by Username
     * request
     *
     * @param request the Disassociate User with the Organization by Username request
     * @return the response from the Disassociate User with the Organization by Username request
     */
    Mono removeUserByUsername(RemoveOrganizationUserByUsernameRequest request);

    /**
     * Makes the Get Organization summary request
     *
     * @param request the Organization summary request
     * @return the response from the Organization summary request
     */
    Mono summary(SummaryOrganizationRequest request);

    /**
     * Makes the Update an Organization request
     *
     * @param request the Update an Organization request
     * @return the response from the Update an Organization request
     */
    Mono update(UpdateOrganizationRequest request);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy