@JsonProperty @JsonSerialize(keyUsing = ColumnStatisticMetadataKeySerializer.class) @JsonDeserialize(keyUsing = ColumnStatisticMetadataKeyDeserializer.class) public Map<ColumnStatisticMetadata, T> getColumnStatistics() { return columnStatistics; }
@Override public Class<?> findPOJOBuilder(AnnotatedClass ac) { JsonDeserialize ann = _findAnnotation(ac, JsonDeserialize.class); return (ann == null) ? null : _classIfExplicit(ann.builder()); }
@JsonInclude(JsonInclude.Include.NON_NULL) @Generated("org.jsonschema2pojo") @JsonPropertyOrder({ "apiVersion", "kind", "metadata" }) @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @ToString @EqualsAndHashCode @Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done")) public class Patch implements KubernetesResource @JsonIgnore private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonInclude(JsonInclude.Include.NON_DEFAULT) @JsonSerialize(using = BooleanSerializer.class) @JsonDeserialize(using = BooleanDeserializer.class) @JsonProperty(BASIC_STATS) boolean basicStats; @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonProperty(COLUMN_STATS) @JsonSerialize(contentUsing = BooleanSerializer.class) @JsonDeserialize(contentUsing = BooleanDeserializer.class) TreeMap<String, Boolean> columnStats = new TreeMap<>();
@com.fasterxml.jackson.annotation.JsonProperty("client_id") private String clientId; @com.fasterxml.jackson.annotation.JsonProperty("client_secret") private String clientSecret; @com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = Jackson2ArrayOrStringDeserializer.class) private Set<String> scope = Collections.emptySet(); @com.fasterxml.jackson.annotation.JsonProperty("resource_ids") @com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = Jackson2ArrayOrStringDeserializer.class) private Set<String> resourceIds = Collections.emptySet(); @org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class) @com.fasterxml.jackson.annotation.JsonProperty("authorized_grant_types") @com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = Jackson2ArrayOrStringDeserializer.class) private Set<String> authorizedGrantTypes = Collections.emptySet(); @org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class) @com.fasterxml.jackson.annotation.JsonProperty("redirect_uri") @com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = Jackson2ArrayOrStringDeserializer.class) private Set<String> registeredRedirectUris; @org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class) @com.fasterxml.jackson.annotation.JsonProperty("autoapprove") @com.fasterxml.jackson.databind.annotation.JsonDeserialize(using = Jackson2ArrayOrStringDeserializer.class) private Set<String> autoApproveScopes;
@JsonFormat(shape = JsonFormat.Shape.ARRAY) @JsonPropertyOrder({"longitude", "latitude", "altitude"}) @JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonDeserialize(as = ImmutableGeoPoint.class) @JsonSerialize(as = ImmutableGeoPoint.class) @Value.Immutable public abstract class GeoPoint { public abstract double altitude(); public abstract double longitude(); public abstract double latitude(); }
/** * Add custom XML deserializer, due to issue with annotations based mapping in some Jackson versions. */ @JsonDeserialize(using = PortWrapperXmlDeserializer.class) public interface PortWrapperXmlMixIn { }
@JsonDeserialize(builder = NamedView.Builder.class) @JsonPropertyOrder(value = {"class", "name", "edges", "entities"}, alphabetic = true) public class NamedView extends View { private String name; private Map<String, Object> parameters; @JsonIgnore private List<String> mergedNamedViewNames;
@JsonPropertyOrder({"lat", "lon"}) @JsonDeserialize(as = ImmutableGeoPoint2.class) @JsonSerialize(as = ImmutableGeoPoint2.class) @Value.Immutable public abstract class GeoPoint2 { public abstract double lon(); public abstract double lat(); }
final Class<?> valueClass = (jsonDeser == null) ? null : _classIfExplicit(jsonDeser.as()); if ((valueClass != null) && !type.hasRawClass(valueClass) && !_primitiveAndWrapper(type, valueClass)) { final Class<?> keyClass = (jsonDeser == null) ? null : _classIfExplicit(jsonDeser.keyAs()); if ((keyClass != null) && !_primitiveAndWrapper(keyType, keyClass)) { if (contentType != null) { // collection[like], map[like], array, reference final Class<?> contentClass = (jsonDeser == null) ? null : _classIfExplicit(jsonDeser.contentAs()); if ((contentClass != null) && !_primitiveAndWrapper(contentType, contentClass)) {
@JsonInclude(JsonInclude.Include.NON_NULL) @Generated("org.jsonschema2pojo") @JsonPropertyOrder({ "apiVersion", "kind", "metadata" }) @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @ToString @EqualsAndHashCode @Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done")) public class CustomResourceSubresourceStatus implements KubernetesResource @JsonIgnore private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonInclude(JsonInclude.Include.NON_DEFAULT) public class ClientContact { @JsonDeserialize(using = ByteArrayAdapter.Deserializing.class) @JsonProperty private byte[] token; @JsonProperty private boolean voice; @JsonProperty private boolean video;
@WithBeanGetter @JsonAutoDetect @JsonDeserialize(builder = ADnsAnswer.Builder.class) @JsonInclude(JsonInclude.Include.NON_NULL) @JsonPropertyOrder({ADnsAnswer.FIELD_IP_ADDRESS, ADnsAnswer.FIELD_IP_VERSION, ADnsAnswer.FIELD_DNS_TTL}) public abstract class ADnsAnswer implements DnsAnswer {
/** * Attach custom builder that deals with configurable property name formatting. */ @JsonDeserialize(builder = ApplicationsJacksonBuilder.class) public class ApplicationsJsonMixIn { }
@JsonInclude(JsonInclude.Include.NON_NULL) @Generated("org.jsonschema2pojo") @JsonPropertyOrder({ "apiVersion", "kind", "clusterRoleSelectors" }) @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @ToString @EqualsAndHashCode @Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done")) public class AggregationRule implements KubernetesResource @JsonProperty("clusterRoleSelectors") @JsonInclude(JsonInclude.Include.NON_EMPTY) @Valid private List<LabelSelector> clusterRoleSelectors = new ArrayList<LabelSelector>(); @JsonIgnore private Map<String, Object> additionalProperties = new HashMap<String, Object>();
@JsonDeserialize(using = JsonDateDeserializer.class) @JsonProperty("expiresAt") public Approval setExpiresAt(Date expiresAt) { this.expiresAt = expiresAt; return this; }
@JsonInclude(JsonInclude.Include.NON_NULL) @JsonIgnoreProperties(ignoreUnknown = true) @JsonDeserialize(using = MfaProvider.MfaProviderDeserializer.class) public class MfaProvider<T extends AbstractMfaProviderConfig> { @JsonProperty("last_modified") private Date lastModified;
@JsonDeserialize(builder = View.Builder.class) @JsonTypeInfo(use = JsonTypeInfo.Id.CLASS, include = As.EXISTING_PROPERTY, property = "class", defaultImpl = View.class) @JsonPropertyOrder(value = {"class", "edges", "entities"}, alphabetic = true) @JsonSimpleClassName(includeSubtypes = true) @JsonInclude(JsonInclude.Include.NON_DEFAULT) public class View extends ElementDefinitions<ViewElementDefinition, ViewElementDefinition> implements Cloneable { private List<GlobalViewElementDefinition> globalElements;
/** * {@link InstanceInfo} objects are unwrapped in XML document. The necessary Jackson instrumentation is provided here. */ @JsonDeserialize(using = ApplicationXmlDeserializer.class) public interface ApplicationXmlMixIn { @JacksonXmlElementWrapper(useWrapping = false) @JsonProperty("instance") List<InstanceInfo> getInstances(); }
@JsonInclude(JsonInclude.Include.NON_NULL) @Generated("org.jsonschema2pojo") @JsonPropertyOrder({ "apiVersion", "kind", "nodeSelectorTerms" }) @JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class) @ToString @EqualsAndHashCode @Buildable(editableEnabled = false, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done")) public class NodeSelector implements KubernetesResource @JsonProperty("nodeSelectorTerms") @Valid private List<NodeSelectorTerm> nodeSelectorTerms = new ArrayList<NodeSelectorTerm>(); @JsonIgnore private Map<String, Object> additionalProperties = new HashMap<String, Object>();