/*
 * Swagger of Opencellsoft Api
 * @#Introduction
 *
 * The version of the OpenAPI document: 7.3.1-SNAPSHOT
 * Contact: contact@opencellsoft.fr
 *
 * 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.client.model;

import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import org.openapitools.client.model.CustomFieldsDto;
import org.openapitools.client.model.LanguageDescriptionDto;
import org.openapitools.client.model.TriggeredEdrTemplatesDto;

/**
 * UsageChargeTemplateDto
 */
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2019-09-13T10:03:17.753Z[GMT]")
public class UsageChargeTemplateDto {
  public static final String SERIALIZED_NAME_ID = "id";
  @SerializedName(SERIALIZED_NAME_ID)
  private Long id;

  public static final String SERIALIZED_NAME_CODE = "code";
  @SerializedName(SERIALIZED_NAME_CODE)
  private String code;

  public static final String SERIALIZED_NAME_DESCRIPTION = "description";
  @SerializedName(SERIALIZED_NAME_DESCRIPTION)
  private String description;

  public static final String SERIALIZED_NAME_UPDATED_CODE = "updatedCode";
  @SerializedName(SERIALIZED_NAME_UPDATED_CODE)
  private String updatedCode;

  public static final String SERIALIZED_NAME_DISABLED = "disabled";
  @SerializedName(SERIALIZED_NAME_DISABLED)
  private Boolean disabled;

  public static final String SERIALIZED_NAME_INVOICE_SUB_CATEGORY = "invoiceSubCategory";
  @SerializedName(SERIALIZED_NAME_INVOICE_SUB_CATEGORY)
  private String invoiceSubCategory;

  public static final String SERIALIZED_NAME_AMOUNT_EDITABLE = "amountEditable";
  @SerializedName(SERIALIZED_NAME_AMOUNT_EDITABLE)
  private Boolean amountEditable;

  public static final String SERIALIZED_NAME_LANGUAGE_DESCRIPTIONS = "languageDescriptions";
  @SerializedName(SERIALIZED_NAME_LANGUAGE_DESCRIPTIONS)
  private List<LanguageDescriptionDto> languageDescriptions = null;

  public static final String SERIALIZED_NAME_INPUT_UNIT_DESCRIPTION = "inputUnitDescription";
  @SerializedName(SERIALIZED_NAME_INPUT_UNIT_DESCRIPTION)
  private String inputUnitDescription;

  public static final String SERIALIZED_NAME_RATING_UNIT_DESCRIPTION = "ratingUnitDescription";
  @SerializedName(SERIALIZED_NAME_RATING_UNIT_DESCRIPTION)
  private String ratingUnitDescription;

  public static final String SERIALIZED_NAME_UNIT_MULTIPLICATOR = "unitMultiplicator";
  @SerializedName(SERIALIZED_NAME_UNIT_MULTIPLICATOR)
  private BigDecimal unitMultiplicator;

  public static final String SERIALIZED_NAME_UNIT_NB_DECIMAL = "unitNbDecimal";
  @SerializedName(SERIALIZED_NAME_UNIT_NB_DECIMAL)
  private Integer unitNbDecimal;

  /**
   * Gets or Sets roundingModeDtoEnum
   */
  @JsonAdapter(RoundingModeDtoEnumEnum.Adapter.class)
  public enum RoundingModeDtoEnumEnum {
    NEAREST("NEAREST"),
    
    DOWN("DOWN"),
    
    UP("UP");

    private String value;

    RoundingModeDtoEnumEnum(String value) {
      this.value = value;
    }

    public String getValue() {
      return value;
    }

    @Override
    public String toString() {
      return String.valueOf(value);
    }

    public static RoundingModeDtoEnumEnum fromValue(String value) {
      for (RoundingModeDtoEnumEnum b : RoundingModeDtoEnumEnum.values()) {
        if (b.value.equals(value)) {
          return b;
        }
      }
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
    }

