File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3 Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1616
1717package org .cloudfoundry .client .v3 ;
1818
19+ import com .fasterxml .jackson .annotation .JsonInclude ;
1920import com .fasterxml .jackson .annotation .JsonProperty ;
2021import com .fasterxml .jackson .databind .annotation .JsonDeserialize ;
2122import org .cloudfoundry .AllowNulls ;
@@ -34,16 +35,18 @@ abstract class _Metadata {
3435 /**
3536 * The metadata annotations
3637 */
37- @ JsonProperty ("annotations" )
3838 @ AllowNulls
39+ @ JsonInclude
40+ @ JsonProperty ("annotations" )
3941 @ Nullable
4042 abstract Map <String , String > getAnnotations ();
4143
4244 /**
4345 * The metadata labels
4446 */
45- @ JsonProperty ("labels" )
4647 @ AllowNulls
48+ @ JsonInclude
49+ @ JsonProperty ("labels" )
4750 @ Nullable
4851 abstract Map <String , String > getLabels ();
4952
You can’t perform that action at this time.
0 commit comments