com.fasterxml.jackson.annotation.JsonAnySetter Java Examples

The following examples show how to use com.fasterxml.jackson.annotation.JsonAnySetter. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AdditionalPropertiesBoolean.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #2
Source File: Zebra.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #3
Source File: Dog.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #4
Source File: SimpleQuadrilateral.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #5
Source File: EquilateralTriangle.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #6
Source File: Triangle.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #7
Source File: Quadrilateral.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #8
Source File: ComplexQuadrilateral.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #9
Source File: NullableShape.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #10
Source File: ScaleneTriangle.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #11
Source File: AdditionalPropertiesInteger.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #12
Source File: AdditionalPropertiesArray.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #13
Source File: AdditionalPropertiesNumber.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #14
Source File: NullableClass.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #15
Source File: AdditionalPropertiesAnyType.java    From openapi-generator with Apache License 2.0 5 votes vote down vote up
/**
 * 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;
}
 
Example #16
Source File: JSONPlugin.java    From TrackRay with GNU General Public License v3.0 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #17
Source File: JSONPlugin.java    From TrackRay with GNU General Public License v3.0 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #18
Source File: GithubRepository.java    From Refactoring-Bot with MIT License 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #19
Source File: Plan.java    From Refactoring-Bot with MIT License 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #20
Source File: Permissions.java    From Refactoring-Bot with MIT License 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #21
Source File: PullRequestComment.java    From Refactoring-Bot with MIT License 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #22
Source File: JSONPlugin.java    From TrackRay with GNU General Public License v3.0 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #23
Source File: TimeStats.java    From Refactoring-Bot with MIT License 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #24
Source File: Awvs.java    From TrackRay with GNU General Public License v3.0 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #25
Source File: Awvs.java    From TrackRay with GNU General Public License v3.0 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #26
Source File: Swagger.java    From spark-swagger with Apache License 2.0 4 votes vote down vote up
@JsonAnySetter
public void setVendorExtension(String name, Object value) {
    if (name.startsWith("x-")) {
        vendorExtension(name, value);
    }
}
 
Example #27
Source File: Statistics.java    From Refactoring-Bot with MIT License 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #28
Source File: Awvs.java    From TrackRay with GNU General Public License v3.0 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #29
Source File: Awvs.java    From TrackRay with GNU General Public License v3.0 4 votes vote down vote up
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
    this.additionalProperties.put(name, value);
}
 
Example #30
Source File: AbstractProperty.java    From spark-swagger with Apache License 2.0 4 votes vote down vote up
@JsonAnySetter
public void setVendorExtension(String name, Object value) {
    if (name.startsWith("x-")) {
        vendorExtensions.put(name, value);
    }
}