File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
generated/java/datadoc-model/src/main/java/no/ssb/dapla/metadata/datadoc Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1616import com .fasterxml .jackson .annotation .JsonPropertyOrder ;
1717import com .fasterxml .jackson .annotation .JsonValue ;
1818import jakarta .validation .Valid ;
19+ import jakarta .validation .constraints .NotNull ;
1920
2021@ JsonInclude (JsonInclude .Include .NON_NULL )
2122@ JsonPropertyOrder ({
@@ -30,10 +31,12 @@ public class UseRestriction implements Serializable
3031 * Use restriction type
3132 * <p>
3233 * Use restriction type
34+ * (Required)
3335 *
3436 */
3537 @ JsonProperty ("use_restriction_type" )
3638 @ JsonPropertyDescription ("Use restriction type" )
39+ @ NotNull
3740 private UseRestriction .UseRestrictionType useRestrictionType ;
3841 /**
3942 * Use restriction date
@@ -77,6 +80,7 @@ public static UseRestriction.UseRestrictionBuilderBase builder() {
7780 * Use restriction type
7881 * <p>
7982 * Use restriction type
83+ * (Required)
8084 *
8185 */
8286 @ JsonProperty ("use_restriction_type" )
@@ -88,6 +92,7 @@ public UseRestriction.UseRestrictionType getUseRestrictionType() {
8892 * Use restriction type
8993 * <p>
9094 * Use restriction type
95+ * (Required)
9196 *
9297 */
9398 @ JsonProperty ("use_restriction_type" )
You can’t perform that action at this time.
0 commit comments