package com.discord.widgets.chat.input.models; import c.d.b.a.a; import d0.z.d.m; import kotlin.ranges.IntRange; /* compiled from: OptionRange.kt */ public final class OptionRange { private final IntRange param; private final IntRange value; public OptionRange(IntRange intRange, IntRange intRange2) { m.checkNotNullParameter(intRange, "param"); m.checkNotNullParameter(intRange2, "value"); this.param = intRange; this.value = intRange2; } public static /* synthetic */ OptionRange copy$default(OptionRange optionRange, IntRange intRange, IntRange intRange2, int i, Object obj) { if ((i & 1) != 0) { intRange = optionRange.param; } if ((i & 2) != 0) { intRange2 = optionRange.value; } return optionRange.copy(intRange, intRange2); } public final IntRange component1() { return this.param; } public final IntRange component2() { return this.value; } public final OptionRange copy(IntRange intRange, IntRange intRange2) { m.checkNotNullParameter(intRange, "param"); m.checkNotNullParameter(intRange2, "value"); return new OptionRange(intRange, intRange2); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof OptionRange)) { return false; } OptionRange optionRange = (OptionRange) obj; return m.areEqual(this.param, optionRange.param) && m.areEqual(this.value, optionRange.value); } public final IntRange getParam() { return this.param; } public final IntRange getValue() { return this.value; } public int hashCode() { IntRange intRange = this.param; int i = 0; int hashCode = (intRange != null ? intRange.hashCode() : 0) * 31; IntRange intRange2 = this.value; if (intRange2 != null) { i = intRange2.hashCode(); } return hashCode + i; } public String toString() { StringBuilder K = a.K("OptionRange(param="); K.append(this.param); K.append(", value="); K.append(this.value); K.append(")"); return K.toString(); } }