类com.fasterxml.jackson.annotation.JsonAnySetter源码实例Demo

下面列出了怎么用com.fasterxml.jackson.annotation.JsonAnySetter的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: openapi-generator   文件: SimpleQuadrilateral.java
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public SimpleQuadrilateral putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
源代码2 项目: openapi-generator   文件: Dog.java
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public Dog putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
源代码3 项目: openapi-generator   文件: Zebra.java
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public Zebra putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
源代码4 项目: openapi-generator   文件: Triangle.java
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public Triangle putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
源代码5 项目: openapi-generator   文件: ScaleneTriangle.java
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public ScaleneTriangle putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
源代码6 项目: openapi-generator   文件: NullableClass.java
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public NullableClass putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
源代码7 项目: openapi-generator   文件: NullableShape.java
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public NullableShape putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
源代码8 项目: openapi-generator   文件: EquilateralTriangle.java
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public EquilateralTriangle putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
源代码9 项目: openapi-generator   文件: Quadrilateral.java
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public Quadrilateral putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
源代码10 项目: openapi-generator   文件: ComplexQuadrilateral.java
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public ComplexQuadrilateral putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public AdditionalPropertiesBoolean putAdditionalProperty(String key, Boolean value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Boolean>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public AdditionalPropertiesInteger putAdditionalProperty(String key, Integer value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Integer>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public AdditionalPropertiesArray putAdditionalProperty(String key, List value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, List>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public AdditionalPropertiesNumber putAdditionalProperty(String key, BigDecimal value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, BigDecimal>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
/**
 * Set the additional (undeclared) property with the specified name and value.
 * If the property does not already exist, create it otherwise replace it.
 */
@JsonAnySetter
public AdditionalPropertiesAnyType putAdditionalProperty(String key, Object value) {
  if (this.additionalProperties == null) {
      this.additionalProperties = new HashMap<String, Object>();
  }
  this.additionalProperties.put(key, value);
  return this;
}
 
源代码16 项目: fido2   文件: AlternativeDescriptions.java
@JsonAnySetter
public void setAlternativeDescriptions(String locale, String description) {
    alternativeDescriptions.put(locale, description);
}
 
源代码17 项目: Refactoring-Bot   文件: Location.java
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
	this.additionalProperties.put(name, value);
}
 
源代码18 项目: spark-swagger   文件: SecuritySchemeDefinition.java
@JsonAnySetter
void setVendorExtension(String name, Object value);
 
源代码19 项目: browserup-proxy   文件: HarResponse.java
@JsonAnySetter
public void setAdditionalField(String name, Object value) {
    this.additional.put(name, value);
}
 
源代码20 项目: sailfish-core   文件: DimensionMap.java
@JsonAnySetter
public void setDimensions(String key, List<String> value) {
    dimensions.put(key, value);
}
 
源代码21 项目: browserup-proxy   文件: HarEntry.java
@JsonAnySetter
public void setAdditionalField(String name, Object value) {
    this.additional.put(name, value);
}
 
源代码22 项目: java-master   文件: Person.java
@JsonAnySetter
public void setUnreconized(String key, Object value) {
    unreconized.put(key, value);
}
 
源代码23 项目: Refactoring-Bot   文件: User.java
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
@JsonAnySetter
public void setVendorExtension(String name, Object value) {
    if (name.startsWith("x-")) {
        vendorExtensions.put(name, value);
    }
}
 
源代码25 项目: xyz-hub   文件: Response.java
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
源代码26 项目: xyz-hub   文件: Reporter.java
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
源代码27 项目: synopsys-detect   文件: ExternalSources.java
@JsonAnySetter
public void setDynamicProperty(final String name, final PodSource podSource) {
    podSource.setName(name);
    sources.add(podSource);
}
 
源代码28 项目: synopsys-detect   文件: Pod.java
@JsonAnySetter
public void setDynamicProperty(final String name, final List<String> dependencies) {
    this.name = name;
    this.dependencies = dependencies;
}
 
源代码29 项目: spark-swagger   文件: AbstractModel.java
@JsonAnySetter
public void setVendorExtension(String name, Object value) {
    if (name.startsWith("x-")) {
        vendorExtensions.put(name, value);
    }
}
 
源代码30 项目: Refactoring-Bot   文件: License.java
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
 同包方法