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

com.spotinst.sdkjava.model.ISpotAdminOrganizationRepo Maven / Gradle / Ivy

There is a newer version: 1.0.121
Show newest version
package com.spotinst.sdkjava.model;

import com.spotinst.sdkjava.model.bl.admin.organization.*;

import java.util.List;

public interface ISpotAdminOrganizationRepo extends IRepository {
    RepoGenericResponse createUser(User userRequest, Boolean shouldGenerateToken, String authToken);

    RepoGenericResponse> getUsers(String authToken);

    RepoGenericResponse getUserDetails(String userId, String authToken);

    RepoGenericResponse updateUserGroupMappingOfUser(String userId, List userGroupIds, String authToken);

    RepoGenericResponse deleteUser(String userId, String authToken);

    RepoGenericResponse updatePolicyMappingOfUser(String userId, UpdatePoliciesRequest updateRequest,
                                                          String authToken);

    RepoGenericResponse createUserGroup(UserGroup createRequest, String authToken);

    RepoGenericResponse> getUserGroups(String authToken);

    RepoGenericResponse getUserGroupDetails(String groupId, String authToken);

    RepoGenericResponse updateUserGroupDetails(String groupId, String name, String description,
                                                        String authToken);

    RepoGenericResponse deleteUserGroup(String groupId, String authToken);

    RepoGenericResponse updateUserMappingOfUserGroup(String groupId, List userIds, String authToken);

    RepoGenericResponse updatePolicyMappingOfUserGroup(String groupId,
                                                               UpdatePoliciesRequest apiUpdateRequest,
                                                               String authToken);

    RepoGenericResponse> getAccountUserMapping(String userEmail, String authToken);

    RepoGenericResponse createProgrammaticUser(ProgrammaticUser createRequest, String authToken) ;

    RepoGenericResponse createOrganization(CreateOrganization createRequest, String authToken);

    RepoGenericResponse deleteOrganization(String organizationId, String authToken);

    RepoGenericResponse createAccessPolicy(Policy createRequest, String authToken);

    RepoGenericResponse updateAccessPolicy(String policyId, Policy createRequest, String authToken);

    RepoGenericResponse> getAllAccessPolicies(String authToken);

    RepoGenericResponse deleteAccessPolicy(String policyId, String authToken);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy