All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
io.stigg.api.operations.fragment.MockPaywallPlanFragment Maven / Gradle / Ivy
//
// 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 io.stigg.api.operations.type.PricingType;
import io.stigg.api.operations.type.TrialPeriodUnits;
import java.lang.Double;
import java.lang.Object;
import java.lang.Override;
import java.lang.String;
import java.util.List;
public class MockPaywallPlanFragment implements Fragment.Data {
public String refId;
public String description;
public String displayName;
public String billingId;
public Object additionalMetaData;
public Product product;
public BasePlan basePlan;
public List entitlements;
public List inheritedEntitlements;
public List prices;
public PricingType pricingType;
public DefaultTrialConfig defaultTrialConfig;
public List compatibleAddons;
/**
* Plan's compatible package groups
*/
public List compatiblePackageGroups;
private transient volatile int $hashCode;
private transient volatile boolean $hashCodeMemoized;
private transient volatile String $toString;
public MockPaywallPlanFragment(String refId, String description, String displayName,
String billingId, Object additionalMetaData, Product product, BasePlan basePlan,
List entitlements, List inheritedEntitlements,
List prices, PricingType pricingType, DefaultTrialConfig defaultTrialConfig,
List compatibleAddons,
List compatiblePackageGroups) {
this.refId = refId;
this.description = description;
this.displayName = displayName;
this.billingId = billingId;
this.additionalMetaData = additionalMetaData;
this.product = product;
this.basePlan = basePlan;
this.entitlements = entitlements;
this.inheritedEntitlements = inheritedEntitlements;
this.prices = prices;
this.pricingType = pricingType;
this.defaultTrialConfig = defaultTrialConfig;
this.compatibleAddons = compatibleAddons;
this.compatiblePackageGroups = compatiblePackageGroups;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof MockPaywallPlanFragment) {
MockPaywallPlanFragment that = (MockPaywallPlanFragment) o;
return ((this.refId == null) ? (that.refId == null) : this.refId.equals(that.refId))
&&((this.description == null) ? (that.description == null) : this.description.equals(that.description))
&&((this.displayName == null) ? (that.displayName == null) : this.displayName.equals(that.displayName))
&&((this.billingId == null) ? (that.billingId == null) : this.billingId.equals(that.billingId))
&&((this.additionalMetaData == null) ? (that.additionalMetaData == null) : this.additionalMetaData.equals(that.additionalMetaData))
&&((this.product == null) ? (that.product == null) : this.product.equals(that.product))
&&((this.basePlan == null) ? (that.basePlan == null) : this.basePlan.equals(that.basePlan))
&&((this.entitlements == null) ? (that.entitlements == null) : this.entitlements.equals(that.entitlements))
&&((this.inheritedEntitlements == null) ? (that.inheritedEntitlements == null) : this.inheritedEntitlements.equals(that.inheritedEntitlements))
&&((this.prices == null) ? (that.prices == null) : this.prices.equals(that.prices))
&&((this.pricingType == null) ? (that.pricingType == null) : this.pricingType.equals(that.pricingType))
&&((this.defaultTrialConfig == null) ? (that.defaultTrialConfig == null) : this.defaultTrialConfig.equals(that.defaultTrialConfig))
&&((this.compatibleAddons == null) ? (that.compatibleAddons == null) : this.compatibleAddons.equals(that.compatibleAddons))
&&((this.compatiblePackageGroups == null) ? (that.compatiblePackageGroups == null) : this.compatiblePackageGroups.equals(that.compatiblePackageGroups));
}
return false;
}
@Override
public int hashCode() {
if (!$hashCodeMemoized) {
int __h = 1;
__h *= 1000003;
__h ^= (refId == null) ? 0 : refId.hashCode();
__h *= 1000003;
__h ^= (description == null) ? 0 : description.hashCode();
__h *= 1000003;
__h ^= (displayName == null) ? 0 : displayName.hashCode();
__h *= 1000003;
__h ^= (billingId == null) ? 0 : billingId.hashCode();
__h *= 1000003;
__h ^= (additionalMetaData == null) ? 0 : additionalMetaData.hashCode();
__h *= 1000003;
__h ^= (product == null) ? 0 : product.hashCode();
__h *= 1000003;
__h ^= (basePlan == null) ? 0 : basePlan.hashCode();
__h *= 1000003;
__h ^= (entitlements == null) ? 0 : entitlements.hashCode();
__h *= 1000003;
__h ^= (inheritedEntitlements == null) ? 0 : inheritedEntitlements.hashCode();
__h *= 1000003;
__h ^= (prices == null) ? 0 : prices.hashCode();
__h *= 1000003;
__h ^= (pricingType == null) ? 0 : pricingType.hashCode();
__h *= 1000003;
__h ^= (defaultTrialConfig == null) ? 0 : defaultTrialConfig.hashCode();
__h *= 1000003;
__h ^= (compatibleAddons == null) ? 0 : compatibleAddons.hashCode();
__h *= 1000003;
__h ^= (compatiblePackageGroups == null) ? 0 : compatiblePackageGroups.hashCode();
$hashCode = __h;
$hashCodeMemoized = true;
}
return $hashCode;
}
@Override
public String toString() {
if ($toString == null) {
$toString = "MockPaywallPlanFragment{"
+ "refId=" + refId + ", "
+ "description=" + description + ", "
+ "displayName=" + displayName + ", "
+ "billingId=" + billingId + ", "
+ "additionalMetaData=" + additionalMetaData + ", "
+ "product=" + product + ", "
+ "basePlan=" + basePlan + ", "
+ "entitlements=" + entitlements + ", "
+ "inheritedEntitlements=" + inheritedEntitlements + ", "
+ "prices=" + prices + ", "
+ "pricingType=" + pricingType + ", "
+ "defaultTrialConfig=" + defaultTrialConfig + ", "
+ "compatibleAddons=" + compatibleAddons + ", "
+ "compatiblePackageGroups=" + compatiblePackageGroups
+ "}";
}
return $toString;
}
public static class Product {
public String refId;
public String displayName;
public String description;
public Object additionalMetaData;
private transient volatile int $hashCode;
private transient volatile boolean $hashCodeMemoized;
private transient volatile String $toString;
public Product(String refId, String displayName, String description,
Object additionalMetaData) {
this.refId = refId;
this.displayName = displayName;
this.description = description;
this.additionalMetaData = additionalMetaData;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Product) {
Product that = (Product) o;
return ((this.refId == null) ? (that.refId == null) : this.refId.equals(that.refId))
&&((this.displayName == null) ? (that.displayName == null) : this.displayName.equals(that.displayName))
&&((this.description == null) ? (that.description == null) : this.description.equals(that.description))
&&((this.additionalMetaData == null) ? (that.additionalMetaData == null) : this.additionalMetaData.equals(that.additionalMetaData));
}
return false;
}
@Override
public int hashCode() {
if (!$hashCodeMemoized) {
int __h = 1;
__h *= 1000003;
__h ^= (refId == null) ? 0 : refId.hashCode();
__h *= 1000003;
__h ^= (displayName == null) ? 0 : displayName.hashCode();
__h *= 1000003;
__h ^= (description == null) ? 0 : description.hashCode();
__h *= 1000003;
__h ^= (additionalMetaData == null) ? 0 : additionalMetaData.hashCode();
$hashCode = __h;
$hashCodeMemoized = true;
}
return $hashCode;
}
@Override
public String toString() {
if ($toString == null) {
$toString = "Product{"
+ "refId=" + refId + ", "
+ "displayName=" + displayName + ", "
+ "description=" + description + ", "
+ "additionalMetaData=" + additionalMetaData
+ "}";
}
return $toString;
}
}
public static class BasePlan {
public String refId;
public String displayName;
private transient volatile int $hashCode;
private transient volatile boolean $hashCodeMemoized;
private transient volatile String $toString;
public BasePlan(String refId, String displayName) {
this.refId = refId;
this.displayName = displayName;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof BasePlan) {
BasePlan that = (BasePlan) o;
return ((this.refId == null) ? (that.refId == null) : this.refId.equals(that.refId))
&&((this.displayName == null) ? (that.displayName == null) : this.displayName.equals(that.displayName));
}
return false;
}
@Override
public int hashCode() {
if (!$hashCodeMemoized) {
int __h = 1;
__h *= 1000003;
__h ^= (refId == null) ? 0 : refId.hashCode();
__h *= 1000003;
__h ^= (displayName == null) ? 0 : displayName.hashCode();
$hashCode = __h;
$hashCodeMemoized = true;
}
return $hashCode;
}
@Override
public String toString() {
if ($toString == null) {
$toString = "BasePlan{"
+ "refId=" + refId + ", "
+ "displayName=" + displayName
+ "}";
}
return $toString;
}
}
public static class Entitlement {
public String __typename;
/**
* Synthetic field for 'MockPaywallPackageEntitlementFragment'
*/
public MockPaywallPackageEntitlementFragment mockPaywallPackageEntitlementFragment;
private transient volatile int $hashCode;
private transient volatile boolean $hashCodeMemoized;
private transient volatile String $toString;
public Entitlement(String __typename,
MockPaywallPackageEntitlementFragment mockPaywallPackageEntitlementFragment) {
this.__typename = __typename;
this.mockPaywallPackageEntitlementFragment = mockPaywallPackageEntitlementFragment;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Entitlement) {
Entitlement that = (Entitlement) o;
return ((this.__typename == null) ? (that.__typename == null) : this.__typename.equals(that.__typename))
&&((this.mockPaywallPackageEntitlementFragment == null) ? (that.mockPaywallPackageEntitlementFragment == null) : this.mockPaywallPackageEntitlementFragment.equals(that.mockPaywallPackageEntitlementFragment));
}
return false;
}
@Override
public int hashCode() {
if (!$hashCodeMemoized) {
int __h = 1;
__h *= 1000003;
__h ^= (__typename == null) ? 0 : __typename.hashCode();
__h *= 1000003;
__h ^= (mockPaywallPackageEntitlementFragment == null) ? 0 : mockPaywallPackageEntitlementFragment.hashCode();
$hashCode = __h;
$hashCodeMemoized = true;
}
return $hashCode;
}
@Override
public String toString() {
if ($toString == null) {
$toString = "Entitlement{"
+ "__typename=" + __typename + ", "
+ "mockPaywallPackageEntitlementFragment=" + mockPaywallPackageEntitlementFragment
+ "}";
}
return $toString;
}
}
public static class InheritedEntitlement {
public String __typename;
/**
* Synthetic field for 'MockPaywallPackageEntitlementFragment'
*/
public MockPaywallPackageEntitlementFragment mockPaywallPackageEntitlementFragment;
private transient volatile int $hashCode;
private transient volatile boolean $hashCodeMemoized;
private transient volatile String $toString;
public InheritedEntitlement(String __typename,
MockPaywallPackageEntitlementFragment mockPaywallPackageEntitlementFragment) {
this.__typename = __typename;
this.mockPaywallPackageEntitlementFragment = mockPaywallPackageEntitlementFragment;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof InheritedEntitlement) {
InheritedEntitlement that = (InheritedEntitlement) o;
return ((this.__typename == null) ? (that.__typename == null) : this.__typename.equals(that.__typename))
&&((this.mockPaywallPackageEntitlementFragment == null) ? (that.mockPaywallPackageEntitlementFragment == null) : this.mockPaywallPackageEntitlementFragment.equals(that.mockPaywallPackageEntitlementFragment));
}
return false;
}
@Override
public int hashCode() {
if (!$hashCodeMemoized) {
int __h = 1;
__h *= 1000003;
__h ^= (__typename == null) ? 0 : __typename.hashCode();
__h *= 1000003;
__h ^= (mockPaywallPackageEntitlementFragment == null) ? 0 : mockPaywallPackageEntitlementFragment.hashCode();
$hashCode = __h;
$hashCodeMemoized = true;
}
return $hashCode;
}
@Override
public String toString() {
if ($toString == null) {
$toString = "InheritedEntitlement{"
+ "__typename=" + __typename + ", "
+ "mockPaywallPackageEntitlementFragment=" + mockPaywallPackageEntitlementFragment
+ "}";
}
return $toString;
}
}
public static class Price {
public String __typename;
/**
* Synthetic field for 'MockPaywallPriceFragment'
*/
public MockPaywallPriceFragment mockPaywallPriceFragment;
private transient volatile int $hashCode;
private transient volatile boolean $hashCodeMemoized;
private transient volatile String $toString;
public Price(String __typename, MockPaywallPriceFragment mockPaywallPriceFragment) {
this.__typename = __typename;
this.mockPaywallPriceFragment = mockPaywallPriceFragment;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Price) {
Price that = (Price) o;
return ((this.__typename == null) ? (that.__typename == null) : this.__typename.equals(that.__typename))
&&((this.mockPaywallPriceFragment == null) ? (that.mockPaywallPriceFragment == null) : this.mockPaywallPriceFragment.equals(that.mockPaywallPriceFragment));
}
return false;
}
@Override
public int hashCode() {
if (!$hashCodeMemoized) {
int __h = 1;
__h *= 1000003;
__h ^= (__typename == null) ? 0 : __typename.hashCode();
__h *= 1000003;
__h ^= (mockPaywallPriceFragment == null) ? 0 : mockPaywallPriceFragment.hashCode();
$hashCode = __h;
$hashCodeMemoized = true;
}
return $hashCode;
}
@Override
public String toString() {
if ($toString == null) {
$toString = "Price{"
+ "__typename=" + __typename + ", "
+ "mockPaywallPriceFragment=" + mockPaywallPriceFragment
+ "}";
}
return $toString;
}
}
public static class DefaultTrialConfig {
public Double duration;
public TrialPeriodUnits units;
/**
* Budget configuration
*/
public Budget budget;
private transient volatile int $hashCode;
private transient volatile boolean $hashCodeMemoized;
private transient volatile String $toString;
public DefaultTrialConfig(Double duration, TrialPeriodUnits units, Budget budget) {
this.duration = duration;
this.units = units;
this.budget = budget;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof DefaultTrialConfig) {
DefaultTrialConfig that = (DefaultTrialConfig) o;
return ((this.duration == null) ? (that.duration == null) : this.duration.equals(that.duration))
&&((this.units == null) ? (that.units == null) : this.units.equals(that.units))
&&((this.budget == null) ? (that.budget == null) : this.budget.equals(that.budget));
}
return false;
}
@Override
public int hashCode() {
if (!$hashCodeMemoized) {
int __h = 1;
__h *= 1000003;
__h ^= (duration == null) ? 0 : duration.hashCode();
__h *= 1000003;
__h ^= (units == null) ? 0 : units.hashCode();
__h *= 1000003;
__h ^= (budget == null) ? 0 : budget.hashCode();
$hashCode = __h;
$hashCodeMemoized = true;
}
return $hashCode;
}
@Override
public String toString() {
if ($toString == null) {
$toString = "DefaultTrialConfig{"
+ "duration=" + duration + ", "
+ "units=" + units + ", "
+ "budget=" + budget
+ "}";
}
return $toString;
}
}
public static class CompatibleAddon {
public String __typename;
/**
* Synthetic field for 'MockPaywallAddonFragment'
*/
public MockPaywallAddonFragment mockPaywallAddonFragment;
private transient volatile int $hashCode;
private transient volatile boolean $hashCodeMemoized;
private transient volatile String $toString;
public CompatibleAddon(String __typename, MockPaywallAddonFragment mockPaywallAddonFragment) {
this.__typename = __typename;
this.mockPaywallAddonFragment = mockPaywallAddonFragment;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof CompatibleAddon) {
CompatibleAddon that = (CompatibleAddon) o;
return ((this.__typename == null) ? (that.__typename == null) : this.__typename.equals(that.__typename))
&&((this.mockPaywallAddonFragment == null) ? (that.mockPaywallAddonFragment == null) : this.mockPaywallAddonFragment.equals(that.mockPaywallAddonFragment));
}
return false;
}
@Override
public int hashCode() {
if (!$hashCodeMemoized) {
int __h = 1;
__h *= 1000003;
__h ^= (__typename == null) ? 0 : __typename.hashCode();
__h *= 1000003;
__h ^= (mockPaywallAddonFragment == null) ? 0 : mockPaywallAddonFragment.hashCode();
$hashCode = __h;
$hashCodeMemoized = true;
}
return $hashCode;
}
@Override
public String toString() {
if ($toString == null) {
$toString = "CompatibleAddon{"
+ "__typename=" + __typename + ", "
+ "mockPaywallAddonFragment=" + mockPaywallAddonFragment
+ "}";
}
return $toString;
}
}
public static class CompatiblePackageGroup {
public String __typename;
/**
* Synthetic field for 'MockPaywallPlanCompatiblePackageGroupsFragment'
*/
public MockPaywallPlanCompatiblePackageGroupsFragment mockPaywallPlanCompatiblePackageGroupsFragment;
private transient volatile int $hashCode;
private transient volatile boolean $hashCodeMemoized;
private transient volatile String $toString;
public CompatiblePackageGroup(String __typename,
MockPaywallPlanCompatiblePackageGroupsFragment mockPaywallPlanCompatiblePackageGroupsFragment) {
this.__typename = __typename;
this.mockPaywallPlanCompatiblePackageGroupsFragment = mockPaywallPlanCompatiblePackageGroupsFragment;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof CompatiblePackageGroup) {
CompatiblePackageGroup that = (CompatiblePackageGroup) o;
return ((this.__typename == null) ? (that.__typename == null) : this.__typename.equals(that.__typename))
&&((this.mockPaywallPlanCompatiblePackageGroupsFragment == null) ? (that.mockPaywallPlanCompatiblePackageGroupsFragment == null) : this.mockPaywallPlanCompatiblePackageGroupsFragment.equals(that.mockPaywallPlanCompatiblePackageGroupsFragment));
}
return false;
}
@Override
public int hashCode() {
if (!$hashCodeMemoized) {
int __h = 1;
__h *= 1000003;
__h ^= (__typename == null) ? 0 : __typename.hashCode();
__h *= 1000003;
__h ^= (mockPaywallPlanCompatiblePackageGroupsFragment == null) ? 0 : mockPaywallPlanCompatiblePackageGroupsFragment.hashCode();
$hashCode = __h;
$hashCodeMemoized = true;
}
return $hashCode;
}
@Override
public String toString() {
if ($toString == null) {
$toString = "CompatiblePackageGroup{"
+ "__typename=" + __typename + ", "
+ "mockPaywallPlanCompatiblePackageGroupsFragment=" + mockPaywallPlanCompatiblePackageGroupsFragment
+ "}";
}
return $toString;
}
}
public static class Budget {
/**
* The maximum spending limit
*/
public Double limit;
private transient volatile int $hashCode;
private transient volatile boolean $hashCodeMemoized;
private transient volatile String $toString;
public Budget(Double limit) {
this.limit = limit;
}
@Override
public boolean equals(Object o) {
if (o == this) {
return true;
}
if (o instanceof Budget) {
Budget that = (Budget) o;
return ((this.limit == null) ? (that.limit == null) : this.limit.equals(that.limit));
}
return false;
}
@Override
public int hashCode() {
if (!$hashCodeMemoized) {
int __h = 1;
__h *= 1000003;
__h ^= (limit == null) ? 0 : limit.hashCode();
$hashCode = __h;
$hashCodeMemoized = true;
}
return $hashCode;
}
@Override
public String toString() {
if ($toString == null) {
$toString = "Budget{"
+ "limit=" + limit
+ "}";
}
return $toString;
}
}
}