Class PublicDataClient
- java.lang.Object
-
- com.chrt.api.resources.orgs.publicdata.PublicDataClient
-
public class PublicDataClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description PublicDataClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateOrgPublicDataRescreateV1()Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT.CreateOrgPublicDataRescreateV1(CreateOrgPublicDataReq request)Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT.CreateOrgPublicDataRescreateV1(CreateOrgPublicDataReq request, RequestOptions requestOptions)Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT.OrgPublicData1getByOrgIdV1(java.lang.String orgId)Retrieves public organization data for a specific organization by ID.OrgPublicData1getByOrgIdV1(java.lang.String orgId, RequestOptions requestOptions)Retrieves public organization data for a specific organization by ID.booleangetHandleAvailabilityV1(java.lang.String handle)Returns True when the provided handle is available, otherwise False.booleangetHandleAvailabilityV1(java.lang.String handle, RequestOptions requestOptions)Returns True when the provided handle is available, otherwise False.OrgPublicData1getV1()Retrieves public organization data for the caller's organization.OrgPublicData1getV1(RequestOptions requestOptions)Retrieves public organization data for the caller's organization.booleanupdateV1()Updates the handle and/or company_name for the caller's organization.booleanupdateV1(UpdateOrgPublicDataReq request)Updates the handle and/or company_name for the caller's organization.booleanupdateV1(UpdateOrgPublicDataReq request, RequestOptions requestOptions)Updates the handle and/or company_name for the caller's organization.RawPublicDataClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
PublicDataClient
public PublicDataClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawPublicDataClient withRawResponse()
Get responses with HTTP metadata like headers
-
getV1
public OrgPublicData1 getV1()
Retrieves public organization data for the caller's organization. | () -> (OrgPublicData1)
-
getV1
public OrgPublicData1 getV1(RequestOptions requestOptions)
Retrieves public organization data for the caller's organization. | () -> (OrgPublicData1)
-
createV1
public CreateOrgPublicDataRes createV1()
Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT. | (CreateOrgPublicDataReq) -> (CreateOrgPublicDataRes)
-
createV1
public CreateOrgPublicDataRes createV1(CreateOrgPublicDataReq request)
Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT. | (CreateOrgPublicDataReq) -> (CreateOrgPublicDataRes)
-
createV1
public CreateOrgPublicDataRes createV1(CreateOrgPublicDataReq request, RequestOptions requestOptions)
Creates org_public_data and org_private_data documents for the caller's organization using org_type from JWT. | (CreateOrgPublicDataReq) -> (CreateOrgPublicDataRes)
-
updateV1
public boolean updateV1()
Updates the handle and/or company_name for the caller's organization. | (UpdateOrgPublicDataReq) -> (bool)
-
updateV1
public boolean updateV1(UpdateOrgPublicDataReq request)
Updates the handle and/or company_name for the caller's organization. | (UpdateOrgPublicDataReq) -> (bool)
-
updateV1
public boolean updateV1(UpdateOrgPublicDataReq request, RequestOptions requestOptions)
Updates the handle and/or company_name for the caller's organization. | (UpdateOrgPublicDataReq) -> (bool)
-
getByOrgIdV1
public OrgPublicData1 getByOrgIdV1(java.lang.String orgId)
Retrieves public organization data for a specific organization by ID. | () -> (OrgPublicData1)
-
getByOrgIdV1
public OrgPublicData1 getByOrgIdV1(java.lang.String orgId, RequestOptions requestOptions)
Retrieves public organization data for a specific organization by ID. | () -> (OrgPublicData1)
-
getHandleAvailabilityV1
public boolean getHandleAvailabilityV1(java.lang.String handle)
Returns True when the provided handle is available, otherwise False. | () -> (bool)
-
getHandleAvailabilityV1
public boolean getHandleAvailabilityV1(java.lang.String handle, RequestOptions requestOptions)Returns True when the provided handle is available, otherwise False. | () -> (bool)
-
-