Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -306,41 +306,73 @@ public Builder user(String user) {
return this;
}

/**
* @deprecated use {@link #N(Integer)} instead.
*/
@Deprecated(forRemoval = true, since = "1.0.0-M8")
public Builder withN(Integer n) {
this.options.setN(n);
return this;
}

/**
* @deprecated use {@link #model(String)} instead.
*/
@Deprecated(forRemoval = true, since = "1.0.0-M8")
public Builder withModel(String model) {
this.options.setModel(model);
return this;
}

/**
* @deprecated use {@link #quality(String)} instead.
*/
@Deprecated(forRemoval = true, since = "1.0.0-M8")
public Builder withQuality(String quality) {
this.options.setQuality(quality);
return this;
}

/**
* @deprecated use {@link #responseFormat(String)} instead.
*/
@Deprecated(forRemoval = true, since = "1.0.0-M8")
public Builder withResponseFormat(String responseFormat) {
this.options.setResponseFormat(responseFormat);
return this;
}

/**
* @deprecated use {@link #width(Integer)} instead.
*/
@Deprecated(forRemoval = true, since = "1.0.0-M8")
public Builder withWidth(Integer width) {
this.options.setWidth(width);
return this;
}

/**
* @deprecated use {@link #height(Integer)} instead.
*/
@Deprecated(forRemoval = true, since = "1.0.0-M8")
public Builder withHeight(Integer height) {
this.options.setHeight(height);
return this;
}

/**
* @deprecated use {@link #style(String)} instead.
*/
@Deprecated(forRemoval = true, since = "1.0.0-M8")
public Builder withStyle(String style) {
this.options.setStyle(style);
return this;
}

/**
* @deprecated use {@link #user(String)} instead.
*/
@Deprecated(forRemoval = true, since = "1.0.0-M8")
public Builder withUser(String user) {
this.options.setUser(user);
return this;
Expand Down