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

io.stigg.api.operations.fragment.CustomerPortalConfigurationFragment Maven / Gradle / Ivy

There is a newer version: 2.129.0
Show newest version
//
// AUTO-GENERATED FILE. DO NOT MODIFY.
//
// This class was automatically generated by Apollo GraphQL version '3.8.2'.
//
package io.stigg.api.operations.fragment;

import com.apollographql.apollo3.api.Fragment;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;

public class CustomerPortalConfigurationFragment implements Fragment.Data {
  public Palette palette;

  public Typography typography;

  public String customCss;

  private transient volatile int $hashCode;

  private transient volatile boolean $hashCodeMemoized;

  private transient volatile String $toString;

  public CustomerPortalConfigurationFragment(Palette palette, Typography typography,
      String customCss) {
    this.palette = palette;
    this.typography = typography;
    this.customCss = customCss;
  }

  @Override
  public boolean equals(Object o) {
    if (o == this) {
      return true;
    }
    if (o instanceof CustomerPortalConfigurationFragment) {
      CustomerPortalConfigurationFragment that = (CustomerPortalConfigurationFragment) o;
      return ((this.palette == null) ? (that.palette == null) : this.palette.equals(that.palette))
       &&((this.typography == null) ? (that.typography == null) : this.typography.equals(that.typography))
       &&((this.customCss == null) ? (that.customCss == null) : this.customCss.equals(that.customCss));
    }
    return false;
  }

  @Override
  public int hashCode() {
    if (!$hashCodeMemoized) {
      int __h = 1;
      __h *= 1000003;
      __h ^= (palette == null) ? 0 : palette.hashCode();
      __h *= 1000003;
      __h ^= (typography == null) ? 0 : typography.hashCode();
      __h *= 1000003;
      __h ^= (customCss == null) ? 0 : customCss.hashCode();
      $hashCode = __h;
      $hashCodeMemoized = true;
    }
    return $hashCode;
  }

  @Override
  public String toString() {
    if ($toString == null) {
      $toString = "CustomerPortalConfigurationFragment{"
        + "palette=" + palette + ", "
        + "typography=" + typography + ", "
        + "customCss=" + customCss
        + "}";
    }
    return $toString;
  }

  public static class Palette {
    public String primary;

    public String textColor;

    public String backgroundColor;

    public String borderColor;

    public String currentPlanBackground;

    public String iconsColor;

    public String paywallBackgroundColor;

    private transient volatile int $hashCode;

    private transient volatile boolean $hashCodeMemoized;

    private transient volatile String $toString;

    public Palette(String primary, String textColor, String backgroundColor, String borderColor,
        String currentPlanBackground, String iconsColor, String paywallBackgroundColor) {
      this.primary = primary;
      this.textColor = textColor;
      this.backgroundColor = backgroundColor;
      this.borderColor = borderColor;
      this.currentPlanBackground = currentPlanBackground;
      this.iconsColor = iconsColor;
      this.paywallBackgroundColor = paywallBackgroundColor;
    }

    @Override
    public boolean equals(Object o) {
      if (o == this) {
        return true;
      }
      if (o instanceof Palette) {
        Palette that = (Palette) o;
        return ((this.primary == null) ? (that.primary == null) : this.primary.equals(that.primary))
         &&((this.textColor == null) ? (that.textColor == null) : this.textColor.equals(that.textColor))
         &&((this.backgroundColor == null) ? (that.backgroundColor == null) : this.backgroundColor.equals(that.backgroundColor))
         &&((this.borderColor == null) ? (that.borderColor == null) : this.borderColor.equals(that.borderColor))
         &&((this.currentPlanBackground == null) ? (that.currentPlanBackground == null) : this.currentPlanBackground.equals(that.currentPlanBackground))
         &&((this.iconsColor == null) ? (that.iconsColor == null) : this.iconsColor.equals(that.iconsColor))
         &&((this.paywallBackgroundColor == null) ? (that.paywallBackgroundColor == null) : this.paywallBackgroundColor.equals(that.paywallBackgroundColor));
      }
      return false;
    }

    @Override
    public int hashCode() {
      if (!$hashCodeMemoized) {
        int __h = 1;
        __h *= 1000003;
        __h ^= (primary == null) ? 0 : primary.hashCode();
        __h *= 1000003;
        __h ^= (textColor == null) ? 0 : textColor.hashCode();
        __h *= 1000003;
        __h ^= (backgroundColor == null) ? 0 : backgroundColor.hashCode();
        __h *= 1000003;
        __h ^= (borderColor == null) ? 0 : borderColor.hashCode();
        __h *= 1000003;
        __h ^= (currentPlanBackground == null) ? 0 : currentPlanBackground.hashCode();
        __h *= 1000003;
        __h ^= (iconsColor == null) ? 0 : iconsColor.hashCode();
        __h *= 1000003;
        __h ^= (paywallBackgroundColor == null) ? 0 : paywallBackgroundColor.hashCode();
        $hashCode = __h;
        $hashCodeMemoized = true;
      }
      return $hashCode;
    }

    @Override
    public String toString() {
      if ($toString == null) {
        $toString = "Palette{"
          + "primary=" + primary + ", "
          + "textColor=" + textColor + ", "
          + "backgroundColor=" + backgroundColor + ", "
          + "borderColor=" + borderColor + ", "
          + "currentPlanBackground=" + currentPlanBackground + ", "
          + "iconsColor=" + iconsColor + ", "
          + "paywallBackgroundColor=" + paywallBackgroundColor
          + "}";
      }
      return $toString;
    }
  }

  public static class Typography {
    public String __typename;

    /**
     * Synthetic field for 'TypographyConfigurationFragment'
     */
    public TypographyConfigurationFragment typographyConfigurationFragment;

    private transient volatile int $hashCode;

    private transient volatile boolean $hashCodeMemoized;

    private transient volatile String $toString;

    public Typography(String __typename,
        TypographyConfigurationFragment typographyConfigurationFragment) {
      this.__typename = __typename;
      this.typographyConfigurationFragment = typographyConfigurationFragment;
    }

    @Override
    public boolean equals(Object o) {
      if (o == this) {
        return true;
      }
      if (o instanceof Typography) {
        Typography that = (Typography) o;
        return ((this.__typename == null) ? (that.__typename == null) : this.__typename.equals(that.__typename))
         &&((this.typographyConfigurationFragment == null) ? (that.typographyConfigurationFragment == null) : this.typographyConfigurationFragment.equals(that.typographyConfigurationFragment));
      }
      return false;
    }

    @Override
    public int hashCode() {
      if (!$hashCodeMemoized) {
        int __h = 1;
        __h *= 1000003;
        __h ^= (__typename == null) ? 0 : __typename.hashCode();
        __h *= 1000003;
        __h ^= (typographyConfigurationFragment == null) ? 0 : typographyConfigurationFragment.hashCode();
        $hashCode = __h;
        $hashCodeMemoized = true;
      }
      return $hashCode;
    }

    @Override
    public String toString() {
      if ($toString == null) {
        $toString = "Typography{"
          + "__typename=" + __typename + ", "
          + "typographyConfigurationFragment=" + typographyConfigurationFragment
          + "}";
      }
      return $toString;
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy