Class OrgProfilesClient
- java.lang.Object
-
- com.chrt.api.resources.orgs.orgprofiles.OrgProfilesClient
-
public class OrgProfilesClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description OrgProfilesClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcreateProviderV1(ProviderOrgProfileClientCreate1 request)Creates a new provider organization profile.java.lang.StringcreateProviderV1(ProviderOrgProfileClientCreate1 request, RequestOptions requestOptions)Creates a new provider organization profile.java.lang.StringgetAvatarV1(java.lang.String handle)Returns the organization avatar image URL from WorkOS or a placeholder if not found.java.lang.StringgetAvatarV1(java.lang.String handle, RequestOptions requestOptions)Returns the organization avatar image URL from WorkOS or a placeholder if not found.ProviderOrgProfile1getByHandleV1(java.lang.String handle)Retrieves a provider organization profile by handle for public profile viewing.ProviderOrgProfile1getByHandleV1(java.lang.String handle, RequestOptions requestOptions)Retrieves a provider organization profile by handle for public profile viewing.ProviderOrgProfile1getV1()Retrieves the provider organization profile for the caller's organization.ProviderOrgProfile1getV1(RequestOptions requestOptions)Retrieves the provider organization profile for the caller's organization.booleanupdateProviderV1()Updates an existing provider organization profile.booleanupdateProviderV1(ProviderOrgProfileClientUpdate1 request)Updates an existing provider organization profile.booleanupdateProviderV1(ProviderOrgProfileClientUpdate1 request, RequestOptions requestOptions)Updates an existing provider organization profile.RawOrgProfilesClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
OrgProfilesClient
public OrgProfilesClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawOrgProfilesClient withRawResponse()
Get responses with HTTP metadata like headers
-
getV1
public ProviderOrgProfile1 getV1()
Retrieves the provider organization profile for the caller's organization. | () -> (ProviderOrgProfile1)
-
getV1
public ProviderOrgProfile1 getV1(RequestOptions requestOptions)
Retrieves the provider organization profile for the caller's organization. | () -> (ProviderOrgProfile1)
-
createProviderV1
public 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.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 boolean updateProviderV1()
Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
-
updateProviderV1
public boolean updateProviderV1(ProviderOrgProfileClientUpdate1 request)
Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
-
updateProviderV1
public boolean updateProviderV1(ProviderOrgProfileClientUpdate1 request, RequestOptions requestOptions)
Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
-
getByHandleV1
public ProviderOrgProfile1 getByHandleV1(java.lang.String handle)
Retrieves a provider organization profile by handle for public profile viewing. | () -> (ProviderOrgProfile1)
-
getByHandleV1
public ProviderOrgProfile1 getByHandleV1(java.lang.String handle, RequestOptions requestOptions)
Retrieves a provider organization profile by handle for public profile viewing. | () -> (ProviderOrgProfile1)
-
getAvatarV1
public 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.lang.String getAvatarV1(java.lang.String handle, RequestOptions requestOptions)Returns the organization avatar image URL from WorkOS or a placeholder if not found. | () -> (str)
-
-