    public static class Adapter extends TypeAdapter<RoundingModeDtoEnumEnum> {
      @Override
      public void write(final JsonWriter jsonWriter, final RoundingModeDtoEnumEnum enumeration) throws IOException {
        jsonWriter.value(enumeration.getValue());
      }

      @Override
      public RoundingModeDtoEnumEnum read(final JsonReader jsonReader) throws IOException {
        String value = jsonReader.nextString();
        return RoundingModeDtoEnumEnum.fromValue(value);
      }
    }
  }

  public static final String SERIALIZED_NAME_ROUNDING_MODE_DTO_ENUM = "roundingModeDtoEnum";
  @SerializedName(SERIALIZED_NAME_ROUNDING_MODE_DTO_ENUM)
  private RoundingModeDtoEnumEnum roundingModeDtoEnum;

  public static final String SERIALIZED_NAME_REVENUE_RECOGNITION_RULE_CODE = "revenueRecognitionRuleCode";
  @SerializedName(SERIALIZED_NAME_REVENUE_RECOGNITION_RULE_CODE)
  private String revenueRecognitionRuleCode;

  public static final String SERIALIZED_NAME_CUSTOM_FIELDS = "customFields";
  @SerializedName(SERIALIZED_NAME_CUSTOM_FIELDS)
  private CustomFieldsDto customFields;

  public static final String SERIALIZED_NAME_TRIGGERED_EDRS = "triggeredEdrs";
  @SerializedName(SERIALIZED_NAME_TRIGGERED_EDRS)
  private TriggeredEdrTemplatesDto triggeredEdrs;

  public static final String SERIALIZED_NAME_FILTER_PARAM1 = "filterParam1";
  @SerializedName(SERIALIZED_NAME_FILTER_PARAM1)
  private String filterParam1;

  public static final String SERIALIZED_NAME_FILTER_PARAM2 = "filterParam2";
  @SerializedName(SERIALIZED_NAME_FILTER_PARAM2)
  private String filterParam2;

  public static final String SERIALIZED_NAME_FILTER_PARAM3 = "filterParam3";
  @SerializedName(SERIALIZED_NAME_FILTER_PARAM3)
  private String filterParam3;

  public static final String SERIALIZED_NAME_FILTER_PARAM4 = "filterParam4";
  @SerializedName(SERIALIZED_NAME_FILTER_PARAM4)
  private String filterParam4;

  public static final String SERIALIZED_NAME_FILTER_EXPRESSION = "filterExpression";
  @SerializedName(SERIALIZED_NAME_FILTER_EXPRESSION)
  private String filterExpression;

  public static final String SERIALIZED_NAME_FILTER_EXPRESSION_SPARK = "filterExpressionSpark";
  @SerializedName(SERIALIZED_NAME_FILTER_EXPRESSION_SPARK)
  private String filterExpressionSpark;

  public static final String SERIALIZED_NAME_PRIORITY = "priority";
  @SerializedName(SERIALIZED_NAME_PRIORITY)
  private Integer priority;

  public static final String SERIALIZED_NAME_TRIGGER_NEXT_CHARGE = "triggerNextCharge";
  @SerializedName(SERIALIZED_NAME_TRIGGER_NEXT_CHARGE)
  private Boolean triggerNextCharge;

  public static final String SERIALIZED_NAME_TRIGGER_NEXT_CHARGE_E_L = "triggerNextChargeEL";
  @SerializedName(SERIALIZED_NAME_TRIGGER_NEXT_CHARGE_E_L)
  private String triggerNextChargeEL;


  public UsageChargeTemplateDto id(Long id) {
    
    this.id = id;
    return this;
  }

