public class SpaceClient
extends Object
| Modifier and Type | Method and Description |
|---|---|
AddGuestsResponseBody |
addGuests(AddGuestsRequest request)
Adds Guest users to kintone.
|
void |
addGuests(List<GuestUser> guests)
Adds Guest users to kintone.
|
AddSpaceFromTemplateResponseBody |
addSpaceFromTemplate(AddSpaceFromTemplateRequest request)
Creates a Space from a Space template.
|
AddThreadResponseBody |
addThread(AddThreadRequest request)
Adds a Thread in a Space.
|
long |
addThread(long spaceId,
String name)
Adds a Thread in a Space.
|
AddThreadCommentResponseBody |
addThreadComment(AddThreadCommentRequest request)
Adds a comment to a Thread of a Space.
|
long |
addThreadComment(long spaceId,
long threadId,
ThreadComment comment)
Adds a comment to a Thread of a Space.
|
DeleteGuestsResponseBody |
deleteGuests(DeleteGuestsRequest request)
Deletes a Guest user from kintone.
|
void |
deleteGuests(List<String> guests)
Deletes a Guest user from kintone.
|
DeleteSpaceResponseBody |
deleteSpace(DeleteSpaceRequest request)
Deletes a Space.
|
void |
deleteSpace(long spaceId)
Deletes a Space.
|
GetSpaceResponseBody |
getSpace(GetSpaceRequest request)
Gets information of a Space.
|
GetSpaceResponseBody |
getSpace(long spaceId)
Gets information of a Space.
|
GetSpaceMembersResponseBody |
getSpaceMembers(GetSpaceMembersRequest request)
Gets the list of Space members of a Space.
|
List<AddedSpaceMember> |
getSpaceMembers(long spaceId)
Gets the list of Space members of a Space.
|
GetSpacesStatisticsResponseBody |
getStatistics()
Gets space usage statistics.
|
GetSpacesStatisticsResponseBody |
getStatistics(GetSpacesStatisticsRequest request)
Gets space usage statistics.
|
UpdateSpaceResponseBody |
updateSpace(UpdateSpaceRequest request)
Updates the settings of a Space.
|
void |
updateSpaceBody(long spaceId,
String body)
Updates the body of a Space.
|
UpdateSpaceBodyResponseBody |
updateSpaceBody(UpdateSpaceBodyRequest request)
Updates the body of a Space.
|
void |
updateSpaceGuests(long spaceId,
List<String> guests)
Updates the Guest members of a Space.
|
UpdateSpaceGuestsResponseBody |
updateSpaceGuests(UpdateSpaceGuestsRequest request)
Updates the Guest members of a Space.
|
void |
updateSpaceMembers(long spaceId,
List<SpaceMember> members)
Updates the members of a Space.
|
UpdateSpaceMembersResponseBody |
updateSpaceMembers(UpdateSpaceMembersRequest request)
Updates the Members of a Space.
|
void |
updateThread(long threadId,
String name,
String body)
Updates a Thread of a Space.
|
UpdateThreadResponseBody |
updateThread(UpdateThreadRequest request)
Updates a Thread of a Space.
|
public void addGuests(List<GuestUser> guests)
guests - the list of Guest user datapublic AddGuestsResponseBody addGuests(AddGuestsRequest request)
request - the request parameters. See AddGuestsRequestAddGuestsResponseBodypublic AddSpaceFromTemplateResponseBody addSpaceFromTemplate(AddSpaceFromTemplateRequest request)
request - the request parameters. See AddSpaceFromTemplateRequestAddSpaceFromTemplateResponseBodypublic long addThread(long spaceId,
String name)
spaceId - the Space IDname - the name of the new Threadpublic AddThreadResponseBody addThread(AddThreadRequest request)
request - the request parameters. See AddThreadRequestAddThreadResponseBodypublic long addThreadComment(long spaceId,
long threadId,
ThreadComment comment)
spaceId - the Space IDthreadId - the Thread IDcomment - An object including comment detailspublic AddThreadCommentResponseBody addThreadComment(AddThreadCommentRequest request)
request - the request parameters. See AddThreadCommentRequestAddThreadCommentResponseBodypublic void deleteGuests(List<String> guests)
guests - a list of email addresses of Guest userspublic DeleteGuestsResponseBody deleteGuests(DeleteGuestsRequest request)
request - the request parameters. See DeleteGuestsRequestDeleteGuestsResponseBodypublic void deleteSpace(long spaceId)
spaceId - the Space IDpublic DeleteSpaceResponseBody deleteSpace(DeleteSpaceRequest request)
request - the request parameters. See DeleteSpaceRequestDeleteSpaceResponseBodypublic GetSpaceResponseBody getSpace(long spaceId)
spaceId - ths Space IDGetSpaceResponseBodypublic GetSpaceResponseBody getSpace(GetSpaceRequest request)
request - the request parameters. See GetSpaceRequestGetSpaceResponseBodypublic GetSpacesStatisticsResponseBody getStatistics()
GetSpacesStatisticsResponseBodypublic GetSpacesStatisticsResponseBody getStatistics(GetSpacesStatisticsRequest request)
request - the request parameters. See GetSpacesStatisticsRequestGetSpacesStatisticsResponseBodypublic List<AddedSpaceMember> getSpaceMembers(long spaceId)
spaceId - the Space IDpublic GetSpaceMembersResponseBody getSpaceMembers(GetSpaceMembersRequest request)
request - the request parameters. See GetSpaceMembersRequestGetSpaceMembersResponseBodypublic UpdateSpaceResponseBody updateSpace(UpdateSpaceRequest request)
request - the request parameters. See UpdateSpaceRequestUpdateSpaceResponseBodypublic void updateSpaceBody(long spaceId,
String body)
spaceId - the Space IDbody - the contents of the body as an HTML stringpublic UpdateSpaceBodyResponseBody updateSpaceBody(UpdateSpaceBodyRequest request)
request - the request parameters. See UpdateSpaceBodyRequestUpdateSpaceBodyResponseBodypublic void updateSpaceGuests(long spaceId,
List<String> guests)
spaceId - the Space IDguests - a list of email addresses of Guest userspublic UpdateSpaceGuestsResponseBody updateSpaceGuests(UpdateSpaceGuestsRequest request)
request - the request parameters. See UpdateSpaceGuestsRequestUpdateSpaceGuestsResponseBodypublic void updateSpaceMembers(long spaceId,
List<SpaceMember> members)
spaceId - the Space IDmembers - a list of members of the Spacepublic UpdateSpaceMembersResponseBody updateSpaceMembers(UpdateSpaceMembersRequest request)
request - the request parameters. See UpdateSpaceMembersRequestUpdateSpaceMembersResponseBodypublic void updateThread(long threadId,
String name,
String body)
threadId - the Thread IDname - the new name of the Threadbody - the contents of the Thread bodypublic UpdateThreadResponseBody updateThread(UpdateThreadRequest request)
request - the request parameters. See UpdateThreadRequestUpdateThreadResponseBody