Package com.chrt.api.resources.orgs
Class OrgsClient
- java.lang.Object
-
- com.chrt.api.resources.orgs.OrgsClient
-
public class OrgsClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description OrgsClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringcreateOrgPublicDataV1(CreateOrgPublicDataReq request)Creates an org_public_data document for the authenticated organization.java.lang.StringcreateOrgPublicDataV1(CreateOrgPublicDataReq request, RequestOptions requestOptions)Creates an org_public_data document for the authenticated organization.java.lang.ObjectgetInfoV1()Retrieves basic organization information from the authentication service.java.lang.ObjectgetInfoV1(RequestOptions requestOptions)Retrieves basic organization information from the authentication service.OrgPublicData1getOrgPublicDataByOrgIdV1(java.lang.String orgId)Retrieves public organization data for a specific organization by ID.OrgPublicData1getOrgPublicDataByOrgIdV1(java.lang.String orgId, RequestOptions requestOptions)Retrieves public organization data for a specific organization by ID.booleangetOrgPublicDataHandleAvailabilityV1(java.lang.String handle)Returns True when the provided handle is available, otherwise False.booleangetOrgPublicDataHandleAvailabilityV1(java.lang.String handle, RequestOptions requestOptions)Returns True when the provided handle is available, otherwise False.OrgPublicData1getOrgPublicDataV1()Retrieves public organization data for the authenticated organization.OrgPublicData1getOrgPublicDataV1(RequestOptions requestOptions)Retrieves public organization data for the authenticated organization.java.util.List<OrgMemberDetails>listMembersV1()Lists all members of the authenticated organization with their roles and details.java.util.List<OrgMemberDetails>listMembersV1(RequestOptions requestOptions)Lists all members of the authenticated organization with their roles and details.booleanupdateOrgPublicDataV1()Updates the handle and/or company_name for the authenticated organization.booleanupdateOrgPublicDataV1(UpdateOrgPublicDataReq request)Updates the handle and/or company_name for the authenticated organization.booleanupdateOrgPublicDataV1(UpdateOrgPublicDataReq request, RequestOptions requestOptions)Updates the handle and/or company_name for the authenticated organization.RawOrgsClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
OrgsClient
public OrgsClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawOrgsClient withRawResponse()
Get responses with HTTP metadata like headers
-
getInfoV1
public java.lang.Object getInfoV1()
Retrieves basic organization information from the authentication service.
-
getInfoV1
public java.lang.Object getInfoV1(RequestOptions requestOptions)
Retrieves basic organization information from the authentication service.
-
listMembersV1
public java.util.List<OrgMemberDetails> listMembersV1()
Lists all members of the authenticated organization with their roles and details.
-
listMembersV1
public java.util.List<OrgMemberDetails> listMembersV1(RequestOptions requestOptions)
Lists all members of the authenticated organization with their roles and details.
-
getOrgPublicDataV1
public OrgPublicData1 getOrgPublicDataV1()
Retrieves public organization data for the authenticated organization.
-
getOrgPublicDataV1
public OrgPublicData1 getOrgPublicDataV1(RequestOptions requestOptions)
Retrieves public organization data for the authenticated organization.
-
createOrgPublicDataV1
public java.lang.String createOrgPublicDataV1(CreateOrgPublicDataReq request)
Creates an org_public_data document for the authenticated organization.
-
createOrgPublicDataV1
public java.lang.String createOrgPublicDataV1(CreateOrgPublicDataReq request, RequestOptions requestOptions)
Creates an org_public_data document for the authenticated organization.
-
updateOrgPublicDataV1
public boolean updateOrgPublicDataV1()
Updates the handle and/or company_name for the authenticated organization.
-
updateOrgPublicDataV1
public boolean updateOrgPublicDataV1(UpdateOrgPublicDataReq request)
Updates the handle and/or company_name for the authenticated organization.
-
updateOrgPublicDataV1
public boolean updateOrgPublicDataV1(UpdateOrgPublicDataReq request, RequestOptions requestOptions)
Updates the handle and/or company_name for the authenticated organization.
-
getOrgPublicDataByOrgIdV1
public OrgPublicData1 getOrgPublicDataByOrgIdV1(java.lang.String orgId)
Retrieves public organization data for a specific organization by ID.
-
getOrgPublicDataByOrgIdV1
public OrgPublicData1 getOrgPublicDataByOrgIdV1(java.lang.String orgId, RequestOptions requestOptions)
Retrieves public organization data for a specific organization by ID.
-
getOrgPublicDataHandleAvailabilityV1
public boolean getOrgPublicDataHandleAvailabilityV1(java.lang.String handle)
Returns True when the provided handle is available, otherwise False.
-
getOrgPublicDataHandleAvailabilityV1
public boolean getOrgPublicDataHandleAvailabilityV1(java.lang.String handle, RequestOptions requestOptions)Returns True when the provided handle is available, otherwise False.
-
-