   /**
   * Get id
   * @return id
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Long getId() {
    return id;
  }



  public void setId(Long id) {
    this.id = id;
  }


  public UsageChargeTemplateDto code(String code) {
    
    this.code = code;
    return this;
  }

   /**
   * Get code
   * @return code
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getCode() {
    return code;
  }



  public void setCode(String code) {
    this.code = code;
  }


  public UsageChargeTemplateDto description(String description) {
    
    this.description = description;
    return this;
  }

   /**
   * Get description
   * @return description
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getDescription() {
    return description;
  }



  public void setDescription(String description) {
    this.description = description;
  }


  public UsageChargeTemplateDto updatedCode(String updatedCode) {
    
    this.updatedCode = updatedCode;
    return this;
  }

   /**
   * Get updatedCode
   * @return updatedCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getUpdatedCode() {
    return updatedCode;
  }



  public void setUpdatedCode(String updatedCode) {
    this.updatedCode = updatedCode;
  }


  public UsageChargeTemplateDto disabled(Boolean disabled) {
    
    this.disabled = disabled;
    return this;
  }

   /**
   * Get disabled
   * @return disabled
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Boolean getDisabled() {
    return disabled;
  }



  public void setDisabled(Boolean disabled) {
    this.disabled = disabled;
  }


  public UsageChargeTemplateDto invoiceSubCategory(String invoiceSubCategory) {
    
    this.invoiceSubCategory = invoiceSubCategory;
    return this;
  }

   /**
   * Get invoiceSubCategory
   * @return invoiceSubCategory
  **/
  @ApiModelProperty(required = true, value = "")

  public String getInvoiceSubCategory() {
    return invoiceSubCategory;
  }



  public void setInvoiceSubCategory(String invoiceSubCategory) {
    this.invoiceSubCategory = invoiceSubCategory;
  }


  public UsageChargeTemplateDto amountEditable(Boolean amountEditable) {
    
    this.amountEditable = amountEditable;
    return this;
  }

