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 RGBOffset {
    private int blue;
    private int green;
    private int red;

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

    public static /* synthetic */ RGBOffset copy$default(RGBOffset rGBOffset, int i2, int i3, int i4, int i5, Object obj) {
        if ((i5 & 1) != 0) {
            i2 = rGBOffset.red;
        }
        if ((i5 & 2) != 0) {
            i3 = rGBOffset.green;
        }
        if ((i5 & 4) != 0) {
            i4 = rGBOffset.blue;
        }
        return rGBOffset.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 RGBOffset copy(int i2, int i3, int i4) {
        return new RGBOffset(i2, i3, i4);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof RGBOffset)) {
            return false;
        }
        RGBOffset rGBOffset = (RGBOffset) obj;
        return this.red == rGBOffset.red && this.green == rGBOffset.green && this.blue == rGBOffset.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 "RGBOffset(red=" + this.red + ", green=" + this.green + ", blue=" + this.blue + ')';
    }
}
