Refine search
@JsonCreator public JsonLocation(@JsonProperty("sourceRef") Object sourceRef, @JsonProperty("byteOffset") long totalBytes, @JsonProperty("charOffset") long totalChars, @JsonProperty("lineNr") int lineNr, @JsonProperty("columnNr") int columnNr) { _sourceRef = sourceRef; _totalBytes = totalBytes; _totalChars = totalChars; _lineNr = lineNr; _columnNr = columnNr; }
@Override public String findPropertyNameForParam(AnnotatedParameter param) { if (param != null) { JsonProperty pann = param.getAnnotation(JsonProperty.class); if (pann != null) { return pann.value(); } /* And can not use JsonDeserialize as we can not use * name auto-detection (names of local variables including * parameters are not necessarily preserved in bytecode) */ } return null; }
@XmlElement(name="values") @JsonProperty("values") public double[] getList() { return values; }
@JsonProperty("connectionName") public String getConnectionName() { return connectionName; }
@org.codehaus.jackson.annotate.JsonProperty("client_id") @com.fasterxml.jackson.annotation.JsonProperty("client_id") private String clientId; @org.codehaus.jackson.annotate.JsonProperty("client_secret") @com.fasterxml.jackson.annotation.JsonProperty("client_secret") private String clientSecret; @org.codehaus.jackson.annotate.JsonProperty("resource_ids") @org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class) @com.fasterxml.jackson.annotation.JsonProperty("resource_ids") @org.codehaus.jackson.annotate.JsonProperty("authorized_grant_types") @org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class) @com.fasterxml.jackson.annotation.JsonProperty("authorized_grant_types") @org.codehaus.jackson.annotate.JsonProperty("redirect_uri") @org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class) @com.fasterxml.jackson.annotation.JsonProperty("redirect_uri") @org.codehaus.jackson.annotate.JsonProperty("autoapprove") @org.codehaus.jackson.map.annotate.JsonDeserialize(using = JacksonArrayOrStringDeserializer.class) @com.fasterxml.jackson.annotation.JsonProperty("autoapprove") @org.codehaus.jackson.annotate.JsonProperty("access_token_validity") @com.fasterxml.jackson.annotation.JsonProperty("access_token_validity") private Integer accessTokenValiditySeconds; @org.codehaus.jackson.annotate.JsonProperty("refresh_token_validity")
@XmlElement(name = "source") @JsonProperty("source") public List<Source> getSources() { return sources; }
/** * The EventhubRequest is a wrapper of given json string * This is required because when using eventhub REST api, the json object sent out * needs to be wrapped in an outer Body object. Refer to https://docs.microsoft.com/en-us/rest/api/eventhub/send-batch-events */ public class EventhubRequest { public EventhubRequest (String body) { this.body = body; } @JsonProperty public String body; }
@JsonIgnoreProperties (ignoreUnknown = true) private static class Icon { @JsonProperty private String url16x16; @JsonProperty private String title; @JsonProperty private String link; }
@XmlElement(name="node") @JsonProperty("node") public List<RequisitionNode> getObjects() { return super.getObjects(); } }
@JsonCreator public JsonLocation(@JsonProperty("sourceRef") Object sourceRef, @JsonProperty("byteOffset") long totalBytes, @JsonProperty("charOffset") long totalChars, @JsonProperty("lineNr") int lineNr, @JsonProperty("columnNr") int columnNr) { _sourceRef = sourceRef; _totalBytes = totalBytes; _totalChars = totalChars; _lineNr = lineNr; _columnNr = columnNr; }
@JsonProperty("connectionString") public String getConnectionString() { return connectionString; }
@JsonIgnoreProperties (ignoreUnknown = true) private static class Status { @JsonProperty private Boolean resolved; @JsonProperty private Icon icon = new Icon(); } }
@Override public String findSerializablePropertyName(AnnotatedField af) { JsonProperty pann = af.getAnnotation(JsonProperty.class); if (pann != null) { return pann.value(); } // Also: having JsonSerialize implies it is such a property // 09-Apr-2010, tatu: Ditto for JsonView if (af.hasAnnotation(JsonSerialize.class) || af.hasAnnotation(JsonView.class)) { return ""; } return null; }
@XmlElement(name="node") @JsonProperty("node") public List<AvailabilityNode> getObjects() { return super.getObjects(); } }
@JsonCreator public TargetTableRef(@JsonProperty("logicalName") String logicalName, @JsonProperty("physicalName") String physicalName) { this.logicalName = logicalName; this.physicalName = physicalName; }
@JsonProperty("user") public String getUser() { return user; }
@JsonIgnoreProperties (ignoreUnknown = true) private static class Application { @JsonProperty private String type; @JsonProperty private String name; }
@Override public String findDeserializablePropertyName(AnnotatedField af) { JsonProperty pann = af.getAnnotation(JsonProperty.class); if (pann != null) { return pann.value(); } // Also: having JsonDeserialize implies it is such a property // 09-Apr-2010, tatu: Ditto for JsonView if (af.hasAnnotation(JsonDeserialize.class) || af.hasAnnotation(JsonView.class) || af.hasAnnotation(JsonBackReference.class) || af.hasAnnotation(JsonManagedReference.class) ) { return ""; } return null; }
@XmlElement(name="snmpInterface") @JsonProperty("snmpInterface") public List<OnmsSnmpInterface> getObjects() { return super.getObjects(); } }
@JsonCreator VideoMixin(@JsonProperty("id") String id, @JsonProperty("from") Reference from, @JsonProperty("picture") String picture, @JsonProperty("embed_html") String embedHtml, @JsonProperty("icon") String icon, @JsonProperty("source") String source, @JsonProperty("created_time") Date createdTime, @JsonProperty("updated_time") Date updatedTime) { }