@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; }
@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="values") @JsonProperty("values") public double[] getList() { return values; }
@XmlElement(name = "source") @JsonProperty("source") public List<Source> getSources() { return sources; }
@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; }
@JsonIgnoreProperties (ignoreUnknown = true) private static class Icon { @JsonProperty private String url16x16; @JsonProperty private String title; @JsonProperty private String link; }
@XmlElement(name = "description", namespace = Namespaces.ZANATA_OLD) @JsonProperty("description") public String getDescription() { return description; }
@JsonCreator public TargetTableRef(@JsonProperty("logicalName") String logicalName, @JsonProperty("physicalName") String physicalName) { this.logicalName = logicalName; this.physicalName = physicalName; }
@JsonIgnoreProperties (ignoreUnknown = true) private static class Status { @JsonProperty private Boolean resolved; @JsonProperty private Icon icon = new Icon(); } }
/** * Set of links managed by this project * * This field is ignored in PUT/POST operations * * @return set of Links managed by this resource */ @XmlElement(name = "link", namespace = Namespaces.ZANATA_API) @JsonProperty("links") public Links getLinks() { return links; }
@JsonCreator UpdateContentGroupMixin(@JsonProperty("id") String id, @JsonProperty("firstName") String firstName, @JsonProperty("lastName") String lastName, @JsonProperty("headline") String headline, @JsonProperty("industry") String industry, @JsonProperty("publicProfileUrl") String publicProfileUrl, @JsonProperty("siteStandardProfileRequest") UrlResource siteStandardProfileRequest, @JsonProperty("pictureUrl") String profilePictureUrl) { }
@JsonIgnoreProperties (ignoreUnknown = true) private static class Application { @JsonProperty private String type; @JsonProperty private String name; }
@XmlElementWrapper(name = "glossary-entries", namespace = Namespaces.ZANATA_OLD) @XmlElement(name = "glossary-entry", namespace = Namespaces.ZANATA_OLD) @JsonProperty("glossaryEntries") public List<GlossaryEntry> getGlossaryEntries() { if (glossaryEntries == null) { glossaryEntries = new ArrayList<GlossaryEntry>(); } return glossaryEntries; }
@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) { }
@JsonIgnoreProperties (ignoreUnknown = true) private static class MessageBean { @JsonProperty String message; public MessageBean() { } public MessageBean(final String message) { this.message = message; } }
@XmlElement(name="node") @JsonProperty("node") public List<RequisitionNode> getObjects() { return super.getObjects(); } }
@JsonCreator public ThemeTextQuestion(@JsonProperty(value = "applicationSystemId") String applicationSystemId, @JsonProperty(value = "theme") String theme, @JsonProperty(value = "learningOpportunityId") String learningOpportunityId, @JsonProperty(value = "targetIsGroup") Boolean targetIsGroup, @JsonProperty(value = "ordinal") Integer ordinal, @JsonProperty(value = "validators") Map<String,String> validators, @JsonProperty(value = "attachmentRequests") List<AttachmentRequest> attachmentRequests){ super(applicationSystemId, theme, learningOpportunityId, targetIsGroup, ordinal, validators, attachmentRequests); }
@XmlElement(name="node") @JsonProperty("node") public List<AvailabilityNode> getObjects() { return super.getObjects(); } }
@JsonCreator PhotoMixin(@JsonProperty("id") String id, @JsonProperty("from") Reference from, @JsonProperty("link") String link, @JsonProperty("icon") String icon, @JsonProperty("created_time") Date createdTime, @JsonProperty("images") List<Image> images) { }
@XmlElement(name="snmpInterface") @JsonProperty("snmpInterface") public List<OnmsSnmpInterface> getObjects() { return super.getObjects(); } }