   /**
   * Get amountEditable
   * @return amountEditable
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Boolean getAmountEditable() {
    return amountEditable;
  }



  public void setAmountEditable(Boolean amountEditable) {
    this.amountEditable = amountEditable;
  }


  public UsageChargeTemplateDto languageDescriptions(List<LanguageDescriptionDto> languageDescriptions) {
    
    this.languageDescriptions = languageDescriptions;
    return this;
  }

  public UsageChargeTemplateDto addLanguageDescriptionsItem(LanguageDescriptionDto languageDescriptionsItem) {
    if (this.languageDescriptions == null) {
      this.languageDescriptions = new ArrayList<LanguageDescriptionDto>();
    }
    this.languageDescriptions.add(languageDescriptionsItem);
    return this;
  }

   /**
   * Get languageDescriptions
   * @return languageDescriptions
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public List<LanguageDescriptionDto> getLanguageDescriptions() {
    return languageDescriptions;
  }



  public void setLanguageDescriptions(List<LanguageDescriptionDto> languageDescriptions) {
    this.languageDescriptions = languageDescriptions;
  }


  public UsageChargeTemplateDto inputUnitDescription(String inputUnitDescription) {
    
    this.inputUnitDescription = inputUnitDescription;
    return this;
  }

   /**
   * Get inputUnitDescription
   * @return inputUnitDescription
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getInputUnitDescription() {
    return inputUnitDescription;
  }



  public void setInputUnitDescription(String inputUnitDescription) {
    this.inputUnitDescription = inputUnitDescription;
  }


  public UsageChargeTemplateDto ratingUnitDescription(String ratingUnitDescription) {
    
    this.ratingUnitDescription = ratingUnitDescription;
    return this;
  }

   /**
   * Get ratingUnitDescription
   * @return ratingUnitDescription
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getRatingUnitDescription() {
    return ratingUnitDescription;
  }



  public void setRatingUnitDescription(String ratingUnitDescription) {
    this.ratingUnitDescription = ratingUnitDescription;
  }


  public UsageChargeTemplateDto unitMultiplicator(BigDecimal unitMultiplicator) {
    
    this.unitMultiplicator = unitMultiplicator;
    return this;
  }

   /**
   * Get unitMultiplicator
   * @return unitMultiplicator
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public BigDecimal getUnitMultiplicator() {
    return unitMultiplicator;
  }



  public void setUnitMultiplicator(BigDecimal unitMultiplicator) {
    this.unitMultiplicator = unitMultiplicator;
  }


  public UsageChargeTemplateDto unitNbDecimal(Integer unitNbDecimal) {
    
    this.unitNbDecimal = unitNbDecimal;
    return this;
  }

   /**
   * Get unitNbDecimal
   * @return unitNbDecimal
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Integer getUnitNbDecimal() {
    return unitNbDecimal;
  }



  public void setUnitNbDecimal(Integer unitNbDecimal) {
    this.unitNbDecimal = unitNbDecimal;
  }


  public UsageChargeTemplateDto roundingModeDtoEnum(RoundingModeDtoEnumEnum roundingModeDtoEnum) {
    
    this.roundingModeDtoEnum = roundingModeDtoEnum;
    return this;
  }

   /**
   * Get roundingModeDtoEnum
   * @return roundingModeDtoEnum
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public RoundingModeDtoEnumEnum getRoundingModeDtoEnum() {
    return roundingModeDtoEnum;
  }



  public void setRoundingModeDtoEnum(RoundingModeDtoEnumEnum roundingModeDtoEnum) {
    this.roundingModeDtoEnum = roundingModeDtoEnum;
  }


  public UsageChargeTemplateDto revenueRecognitionRuleCode(String revenueRecognitionRuleCode) {
    
    this.revenueRecognitionRuleCode = revenueRecognitionRuleCode;
    return this;
  }

   /**
   * Get revenueRecognitionRuleCode
   * @return revenueRecognitionRuleCode
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getRevenueRecognitionRuleCode() {
    return revenueRecognitionRuleCode;
  }



  public void setRevenueRecognitionRuleCode(String revenueRecognitionRuleCode) {
    this.revenueRecognitionRuleCode = revenueRecognitionRuleCode;
  }


  public UsageChargeTemplateDto customFields(CustomFieldsDto customFields) {
    
    this.customFields = customFields;
    return this;
  }

   /**
   * Get customFields
   * @return customFields
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public CustomFieldsDto getCustomFields() {
    return customFields;
  }



  public void setCustomFields(CustomFieldsDto customFields) {
    this.customFields = customFields;
  }


  public UsageChargeTemplateDto triggeredEdrs(TriggeredEdrTemplatesDto triggeredEdrs) {
    
    this.triggeredEdrs = triggeredEdrs;
    return this;
  }

   /**
   * Get triggeredEdrs
   * @return triggeredEdrs
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public TriggeredEdrTemplatesDto getTriggeredEdrs() {
    return triggeredEdrs;
  }



  public void setTriggeredEdrs(TriggeredEdrTemplatesDto triggeredEdrs) {
    this.triggeredEdrs = triggeredEdrs;
  }


  public UsageChargeTemplateDto filterParam1(String filterParam1) {
    
    this.filterParam1 = filterParam1;
    return this;
  }

   /**
   * Get filterParam1
   * @return filterParam1
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getFilterParam1() {
    return filterParam1;
  }



  public void setFilterParam1(String filterParam1) {
    this.filterParam1 = filterParam1;
  }


  public UsageChargeTemplateDto filterParam2(String filterParam2) {
    
    this.filterParam2 = filterParam2;
    return this;
  }

   /**
   * Get filterParam2
   * @return filterParam2
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getFilterParam2() {
    return filterParam2;
  }



  public void setFilterParam2(String filterParam2) {
    this.filterParam2 = filterParam2;
  }


  public UsageChargeTemplateDto filterParam3(String filterParam3) {
    
    this.filterParam3 = filterParam3;
    return this;
  }

   /**
   * Get filterParam3
   * @return filterParam3
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getFilterParam3() {
    return filterParam3;
  }



  public void setFilterParam3(String filterParam3) {
    this.filterParam3 = filterParam3;
  }


  public UsageChargeTemplateDto filterParam4(String filterParam4) {
    
    this.filterParam4 = filterParam4;
    return this;
  }

   /**
   * Get filterParam4
   * @return filterParam4
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getFilterParam4() {
    return filterParam4;
  }



  public void setFilterParam4(String filterParam4) {
    this.filterParam4 = filterParam4;
  }


  public UsageChargeTemplateDto filterExpression(String filterExpression) {
    
    this.filterExpression = filterExpression;
    return this;
  }

   /**
   * Get filterExpression
   * @return filterExpression
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getFilterExpression() {
    return filterExpression;
  }



  public void setFilterExpression(String filterExpression) {
    this.filterExpression = filterExpression;
  }


  public UsageChargeTemplateDto filterExpressionSpark(String filterExpressionSpark) {
    
    this.filterExpressionSpark = filterExpressionSpark;
    return this;
  }

   /**
   * Get filterExpressionSpark
   * @return filterExpressionSpark
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getFilterExpressionSpark() {
    return filterExpressionSpark;
  }



  public void setFilterExpressionSpark(String filterExpressionSpark) {
    this.filterExpressionSpark = filterExpressionSpark;
  }


  public UsageChargeTemplateDto priority(Integer priority) {
    
    this.priority = priority;
    return this;
  }

   /**
   * Get priority
   * @return priority
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Integer getPriority() {
    return priority;
  }



  public void setPriority(Integer priority) {
    this.priority = priority;
  }


  public UsageChargeTemplateDto triggerNextCharge(Boolean triggerNextCharge) {
    
    this.triggerNextCharge = triggerNextCharge;
    return this;
  }

   /**
   * Get triggerNextCharge
   * @return triggerNextCharge
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public Boolean getTriggerNextCharge() {
    return triggerNextCharge;
  }



  public void setTriggerNextCharge(Boolean triggerNextCharge) {
    this.triggerNextCharge = triggerNextCharge;
  }


  public UsageChargeTemplateDto triggerNextChargeEL(String triggerNextChargeEL) {
    
    this.triggerNextChargeEL = triggerNextChargeEL;
    return this;
  }

   /**
   * Get triggerNextChargeEL
   * @return triggerNextChargeEL
  **/
  @javax.annotation.Nullable
  @ApiModelProperty(value = "")

