Class OrgProfilesClient


  • public class OrgProfilesClient
    extends java.lang.Object
    • 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)