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.
|
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 AddGuestsRequest
AddGuestsResponseBody
public AddSpaceFromTemplateResponseBody addSpaceFromTemplate(AddSpaceFromTemplateRequest request)
request
- the request parameters. See AddSpaceFromTemplateRequest
AddSpaceFromTemplateResponseBody
public 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 AddThreadRequest
AddThreadResponseBody
public 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 AddThreadCommentRequest
AddThreadCommentResponseBody
public void deleteGuests(List<String> guests)
guests
- a list of email addresses of Guest userspublic DeleteGuestsResponseBody deleteGuests(DeleteGuestsRequest request)
request
- the request parameters. See DeleteGuestsRequest
DeleteGuestsResponseBody
public void deleteSpace(long spaceId)
spaceId
- the Space IDpublic DeleteSpaceResponseBody deleteSpace(DeleteSpaceRequest request)
request
- the request parameters. See DeleteSpaceRequest
DeleteSpaceResponseBody
public GetSpaceResponseBody getSpace(long spaceId)
spaceId
- ths Space IDGetSpaceResponseBody
public GetSpaceResponseBody getSpace(GetSpaceRequest request)
request
- the request parameters. See GetSpaceRequest
GetSpaceResponseBody
public List<AddedSpaceMember> getSpaceMembers(long spaceId)
spaceId
- the Space IDpublic GetSpaceMembersResponseBody getSpaceMembers(GetSpaceMembersRequest request)
request
- the request parameters. See GetSpaceMembersRequest
GetSpaceMembersResponseBody
public UpdateSpaceResponseBody updateSpace(UpdateSpaceRequest request)
request
- the request parameters. See UpdateSpaceRequest
UpdateSpaceResponseBody
public 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 UpdateSpaceBodyRequest
UpdateSpaceBodyResponseBody
public 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 UpdateSpaceGuestsRequest
UpdateSpaceGuestsResponseBody
public 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 UpdateSpaceMembersRequest
UpdateSpaceMembersResponseBody
public 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 UpdateThreadRequest
UpdateThreadResponseBody