You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
setLastName method should be added after running 'Update autovalue generated methods', instead all methods are removed and only setLastName is added (running action the second time generates all method as before, but there is no Update autovalue generated methods)
package com.model;
import com.google.auto.value.AutoValue;
import com.google.gson.annotations.SerializedName;
import javax.annotation.Nullable;
@AutoValue
public abstract class PatientModel {
@Nullable
@SerializedName("id")
public abstract String getId();
@Nullable
@SerializedName("first_name")
public abstract String getFirstName();
@Nullable
@SerializedName("last_name")
public abstract String getLastName();
public static Builder builder() {
return new AutoValue_PatientModel.Builder();
}
@AutoValue.Builder
public abstract static class Builder {
public abstract Builder setId(String newId);
public abstract Builder setFirstName(String newFirstName);
public abstract PatientModel build();
}
}
The text was updated successfully, but these errors were encountered:
setLastName method should be added after running 'Update autovalue generated methods', instead all methods are removed and only setLastName is added (running action the second time generates all method as before, but there is no Update autovalue generated methods)
The text was updated successfully, but these errors were encountered: