Class AsyncRawOrgProfilesClient
- java.lang.Object
-
- com.chrt.api.resources.orgs.orgprofiles.AsyncRawOrgProfilesClient
-
public class AsyncRawOrgProfilesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description AsyncRawOrgProfilesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>createProviderV1(ProviderOrgProfileClientCreate1 request)Creates a new provider organization profile.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>createProviderV1(ProviderOrgProfileClientCreate1 request, RequestOptions requestOptions)Creates a new provider organization profile.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>getAvatarV1(java.lang.String handle)Returns the organization avatar image URL from WorkOS or a placeholder if not found.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>>getAvatarV1(java.lang.String handle, RequestOptions requestOptions)Returns the organization avatar image URL from WorkOS or a placeholder if not found.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ProviderOrgProfile1>>getByHandleV1(java.lang.String handle)Retrieves a provider organization profile by handle for public profile viewing.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ProviderOrgProfile1>>getByHandleV1(java.lang.String handle, RequestOptions requestOptions)Retrieves a provider organization profile by handle for public profile viewing.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ProviderOrgProfile1>>getV1()Retrieves the provider organization profile for the caller's organization.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ProviderOrgProfile1>>getV1(RequestOptions requestOptions)Retrieves the provider organization profile for the caller's organization.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>updateProviderV1()Updates an existing provider organization profile.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>updateProviderV1(ProviderOrgProfileClientUpdate1 request)Updates an existing provider organization profile.java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>>updateProviderV1(ProviderOrgProfileClientUpdate1 request, RequestOptions requestOptions)Updates an existing provider organization profile.
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
AsyncRawOrgProfilesClient
public AsyncRawOrgProfilesClient(ClientOptions clientOptions)
-
-
Method Detail
-
getV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ProviderOrgProfile1>> getV1()
Retrieves the provider organization profile for the caller's organization. | () -> (ProviderOrgProfile1)
-
getV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ProviderOrgProfile1>> getV1(RequestOptions requestOptions)
Retrieves the provider organization profile for the caller's organization. | () -> (ProviderOrgProfile1)
-
createProviderV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createProviderV1(ProviderOrgProfileClientCreate1 request)
Creates a new provider organization profile. Fails if a profile already exists for the organization. | (ProviderOrgProfileClientCreate1) -> (PydanticObjectId)
-
createProviderV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> createProviderV1(ProviderOrgProfileClientCreate1 request, RequestOptions requestOptions)
Creates a new provider organization profile. Fails if a profile already exists for the organization. | (ProviderOrgProfileClientCreate1) -> (PydanticObjectId)
-
updateProviderV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> updateProviderV1()
Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
-
updateProviderV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> updateProviderV1(ProviderOrgProfileClientUpdate1 request)
Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
-
updateProviderV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.Boolean>> updateProviderV1(ProviderOrgProfileClientUpdate1 request, RequestOptions requestOptions)
Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
-
getByHandleV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ProviderOrgProfile1>> getByHandleV1(java.lang.String handle)
Retrieves a provider organization profile by handle for public profile viewing. | () -> (ProviderOrgProfile1)
-
getByHandleV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<ProviderOrgProfile1>> getByHandleV1(java.lang.String handle, RequestOptions requestOptions)
Retrieves a provider organization profile by handle for public profile viewing. | () -> (ProviderOrgProfile1)
-
getAvatarV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> getAvatarV1(java.lang.String handle)
Returns the organization avatar image URL from WorkOS or a placeholder if not found. | () -> (str)
-
getAvatarV1
public java.util.concurrent.CompletableFuture<ChrtApiHttpResponse<java.lang.String>> getAvatarV1(java.lang.String handle, RequestOptions requestOptions)
Returns the organization avatar image URL from WorkOS or a placeholder if not found. | () -> (str)
-
-