Class AsyncOrgProfilesClient


  • public class AsyncOrgProfilesClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncOrgProfilesClient

        public AsyncOrgProfilesClient​(ClientOptions clientOptions)
    • Method Detail

      • getV1

        public java.util.concurrent.CompletableFuture<ProviderOrgProfile1> getV1()
        Retrieves the provider organization profile for the caller's organization. | () -> (ProviderOrgProfile1)
      • getV1

        public java.util.concurrent.CompletableFuture<ProviderOrgProfile1> getV1​(RequestOptions requestOptions)
        Retrieves the provider organization profile for the caller's organization. | () -> (ProviderOrgProfile1)
      • createProviderV1

        public java.util.concurrent.CompletableFuture<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<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<java.lang.Boolean> updateProviderV1()
        Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
      • updateProviderV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateProviderV1​(ProviderOrgProfileClientUpdate1 request)
        Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
      • updateProviderV1

        public java.util.concurrent.CompletableFuture<java.lang.Boolean> updateProviderV1​(ProviderOrgProfileClientUpdate1 request,
                                                                                          RequestOptions requestOptions)
        Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
      • getByHandleV1

        public java.util.concurrent.CompletableFuture<ProviderOrgProfile1> getByHandleV1​(java.lang.String handle)
        Retrieves a provider organization profile by handle for public profile viewing. | () -> (ProviderOrgProfile1)
      • getByHandleV1

        public java.util.concurrent.CompletableFuture<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<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<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)