Package io.stigg.api.operations.type
Class EntitlementCheckResult
- java.lang.Object
-
- io.stigg.api.operations.type.EntitlementCheckResult
-
public class EntitlementCheckResult extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEntitlementCheckResult.Builder
-
Field Summary
Fields Modifier and Type Field Description com.apollographql.apollo3.api.Optional<AccessDeniedReason>accessDeniedReasoncom.apollographql.apollo3.api.Optional<java.lang.Double>currentUsagejava.lang.BooleanhasAccesscom.apollographql.apollo3.api.Optional<java.lang.Boolean>hasSoftLimitcom.apollographql.apollo3.api.Optional<java.lang.Boolean>hasUnlimitedUsagecom.apollographql.apollo3.api.Optional<MonthlyResetPeriodConfigInput>monthlyResetPeriodConfigurationcom.apollographql.apollo3.api.Optional<java.time.Instant>nextResetDatecom.apollographql.apollo3.api.Optional<java.lang.Double>requestedUsagecom.apollographql.apollo3.api.Optional<EntitlementResetPeriod>resetPeriodcom.apollographql.apollo3.api.Optional<java.lang.Double>usageLimitcom.apollographql.apollo3.api.Optional<WeeklyResetPeriodConfigInput>weeklyResetPeriodConfigurationcom.apollographql.apollo3.api.Optional<YearlyResetPeriodConfigInput>yearlyResetPeriodConfiguration
-
Constructor Summary
Constructors Constructor Description EntitlementCheckResult(com.apollographql.apollo3.api.Optional<AccessDeniedReason> accessDeniedReason, com.apollographql.apollo3.api.Optional<java.lang.Double> currentUsage, java.lang.Boolean hasAccess, com.apollographql.apollo3.api.Optional<java.lang.Boolean> hasSoftLimit, com.apollographql.apollo3.api.Optional<java.lang.Boolean> hasUnlimitedUsage, com.apollographql.apollo3.api.Optional<MonthlyResetPeriodConfigInput> monthlyResetPeriodConfiguration, com.apollographql.apollo3.api.Optional<java.time.Instant> nextResetDate, com.apollographql.apollo3.api.Optional<java.lang.Double> requestedUsage, com.apollographql.apollo3.api.Optional<EntitlementResetPeriod> resetPeriod, com.apollographql.apollo3.api.Optional<java.lang.Double> usageLimit, com.apollographql.apollo3.api.Optional<WeeklyResetPeriodConfigInput> weeklyResetPeriodConfiguration, com.apollographql.apollo3.api.Optional<YearlyResetPeriodConfigInput> yearlyResetPeriodConfiguration)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntitlementCheckResult.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
accessDeniedReason
public final com.apollographql.apollo3.api.Optional<AccessDeniedReason> accessDeniedReason
-
currentUsage
public final com.apollographql.apollo3.api.Optional<java.lang.Double> currentUsage
-
hasAccess
public final java.lang.Boolean hasAccess
-
hasSoftLimit
public final com.apollographql.apollo3.api.Optional<java.lang.Boolean> hasSoftLimit
-
hasUnlimitedUsage
public final com.apollographql.apollo3.api.Optional<java.lang.Boolean> hasUnlimitedUsage
-
monthlyResetPeriodConfiguration
public final com.apollographql.apollo3.api.Optional<MonthlyResetPeriodConfigInput> monthlyResetPeriodConfiguration
-
nextResetDate
public final com.apollographql.apollo3.api.Optional<java.time.Instant> nextResetDate
-
requestedUsage
public final com.apollographql.apollo3.api.Optional<java.lang.Double> requestedUsage
-
resetPeriod
public final com.apollographql.apollo3.api.Optional<EntitlementResetPeriod> resetPeriod
-
usageLimit
public final com.apollographql.apollo3.api.Optional<java.lang.Double> usageLimit
-
weeklyResetPeriodConfiguration
public final com.apollographql.apollo3.api.Optional<WeeklyResetPeriodConfigInput> weeklyResetPeriodConfiguration
-
yearlyResetPeriodConfiguration
public final com.apollographql.apollo3.api.Optional<YearlyResetPeriodConfigInput> yearlyResetPeriodConfiguration
-
-
Constructor Detail
-
EntitlementCheckResult
public EntitlementCheckResult(com.apollographql.apollo3.api.Optional<AccessDeniedReason> accessDeniedReason, com.apollographql.apollo3.api.Optional<java.lang.Double> currentUsage, java.lang.Boolean hasAccess, com.apollographql.apollo3.api.Optional<java.lang.Boolean> hasSoftLimit, com.apollographql.apollo3.api.Optional<java.lang.Boolean> hasUnlimitedUsage, com.apollographql.apollo3.api.Optional<MonthlyResetPeriodConfigInput> monthlyResetPeriodConfiguration, com.apollographql.apollo3.api.Optional<java.time.Instant> nextResetDate, com.apollographql.apollo3.api.Optional<java.lang.Double> requestedUsage, com.apollographql.apollo3.api.Optional<EntitlementResetPeriod> resetPeriod, com.apollographql.apollo3.api.Optional<java.lang.Double> usageLimit, com.apollographql.apollo3.api.Optional<WeeklyResetPeriodConfigInput> weeklyResetPeriodConfiguration, com.apollographql.apollo3.api.Optional<YearlyResetPeriodConfigInput> yearlyResetPeriodConfiguration)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static EntitlementCheckResult.Builder builder()
-
-