-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from kintone/feat-add-app-create-permission-pa…
…rameter feat: support permissions response parameter of Get Space API
- Loading branch information
Showing
7 changed files
with
59 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/java/com/kintone/client/model/space/CreateAppSubject.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.kintone.client.model.space; | ||
|
||
/** An enum for representing the permission setting to create apps in the space. */ | ||
public enum CreateAppSubject { | ||
|
||
/** Allow everyone to create apps in the space. */ | ||
EVERYONE, | ||
|
||
/** Only allow space administrators to create apps in the space. */ | ||
ADMIN | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/com/kintone/client/model/space/SpacePermissions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package com.kintone.client.model.space; | ||
|
||
import lombok.Value; | ||
|
||
/** An object contains permission settings of the Space. */ | ||
@Value | ||
public class SpacePermissions { | ||
|
||
/** | ||
* The permission setting whether to allow only space administrators or users to create apps in | ||
* the space. | ||
*/ | ||
CreateAppSubject createApp; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters