/*
 * 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 org.openapitools.client.model.ActionStatus;
import org.openapitools.client.model.CustomerBrandsDto;
import org.openapitools.client.model.CustomerCategoriesDto;
import org.openapitools.client.model.TitlesDto;

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

  public static final String SERIALIZED_NAME_CUSTOMER_BRANDS = "customerBrands";
  @SerializedName(SERIALIZED_NAME_CUSTOMER_BRANDS)
  private CustomerBrandsDto customerBrands;

  public static final String SERIALIZED_NAME_CUSTOMER_CATEGORIES = "customerCategories";
  @SerializedName(SERIALIZED_NAME_CUSTOMER_CATEGORIES)
  private CustomerCategoriesDto customerCategories;

  public static final String SERIALIZED_NAME_TITLES = "titles";
  @SerializedName(SERIALIZED_NAME_TITLES)
  private TitlesDto titles;


  public GetCustomerConfigurationResponseDto actionStatus(ActionStatus actionStatus) {
    
    this.actionStatus = actionStatus;
    return this;
  }

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

  public ActionStatus getActionStatus() {
    return actionStatus;
  }



  public void setActionStatus(ActionStatus actionStatus) {
    this.actionStatus = actionStatus;
  }


  public GetCustomerConfigurationResponseDto customerBrands(CustomerBrandsDto customerBrands) {
    
    this.customerBrands = customerBrands;
    return this;
  }

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

  public CustomerBrandsDto getCustomerBrands() {
    return customerBrands;
  }



  public void setCustomerBrands(CustomerBrandsDto customerBrands) {
    this.customerBrands = customerBrands;
  }


  public GetCustomerConfigurationResponseDto customerCategories(CustomerCategoriesDto customerCategories) {
    
    this.customerCategories = customerCategories;
    return this;
  }

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

  public CustomerCategoriesDto getCustomerCategories() {
    return customerCategories;
  }



  public void setCustomerCategories(CustomerCategoriesDto customerCategories) {
    this.customerCategories = customerCategories;
  }


  public GetCustomerConfigurationResponseDto titles(TitlesDto titles) {
    
    this.titles = titles;
    return this;
  }

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

  public TitlesDto getTitles() {
    return titles;
  }



  public void setTitles(TitlesDto titles) {
    this.titles = titles;
  }


  @Override
  public boolean equals(java.lang.Object o) {
    if (this == o) {
      return true;
    }
    if (o == null || getClass() != o.getClass()) {
      return false;
    }
    GetCustomerConfigurationResponseDto getCustomerConfigurationResponseDto = (GetCustomerConfigurationResponseDto) o;
    return Objects.equals(this.actionStatus, getCustomerConfigurationResponseDto.actionStatus) &&
        Objects.equals(this.customerBrands, getCustomerConfigurationResponseDto.customerBrands) &&
        Objects.equals(this.customerCategories, getCustomerConfigurationResponseDto.customerCategories) &&
        Objects.equals(this.titles, getCustomerConfigurationResponseDto.titles);
  }

  @Override
  public int hashCode() {
    return Objects.hash(actionStatus, customerBrands, customerCategories, titles);
  }


  @Override
  public String toString() {
    StringBuilder sb = new StringBuilder();
    sb.append("class GetCustomerConfigurationResponseDto {\n");
    sb.append("    actionStatus: ").append(toIndentedString(actionStatus)).append("\n");
    sb.append("    customerBrands: ").append(toIndentedString(customerBrands)).append("\n");
    sb.append("    customerCategories: ").append(toIndentedString(customerCategories)).append("\n");
    sb.append("    titles: ").append(toIndentedString(titles)).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    ");
  }

}

