Class DirectoryEntriesClient
- java.lang.Object
-
- com.chrt.api.resources.users.directoryentries.DirectoryEntriesClient
-
public class DirectoryEntriesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description DirectoryEntriesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcreateV1(DirectoryEntryClientCreate1 request)Creates a directory entry.java.lang.StringcreateV1(DirectoryEntryClientCreate1 request, RequestOptions requestOptions)Creates a directory entry.booleandeleteV1(java.lang.String directoryEntryId)Deletes directory entry owned by the caller's organization.booleandeleteV1(java.lang.String directoryEntryId, RequestOptions requestOptions)Deletes directory entry owned by the caller's organization.DirectoryEntry1getV1(java.lang.String directoryEntryId)Retrieves a specific directory entry by ID if authorized to access it.DirectoryEntry1getV1(java.lang.String directoryEntryId, RequestOptions requestOptions)Retrieves a specific directory entry by ID if authorized to access it.java.util.List<DirectoryEntry1>listV1()Lists all directory entries created by the caller's organization.java.util.List<DirectoryEntry1>listV1(RequestOptions requestOptions)Lists all directory entries created by the caller's organization.booleanupdateV1(java.lang.String directoryEntryId)Updates existing directory entry owned by the caller's organization.booleanupdateV1(java.lang.String directoryEntryId, DirectoryEntryClientUpdate1 request)Updates existing directory entry owned by the caller's organization.booleanupdateV1(java.lang.String directoryEntryId, DirectoryEntryClientUpdate1 request, RequestOptions requestOptions)Updates existing directory entry owned by the caller's organization.RawDirectoryEntriesClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
DirectoryEntriesClient
public DirectoryEntriesClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawDirectoryEntriesClient withRawResponse()
Get responses with HTTP metadata like headers
-
getV1
public DirectoryEntry1 getV1(java.lang.String directoryEntryId)
Retrieves a specific directory entry by ID if authorized to access it. | authz: min_org_role=operator | () -> (DirectoryEntry1)
-
getV1
public DirectoryEntry1 getV1(java.lang.String directoryEntryId, RequestOptions requestOptions)
Retrieves a specific directory entry by ID if authorized to access it. | authz: min_org_role=operator | () -> (DirectoryEntry1)
-
listV1
public java.util.List<DirectoryEntry1> listV1()
Lists all directory entries created by the caller's organization. | authz: min_org_role=operator | () -> (list[DirectoryEntry1])
-
listV1
public java.util.List<DirectoryEntry1> listV1(RequestOptions requestOptions)
Lists all directory entries created by the caller's organization. | authz: min_org_role=operator | () -> (list[DirectoryEntry1])
-
createV1
public java.lang.String createV1(DirectoryEntryClientCreate1 request)
Creates a directory entry. | (DirectoryEntryClientCreate1) -> (PydanticObjectId)
-
createV1
public java.lang.String createV1(DirectoryEntryClientCreate1 request, RequestOptions requestOptions)
Creates a directory entry. | (DirectoryEntryClientCreate1) -> (PydanticObjectId)
-
updateV1
public boolean updateV1(java.lang.String directoryEntryId)
Updates existing directory entry owned by the caller's organization. | (DirectoryEntryClientUpdate1) -> (bool)
-
updateV1
public boolean updateV1(java.lang.String directoryEntryId, DirectoryEntryClientUpdate1 request)Updates existing directory entry owned by the caller's organization. | (DirectoryEntryClientUpdate1) -> (bool)
-
updateV1
public boolean updateV1(java.lang.String directoryEntryId, DirectoryEntryClientUpdate1 request, RequestOptions requestOptions)Updates existing directory entry owned by the caller's organization. | (DirectoryEntryClientUpdate1) -> (bool)
-
deleteV1
public boolean deleteV1(java.lang.String directoryEntryId)
Deletes directory entry owned by the caller's organization. | authz: min_org_role=operator | () -> (bool)
-
deleteV1
public boolean deleteV1(java.lang.String directoryEntryId, RequestOptions requestOptions)Deletes directory entry owned by the caller's organization. | authz: min_org_role=operator | () -> (bool)
-
-