@JsonCreator public GenerateBatchPositionResults(@JsonProperty("buildingIdentifier") Long buildingIdentifier, @JsonProperty("evaluationFile") Long evalFileIdentifier, @JsonProperty(value = "projectIdentifier", required = false) long projectIdentifier, @JsonProperty("radioMapFiles") long[] radioMapFileIdentifiers, @JsonProperty("algorithmType") String algorithmType, @JsonProperty("projectParameters") Set<SaveNewProjectParameters> projectParameters, @JsonProperty("withPixelPosition") boolean withPixelPosition) { this.buildingIdentifier = buildingIdentifier; this.evalFileIdentifier = evalFileIdentifier; this.projectIdentifier = projectIdentifier; this.radioMapFileIdentifiers = radioMapFileIdentifiers; this.algorithmType = algorithmType; this.projectParameters = projectParameters; this.withPixelPosition = withPixelPosition; }
@JsonCreator MultipleMirrorConfig( @JsonProperty("enabled") Boolean enabled, @JsonProperty("defaultSchedule") String defaultSchedule, @JsonProperty(value = "defaultDirection", required = true) MirrorDirection defaultDirection, @JsonProperty("defaultLocalPath") String defaultLocalPath, @JsonProperty(value = "includes", required = true) @JsonDeserialize(contentAs = MirrorInclude.class) Iterable<MirrorInclude> includes, @JsonProperty("excludes") @JsonDeserialize(contentAs = Pattern.class) Iterable<Pattern> excludes) { super(firstNonNull(enabled, true)); this.defaultSchedule = cronParser.parse(firstNonNull(defaultSchedule, DEFAULT_SCHEDULE)); this.defaultDirection = requireNonNull(defaultDirection, "defaultDirection"); this.defaultLocalPath = firstNonNull(defaultLocalPath, "/"); this.includes = ImmutableList.copyOf(requireNonNullElements(includes, "includes")); if (excludes != null) { this.excludes = ImmutableList.copyOf(requireNonNullElements(excludes, "excludes")); } else { this.excludes = Collections.emptyList(); } }
@JsonCreator @Builder(toBuilder = true) public ProblemResponse( @JsonProperty("title") String title, @JsonProperty("detail") String detail, @JsonProperty("status") int status, @JsonProperty("incidentReferenceId") String incidentReferenceId, @JsonProperty("suggestedUserMessageInDetail") boolean suggestedUserMessageInDetail, @JsonProperty("type") String type, @Singular("context") @JsonProperty("context") Map<String, String> context) { this.title = title; this.detail = detail; this.status = status; this.incidentReferenceId = incidentReferenceId; this.suggestedUserMessageInDetail = suggestedUserMessageInDetail; this.type = type; this.context = context; }
/** * @return the ongoingUpdates */ @JsonProperty("ongoingUpdates") public BlockingQueue<Update> getOngoingUpdates() { this.rLock.lock(); try { return this.ongoingUpdates; } finally { this.rLock.unlock(); } }
/** **/ @ApiModelProperty(value = "") @JsonProperty("actions") public Link getActions() { return actions; }
/** **/ @ApiModelProperty(value = "") @JsonProperty("availableSwapSpace") public Integer getAvailableSwapSpace() { return availableSwapSpace; }
/** * @param phoneNumber * Contact's phone number * @param firstName * Contact's first name * @param lastName * Optional. Contact's last name * @param userID * Optional. Contact's user identifier in Telegram */ public Contact( @JsonProperty("phone_number") String phoneNumber, @JsonProperty("first_name") String firstName, @JsonProperty("last_name") String lastName, @JsonProperty("user_id") Long userID) { Preconditions.notEmptyString(phoneNumber, "Phone number should be provided."); this.phoneNumber = phoneNumber; Preconditions.notEmptyString(phoneNumber, "First name should be provided."); this.firstName = firstName; this.lastName = lastName; this.userID = userID; }
@JsonCreator public ConfigValueInfo( @JsonProperty("name") String name, @JsonProperty("value") String value, @JsonProperty("recommended_values") List<String> recommendedValues, @JsonProperty("errors") List<String> errors, @JsonProperty("visible") boolean visible) { this.name = name; this.value = value; this.recommendedValues = recommendedValues; this.errors = errors; this.visible = visible; }
/** **/ @ApiModelProperty(value = "") @JsonProperty("iconClassName") public String getIconClassName() { return iconClassName; }
@JsonCreator public TiDBInfo( @JsonProperty("id") long id, @JsonProperty("db_name") CIStr name, @JsonProperty("charset") String charset, @JsonProperty("collate") String collate, @JsonProperty("-") List<TiTableInfo> tables, @JsonProperty("state") int schemaState) { this.id = id; this.name = name.getL(); this.charset = charset; this.collate = collate; this.tables = tables; this.schemaState = SchemaState.fromValue(schemaState); }
/** **/ @ApiModelProperty(value = "") @JsonProperty("_class") public String getPropertyClass() { return propertyClass; }
@JsonCreator public HBaseStoragePluginConfig(@JsonProperty("config") Map<String, String> props, @JsonProperty("size.calculator.enabled") Boolean sizeCalculatorEnabled) { this.config = props; if (config == null) { config = Maps.newHashMap(); } logger.debug("Initializing HBase StoragePlugin configuration with zookeeper quorum '{}', port '{}'.", config.get(HConstants.ZOOKEEPER_QUORUM), config.get(HBASE_ZOOKEEPER_PORT)); if (sizeCalculatorEnabled == null) { this.sizeCalculatorEnabled = false; } else { this.sizeCalculatorEnabled = sizeCalculatorEnabled; } }
@JsonCreator public S3( @JsonProperty("bucket") String bucket, @JsonProperty("region") String region, @JsonProperty("accessKey") String accessKey, @JsonProperty("secretKey") String secretKey, @JsonProperty("minimumSegmentSize") int minimumSegmentSize) { this.bucket = bucket; this.region = region; this.accessKey = accessKey; this.secretKey = secretKey; this.minimumSegmentSize = minimumSegmentSize; }
/** **/ @ApiModelProperty(value = "") @JsonProperty("lastUnstableBuild") public String getLastUnstableBuild() { return lastUnstableBuild; }
/** **/ @ApiModelProperty(value = "") @JsonProperty("weatherScore") public Integer getWeatherScore() { return weatherScore; }
@JsonCreator public Alarm(@JsonProperty("graphiteBaseUrl") String graphiteBaseUrl) { if (StringUtils.isNotBlank(graphiteBaseUrl)) { String url = graphiteBaseUrl; if (!graphiteBaseUrl.startsWith("http://") && !graphiteBaseUrl.startsWith("https://")) { url = "http://" + url; } this.graphiteBaseUrl = URI.create(url); } }
@JsonCreator public CacheBoltState( @JsonProperty("network") NetworkDump network, @JsonProperty("flow") FlowDump flow) { this.network = network; this.flow = flow; }
/** **/ @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; }
/** * @param fileId * Unique identifier for this file. * @param thumb * Optional. Document thumbnail as defined by sender. * @param file_name * Optional. Original filename as defined by sender. * @param mimeType * Optional. MIME type of the file as defined by sender. * @param fileSize * Optional. File size */ @JsonCreator public Document( @JsonProperty("file_id") String fileId, @JsonProperty("thumb") PhotoSize thumb, @JsonProperty("file_name") String fileName, @JsonProperty("mime_type") String mimeType, @JsonProperty("file_size") long fileSize) { Preconditions.notEmptyString(fileId, "File ID should be provided"); this.fileId = fileId; this.thumb = thumb; this.fileName = fileName; this.mimeType = mimeType; this.fileSize = fileSize; }
/** **/ @ApiModelProperty(value = "") @JsonProperty("durationInMillis") public Integer getDurationInMillis() { return durationInMillis; }
@JsonCreator public static CollectorStatusList create(@JsonProperty("status") int status, @JsonProperty("message") String message, @JsonProperty("backends") HashMap<String, CollectorStatus> backends) { return new AutoValue_CollectorStatusList(status, message, backends); }
@JsonProperty @Override public boolean isAutoCommentsEnabled() { return this.autoCommentsEnabled; }
@JsonProperty("subject") public String getSubject() { return subject; }
@JsonProperty("gameId") public void setGameId(String gameId) { this.gameId = gameId; }
@JsonProperty("context") public Context getContext() { return context; }
@JsonProperty(EVENT_ID) public void setEventID(String eventID);
/** @return datum aanvang geldigheid */ @JsonProperty("datumAanvangGeldigheid") abstract Integer getDatumAanvangGeldigheid();
@JsonCreator public ParentChanged(@JsonProperty("id") String id) { super(id, NodeEventType.PARENT_CHANGED); }
@JsonProperty("description") public void setDescription(String description) { this.description = description; }
@JsonProperty("OtherStreet") public String getOtherStreet() { return this.OtherStreet; }
@JsonProperty("modified_date") public void setModifiedDate(String modifiedDate) { this.modifiedDate = modifiedDate; }
@JsonProperty(DEPENDENCY_NOTATION) public Map<String, String> getDependencyNotation() { return dependencyNotation; }
@JsonProperty("default_priority") public Object getDefaultPriority() { return defaultPriority; }
/** * Get average * @return average **/ @JsonProperty("average") @ApiModelProperty(value = "") public Integer getAverage() { return average; }
@ApiModelProperty(value = "") @JsonProperty("title") public String getTitle() { return title; }
@JsonCreator public BroadcastSender(@JsonProperty("receiver-major-fragment") int oppositeMajorFragmentId, @JsonProperty("child") PhysicalOperator child, @JsonProperty("destinations") List<MinorFragmentEndpoint> destinations) { super(oppositeMajorFragmentId, child, destinations); }
@JsonProperty("branch") public abstract String branch();
@JsonProperty("color") public String getColor() { return color; }