package xyz.stream.api.entity;

import android.os.Parcel;
import android.os.Parcelable;
import androidx.annotation.NonNull;
import com.google.gson.annotations.SerializedName;

/* JADX INFO: loaded from: classes3.dex */
public class CreditsEntity implements Parcelable {
    public static final Parcelable.Creator<CreditsEntity> CREATOR = new Parcelable.Creator<CreditsEntity>() { // from class: xyz.stream.api.entity.CreditsEntity.1
        @Override // android.os.Parcelable.Creator
        public CreditsEntity createFromParcel(Parcel parcel) {
            return new CreditsEntity(parcel);
        }

        @Override // android.os.Parcelable.Creator
        public CreditsEntity[] newArray(int i10) {
            return new CreditsEntity[i10];
        }
    };

    @SerializedName("character")
    private String character;

    @SerializedName("job")
    private String job;

    @SerializedName("name")
    private String name;

    @SerializedName("person_id")
    private int personId;

    @SerializedName("profile_path")
    private String profilePath;

    public CreditsEntity(int i10, String str, String str2, String str3, String str4) {
        this.personId = i10;
        this.character = str;
        this.job = str2;
        this.name = str3;
        this.profilePath = str4;
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    public String getCharacter() {
        return this.character;
    }

    public String getJob() {
        return this.job;
    }

    public String getName() {
        return this.name;
    }

    public int getPersonId() {
        return this.personId;
    }

    public String getProfilePath() {
        return this.profilePath;
    }

    public void setCharacter(String str) {
        this.character = str;
    }

    public void setJob(String str) {
        this.job = str;
    }

    public void setName(String str) {
        this.name = str;
    }

    public void setPersonId(int i10) {
        this.personId = i10;
    }

    public void setProfilePath(String str) {
        this.profilePath = str;
    }

    @Override // android.os.Parcelable
    public void writeToParcel(@NonNull Parcel parcel, int i10) {
        parcel.writeInt(this.personId);
        parcel.writeString(this.character);
        parcel.writeString(this.job);
        parcel.writeString(this.name);
        parcel.writeString(this.profilePath);
    }

    public CreditsEntity(Parcel parcel) {
        this.personId = parcel.readInt();
        this.character = parcel.readString();
        this.job = parcel.readString();
        this.name = parcel.readString();
        this.profilePath = parcel.readString();
    }
}