  public String getTriggerNextChargeEL() {
    return triggerNextChargeEL;
  }



  public void setTriggerNextChargeEL(String triggerNextChargeEL) {
    this.triggerNextChargeEL = triggerNextChargeEL;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    UsageChargeTemplateDto usageChargeTemplateDto = (UsageChargeTemplateDto) o;
    return Objects.equals(this.id, usageChargeTemplateDto.id) &&
        Objects.equals(this.code, usageChargeTemplateDto.code) &&
        Objects.equals(this.description, usageChargeTemplateDto.description) &&
        Objects.equals(this.updatedCode, usageChargeTemplateDto.updatedCode) &&
        Objects.equals(this.disabled, usageChargeTemplateDto.disabled) &&
        Objects.equals(this.invoiceSubCategory, usageChargeTemplateDto.invoiceSubCategory) &&
        Objects.equals(this.amountEditable, usageChargeTemplateDto.amountEditable) &&
        Objects.equals(this.languageDescriptions, usageChargeTemplateDto.languageDescriptions) &&
        Objects.equals(this.inputUnitDescription, usageChargeTemplateDto.inputUnitDescription) &&
        Objects.equals(this.ratingUnitDescription, usageChargeTemplateDto.ratingUnitDescription) &&
        Objects.equals(this.unitMultiplicator, usageChargeTemplateDto.unitMultiplicator) &&
        Objects.equals(this.unitNbDecimal, usageChargeTemplateDto.unitNbDecimal) &&
        Objects.equals(this.roundingModeDtoEnum, usageChargeTemplateDto.roundingModeDtoEnum) &&
        Objects.equals(this.revenueRecognitionRuleCode, usageChargeTemplateDto.revenueRecognitionRuleCode) &&
        Objects.equals(this.customFields, usageChargeTemplateDto.customFields) &&
        Objects.equals(this.triggeredEdrs, usageChargeTemplateDto.triggeredEdrs) &&
        Objects.equals(this.filterParam1, usageChargeTemplateDto.filterParam1) &&
        Objects.equals(this.filterParam2, usageChargeTemplateDto.filterParam2) &&
        Objects.equals(this.filterParam3, usageChargeTemplateDto.filterParam3) &&
        Objects.equals(this.filterParam4, usageChargeTemplateDto.filterParam4) &&
        Objects.equals(this.filterExpression, usageChargeTemplateDto.filterExpression) &&
        Objects.equals(this.filterExpressionSpark, usageChargeTemplateDto.filterExpressionSpark) &&
        Objects.equals(this.priority, usageChargeTemplateDto.priority) &&
        Objects.equals(this.triggerNextCharge, usageChargeTemplateDto.triggerNextCharge) &&
        Objects.equals(this.triggerNextChargeEL, usageChargeTemplateDto.triggerNextChargeEL);
  }

