package com.seewo.remote.lan.customer.op.entity;

import h.i;

/* JADX INFO: compiled from: ColorTempEntity.kt */
/* JADX INFO: loaded from: classes.dex */
@i
public final class RGBGain {
    private int blue;
    private int green;
    private int red;

    public RGBGain(int i2, int i3, int i4) {
        this.red = i2;
        this.green = i3;
        this.blue = i4;
    }

    public static /* synthetic */ RGBGain copy$default(RGBGain rGBGain, int i2, int i3, int i4, int i5, Object obj) {
        if ((i5 & 1) != 0) {
            i2 = rGBGain.red;
        }
        if ((i5 & 2) != 0) {
            i3 = rGBGain.green;
        }
        if ((i5 & 4) != 0) {
            i4 = rGBGain.blue;
        }
        return rGBGain.copy(i2, i3, i4);
    }

    public final int component1() {
        return this.red;
    }

    public final int component2() {
        return this.green;
    }

    public final int component3() {
        return this.blue;
    }

    public final RGBGain copy(int i2, int i3, int i4) {
        return new RGBGain(i2, i3, i4);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof RGBGain)) {
            return false;
        }
        RGBGain rGBGain = (RGBGain) obj;
        return this.red == rGBGain.red && this.green == rGBGain.green && this.blue == rGBGain.blue;
    }

    public final int getBlue() {
        return this.blue;
    }

    public final int getGreen() {
        return this.green;
    }

    public final int getRed() {
        return this.red;
    }

    public int hashCode() {
        return (((this.red * 31) + this.green) * 31) + this.blue;
    }

    public final void setBlue(int i2) {
        this.blue = i2;
    }

    public final void setGreen(int i2) {
        this.green = i2;
    }

    public final void setRed(int i2) {
        this.red = i2;
    }

    public String toString() {
        return "RGBGain(red=" + this.red + ", green=" + this.green + ", blue=" + this.blue + ')';
    }
}
