Java 类com.fasterxml.jackson.annotation.JsonProperty 实例源码

项目:projectindoorweb    文件:GenerateBatchPositionResults.java   
@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;
}
项目:centraldogma    文件:DefaultMetaRepository.java   
@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();
    }
}
项目:servicebuilder    文件:ProblemResponse.java   
@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;
}
项目:telegram-bot-api    文件:MemoryBasedBotSessionStore.java   
/**
 * @return the ongoingUpdates
 */
@JsonProperty("ongoingUpdates")
public BlockingQueue<Update> getOngoingUpdates() {
    this.rLock.lock();
    try {
        return this.ongoingUpdates;
    } finally {
        this.rLock.unlock();
    }
}
项目:swaggy-jenkins    文件:PipelineImpllinks.java   
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("actions")
public Link getActions() {
  return actions;
}
项目:swaggy-jenkins    文件:SwapSpaceMonitorMemoryUsage2.java   
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("availableSwapSpace")
public Integer getAvailableSwapSpace() {
  return availableSwapSpace;
}
项目:telegram-bot-api    文件:Contact.java   
/**
 * @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;
}
项目:swaggy-jenkins    文件:PipelineStepImpllinks.java   
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("actions")
public Link getActions() {
  return actions;
}
项目:kafka-0.11.0.0-src-with-comment    文件:ConfigValueInfo.java   
@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;
}
项目:swaggy-jenkins    文件:FreeStyleProjecthealthReport.java   
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("iconClassName")
public String getIconClassName() {
  return iconClassName;
}
项目:tikv-client-lib-java    文件:TiDBInfo.java   
@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);
}
项目:swaggy-jenkins    文件:PipelinelatestRun.java   
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("_class")
public String getPropertyClass() {
  return propertyClass;
}
项目:QDrill    文件:HBaseStoragePluginConfig.java   
@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;
  }
}
项目:euphrates    文件:Config.java   
@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;
}
项目:swaggy-jenkins    文件:FreeStyleProject.java   
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("lastUnstableBuild")
public String getLastUnstableBuild() {
  return lastUnstableBuild;
}
项目:swaggy-jenkins    文件:MultibranchPipeline.java   
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("weatherScore")
public Integer getWeatherScore() {
  return weatherScore;
}
项目:cerebro    文件:Alarm.java   
@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);
    }
}
项目:open-kilda    文件:CacheBoltState.java   
@JsonCreator
public CacheBoltState(
        @JsonProperty("network") NetworkDump network,
        @JsonProperty("flow") FlowDump flow) {
    this.network = network;
    this.flow = flow;
}
项目:swaggy-jenkins    文件:PipelineActivityartifacts.java   
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("name")
public String getName() {
  return name;
}
项目:swaggy-jenkins    文件:PipelineRun.java   
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("_class")
public String getPropertyClass() {
  return propertyClass;
}
项目:telegram-bot-api    文件:Document.java   
/**
 * @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;
}
项目:swaggy-jenkins    文件:PipelineRun.java   
/**
 **/

@ApiModelProperty(value = "")
@JsonProperty("durationInMillis")
public Integer getDurationInMillis() {
  return durationInMillis;
}
项目:Re-Collector    文件:CollectorStatusList.java   
@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);
}
项目:dropwizard-hikaricp-benchmark    文件:HikariDataSourceFactory.java   
@JsonProperty
@Override
public boolean isAutoCommentsEnabled() {
    return this.autoCommentsEnabled;
}
项目:Reinickendorf_SER316    文件:TaskListEntry.java   
@JsonProperty("subject")
public String getSubject() {
    return subject;
}
项目:nbawrapper-stats    文件:BasicGameData.java   
@JsonProperty("gameId")
public void setGameId(String gameId) {
    this.gameId = gameId;
}
项目:mining    文件:Mastodon.java   
@JsonProperty("context")
public Context getContext() {
    return context;
}
项目:jetfuel    文件:TestUtils.java   
@JsonProperty(EVENT_ID)
public void setEventID(String eventID);
项目:OperatieBRP    文件:AbstractRedenNationaliteitMixIn.java   
/** @return datum aanvang geldigheid */
@JsonProperty("datumAanvangGeldigheid")
abstract Integer getDatumAanvangGeldigheid();
项目:powsybl-core    文件:ParentChanged.java   
@JsonCreator
public ParentChanged(@JsonProperty("id") String id) {
    super(id, NodeEventType.PARENT_CHANGED);
}
项目:Slide-RSS    文件:Result.java   
@JsonProperty("description")
public void setDescription(String description) {
    this.description = description;
}
项目:connectors    文件:Contact.java   
@JsonProperty("OtherStreet")
public String getOtherStreet() {
    return this.OtherStreet;
}
项目:Reinickendorf_SER316    文件:TaskCustomAttribute.java   
@JsonProperty("modified_date")
public void setModifiedDate(String modifiedDate) {
    this.modifiedDate = modifiedDate;
}
项目:custom-gradle-plugin-portal    文件:PluginVersion.java   
@JsonProperty(DEPENDENCY_NOTATION)
public Map<String, String> getDependencyNotation() {
    return dependencyNotation;
}
项目:Reinickendorf_SER316    文件:ProjectDetails.java   
@JsonProperty("default_priority")
public Object getDefaultPriority() {
    return defaultPriority;
}
项目:swaggy-jenkins    文件:ResponseTimeMonitorData.java   
/**
 * Get average
 * @return average
 **/
@JsonProperty("average")
@ApiModelProperty(value = "")
public Integer getAverage() {
  return average;
}
项目:swaggy-jenkins    文件:PipelineBranchesitempullRequest.java   
@ApiModelProperty(value = "")
@JsonProperty("title")
public String getTitle() {
  return title;
}
项目:QDrill    文件:BroadcastSender.java   
@JsonCreator
public BroadcastSender(@JsonProperty("receiver-major-fragment") int oppositeMajorFragmentId,
                       @JsonProperty("child") PhysicalOperator child,
                       @JsonProperty("destinations") List<MinorFragmentEndpoint> destinations) {
  super(oppositeMajorFragmentId, child, destinations);
}
项目:bazel-tools    文件:Repositories.java   
@JsonProperty("branch")
public abstract String branch();
项目:Reinickendorf_SER316    文件:Severity.java   
@JsonProperty("color")
public String getColor() {
    return color;
}