-
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 #53 from kintone/feat-support-new-properties-of-ap…
…p-settings-apis feat: Support new properties of app settings apis
- Loading branch information
Showing
11 changed files
with
232 additions
and
11 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
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
17 changes: 17 additions & 0 deletions
17
src/main/java/com/kintone/client/model/app/NumberPrecision.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,17 @@ | ||
package com.kintone.client.model.app; | ||
|
||
import lombok.Data; | ||
|
||
/** An object containing the precision settings of numbers and calculations */ | ||
@Data | ||
public class NumberPrecision { | ||
|
||
/** The total number of digits. */ | ||
private Integer digits; | ||
|
||
/** The number of decimal places to round. */ | ||
private Integer decimalPlaces; | ||
|
||
/** The rounding mode of the Number and Calculated fields. */ | ||
private RoundingMode roundingMode; | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/com/kintone/client/model/app/RoundingMode.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.app; | ||
|
||
/** The rounding mode of numbers. */ | ||
public enum RoundingMode { | ||
|
||
/** Round to nearest even number. */ | ||
HALF_EVEN, | ||
|
||
/** Round up. */ | ||
UP, | ||
|
||
/** Round down. */ | ||
DOWN | ||
} |
10 changes: 10 additions & 0 deletions
10
src/main/java/com/kintone/client/model/app/TitleFieldSelectionMode.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,10 @@ | ||
package com.kintone.client.model.app; | ||
|
||
/** The selection mode of the title field. */ | ||
public enum TitleFieldSelectionMode { | ||
/** Automatically set the title field. */ | ||
AUTO, | ||
|
||
/** Manually set a field as the record title. */ | ||
MANUAL; | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/com/kintone/client/model/app/TitleFiled.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.app; | ||
|
||
import lombok.Data; | ||
|
||
/** An object containing settings of record title. */ | ||
@Data | ||
public class TitleFiled { | ||
|
||
/** The selection mode of the title field. */ | ||
private TitleFieldSelectionMode selectionMode; | ||
|
||
/** The field to be used as the record title when the "selectionMode" is set to "MANUAL". */ | ||
private String code; | ||
} |
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