Class InputErrors
java.lang.Object
com.hubspot.slack.client.models.dialog.form.InputErrors
- All Implemented Interfaces:
InputErrorsIF
@Generated(from="InputErrorsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class InputErrors
extends Object
implements InputErrorsIF
Immutable implementation of
InputErrorsIF.
Use the builder to create immutable instances:
InputErrors.builder().
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic InputErrors.Builderbuilder()Creates a builder forInputErrors.static InputErrorscopyOf(InputErrorsIF instance) Creates an immutable copy of aInputErrorsIFvalue.booleanThis instance is equal to all instances ofInputErrorsthat have equal attribute values.inthashCode()Computes a hash code from attributes:errors.toString()Prints the immutable valueInputErrorswith attribute values.final InputErrorswithErrors(InputError... elements) Copy the current immutable object with elements that replace the content oferrors.final InputErrorswithErrors(Iterable<? extends InputError> elements) Copy the current immutable object with elements that replace the content oferrors.
-
Method Details
-
getErrors
- Specified by:
getErrorsin interfaceInputErrorsIF- Returns:
- The value of the
errorsattribute
-
withErrors
Copy the current immutable object with elements that replace the content oferrors.- Parameters:
elements- The elements to set- Returns:
- A modified copy of
thisobject
-
withErrors
Copy the current immutable object with elements that replace the content oferrors. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
elements- An iterable of errors elements to set- Returns:
- A modified copy or
thisif not changed
-
equals
This instance is equal to all instances ofInputErrorsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:errors. -
toString
Prints the immutable valueInputErrorswith attribute values. -
copyOf
Creates an immutable copy of aInputErrorsIFvalue. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance- The instance to copy- Returns:
- A copied immutable InputErrors instance
-
builder
Creates a builder forInputErrors.InputErrors.builder() .addErrors|addAllErrors(InputError) //errorselements .build();- Returns:
- A new InputErrors builder
-