/*
 * OpenAPI Petstore
 * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
 *
 * The version of the OpenAPI document: 1.0.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

package org.openapitools.server.model;

import java.math.BigDecimal;
import jakarta.validation.constraints.*;
import jakarta.validation.Valid;


import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonValue;


public class OuterComposite  {
  
  private BigDecimal myNumber;

  private String myString;

  private Boolean myBoolean;

 /**
   * Get myNumber
   * @return myNumber
  **/
  public BigDecimal getMyNumber() {
    return myNumber;
  }

  /**
    * Set myNumber
  **/
  public void setMyNumber(BigDecimal myNumber) {
    this.myNumber = myNumber;
  }

  public OuterComposite myNumber(BigDecimal myNumber) {
    this.myNumber = myNumber;
    return this;
  }

 /**
   * Get myString
   * @return myString
  **/
  public String getMyString() {
    return myString;
  }

  /**
    * Set myString
  **/
  public void setMyString(String myString) {
    this.myString = myString;
  }

  public OuterComposite myString(String myString) {
    this.myString = myString;
    return this;
  }

 /**
   * Get myBoolean
   * @return myBoolean
  **/
  public Boolean getMyBoolean() {
    return myBoolean;
  }

  /**
    * Set myBoolean
  **/
  public void setMyBoolean(Boolean myBoolean) {
    this.myBoolean = myBoolean;
  }

  public OuterComposite myBoolean(Boolean myBoolean) {
    this.myBoolean = myBoolean;
    return this;
  }


  /**
    * Create a string representation of this pojo.
  **/
  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class OuterComposite {\n");
    
    sb.append("    myNumber: ").append(toIndentedString(myNumber)).append("\n");
    sb.append("    myString: ").append(toIndentedString(myString)).append("\n");
    sb.append("    myBoolean: ").append(toIndentedString(myBoolean)).append("\n");
    sb.append("}");
    return sb.toString();
  }

  /**
   * Convert the given object to string with each line indented by 4 spaces
   * (except the first line).
   */
  private static String toIndentedString(Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }
}

