// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from inttypes.djinni

package com.dropbox.djinni.test;

public final class AssortedIntegers {


    /*package*/ final byte mEight;

    /*package*/ final short mSixteen;

    /*package*/ final int mThirtytwo;

    /*package*/ final long mSixtyfour;

    /*package*/ final Byte mOEight;

    /*package*/ final Short mOSixteen;

    /*package*/ final Integer mOThirtytwo;

    /*package*/ final Long mOSixtyfour;

    public AssortedIntegers(
            byte eight,
            short sixteen,
            int thirtytwo,
            long sixtyfour,
            Byte oEight,
            Short oSixteen,
            Integer oThirtytwo,
            Long oSixtyfour) {
        this.mEight = eight;
        this.mSixteen = sixteen;
        this.mThirtytwo = thirtytwo;
        this.mSixtyfour = sixtyfour;
        this.mOEight = oEight;
        this.mOSixteen = oSixteen;
        this.mOThirtytwo = oThirtytwo;
        this.mOSixtyfour = oSixtyfour;
    }

    public byte getEight() {
        return mEight;
    }

    public short getSixteen() {
        return mSixteen;
    }

    public int getThirtytwo() {
        return mThirtytwo;
    }

    public long getSixtyfour() {
        return mSixtyfour;
    }

    public Byte getOEight() {
        return mOEight;
    }

    public Short getOSixteen() {
        return mOSixteen;
    }

    public Integer getOThirtytwo() {
        return mOThirtytwo;
    }

    public Long getOSixtyfour() {
        return mOSixtyfour;
    }

    @Override
    public boolean equals(Object obj) {
        if (!(obj instanceof AssortedIntegers)) {
            return false;
        }
        AssortedIntegers other = (AssortedIntegers) obj;
        return this.mEight == other.mEight &&
                this.mSixteen == other.mSixteen &&
                this.mThirtytwo == other.mThirtytwo &&
                this.mSixtyfour == other.mSixtyfour &&
                ((this.mOEight == null && other.mOEight == null) || (this.mOEight != null && this.mOEight.equals(other.mOEight))) &&
                ((this.mOSixteen == null && other.mOSixteen == null) || (this.mOSixteen != null && this.mOSixteen.equals(other.mOSixteen))) &&
                ((this.mOThirtytwo == null && other.mOThirtytwo == null) || (this.mOThirtytwo != null && this.mOThirtytwo.equals(other.mOThirtytwo))) &&
                ((this.mOSixtyfour == null && other.mOSixtyfour == null) || (this.mOSixtyfour != null && this.mOSixtyfour.equals(other.mOSixtyfour)));
    }
}