  @Override
  public int hashCode() {
    return Objects.hash(id, code, description, updatedCode, disabled, invoiceSubCategory, amountEditable, languageDescriptions, inputUnitDescription, ratingUnitDescription, unitMultiplicator, unitNbDecimal, roundingModeDtoEnum, revenueRecognitionRuleCode, customFields, triggeredEdrs, filterParam1, filterParam2, filterParam3, filterParam4, filterExpression, filterExpressionSpark, priority, triggerNextCharge, triggerNextChargeEL);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class UsageChargeTemplateDto {\n");
    sb.append("    id: ").append(toIndentedString(id)).append("\n");
    sb.append("    code: ").append(toIndentedString(code)).append("\n");
    sb.append("    description: ").append(toIndentedString(description)).append("\n");
    sb.append("    updatedCode: ").append(toIndentedString(updatedCode)).append("\n");
    sb.append("    disabled: ").append(toIndentedString(disabled)).append("\n");
    sb.append("    invoiceSubCategory: ").append(toIndentedString(invoiceSubCategory)).append("\n");
    sb.append("    amountEditable: ").append(toIndentedString(amountEditable)).append("\n");
    sb.append("    languageDescriptions: ").append(toIndentedString(languageDescriptions)).append("\n");
    sb.append("    inputUnitDescription: ").append(toIndentedString(inputUnitDescription)).append("\n");
    sb.append("    ratingUnitDescription: ").append(toIndentedString(ratingUnitDescription)).append("\n");
    sb.append("    unitMultiplicator: ").append(toIndentedString(unitMultiplicator)).append("\n");
    sb.append("    unitNbDecimal: ").append(toIndentedString(unitNbDecimal)).append("\n");
    sb.append("    roundingModeDtoEnum: ").append(toIndentedString(roundingModeDtoEnum)).append("\n");
    sb.append("    revenueRecognitionRuleCode: ").append(toIndentedString(revenueRecognitionRuleCode)).append("\n");
    sb.append("    customFields: ").append(toIndentedString(customFields)).append("\n");
    sb.append("    triggeredEdrs: ").append(toIndentedString(triggeredEdrs)).append("\n");
    sb.append("    filterParam1: ").append(toIndentedString(filterParam1)).append("\n");
    sb.append("    filterParam2: ").append(toIndentedString(filterParam2)).append("\n");
    sb.append("    filterParam3: ").append(toIndentedString(filterParam3)).append("\n");
    sb.append("    filterParam4: ").append(toIndentedString(filterParam4)).append("\n");
    sb.append("    filterExpression: ").append(toIndentedString(filterExpression)).append("\n");
    sb.append("    filterExpressionSpark: ").append(toIndentedString(filterExpressionSpark)).append("\n");
    sb.append("    priority: ").append(toIndentedString(priority)).append("\n");
    sb.append("    triggerNextCharge: ").append(toIndentedString(triggerNextCharge)).append("\n");
    sb.append("    triggerNextChargeEL: ").append(toIndentedString(triggerNextChargeEL)).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 String toIndentedString(java.lang.Object o) {
    if (o == null) {
      return "null";
    }
    return o.toString().replace("\n", "\n    ");
  }

}

