All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.openapi.models.V1JSONSchemaPropsBuilder Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1JSONSchemaPropsBuilder extends V1JSONSchemaPropsFluent implements VisitableBuilder{
  public V1JSONSchemaPropsBuilder() {
    this(new V1JSONSchemaProps());
  }
  
  public V1JSONSchemaPropsBuilder(V1JSONSchemaPropsFluent fluent) {
    this(fluent, new V1JSONSchemaProps());
  }
  
  public V1JSONSchemaPropsBuilder(V1JSONSchemaPropsFluent fluent,V1JSONSchemaProps instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1JSONSchemaPropsBuilder(V1JSONSchemaProps instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1JSONSchemaPropsFluent fluent;
  
  public V1JSONSchemaProps build() {
    V1JSONSchemaProps buildable = new V1JSONSchemaProps();
    buildable.set$Ref(fluent.getRef());
    buildable.set$Schema(fluent.getSchema());
    buildable.setAdditionalItems(fluent.getAdditionalItems());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    buildable.setAllOf(fluent.buildAllOf());
    buildable.setAnyOf(fluent.buildAnyOf());
    buildable.setDefault(fluent.getDefault());
    buildable.setDefinitions(fluent.getDefinitions());
    buildable.setDependencies(fluent.getDependencies());
    buildable.setDescription(fluent.getDescription());
    buildable.setEnum(fluent.getEnum());
    buildable.setExample(fluent.getExample());
    buildable.setExclusiveMaximum(fluent.getExclusiveMaximum());
    buildable.setExclusiveMinimum(fluent.getExclusiveMinimum());
    buildable.setExternalDocs(fluent.buildExternalDocs());
    buildable.setFormat(fluent.getFormat());
    buildable.setId(fluent.getId());
    buildable.setItems(fluent.getItems());
    buildable.setMaxItems(fluent.getMaxItems());
    buildable.setMaxLength(fluent.getMaxLength());
    buildable.setMaxProperties(fluent.getMaxProperties());
    buildable.setMaximum(fluent.getMaximum());
    buildable.setMinItems(fluent.getMinItems());
    buildable.setMinLength(fluent.getMinLength());
    buildable.setMinProperties(fluent.getMinProperties());
    buildable.setMinimum(fluent.getMinimum());
    buildable.setMultipleOf(fluent.getMultipleOf());
    buildable.setNot(fluent.buildNot());
    buildable.setNullable(fluent.getNullable());
    buildable.setOneOf(fluent.buildOneOf());
    buildable.setPattern(fluent.getPattern());
    buildable.setPatternProperties(fluent.getPatternProperties());
    buildable.setProperties(fluent.getProperties());
    buildable.setRequired(fluent.getRequired());
    buildable.setTitle(fluent.getTitle());
    buildable.setType(fluent.getType());
    buildable.setUniqueItems(fluent.getUniqueItems());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy