Class FilesInfoParams
java.lang.Object
com.hubspot.slack.client.methods.params.files.FilesInfoParams
- All Implemented Interfaces:
FilesInfoParamsIF
@Generated(from="FilesInfoParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class FilesInfoParams
extends Object
implements FilesInfoParamsIF
Immutable implementation of
FilesInfoParamsIF.
Use the builder to create immutable instances:
FilesInfoParams.builder().
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FilesInfoParams.Builderbuilder()Creates a builder forFilesInfoParams.static FilesInfoParamscopyOf(FilesInfoParamsIF instance) Creates an immutable copy of aFilesInfoParamsIFvalue.booleanThis instance is equal to all instances ofFilesInfoParamsthat have equal attribute values.fileId()inthashCode()Computes a hash code from attributes:fileId.toString()Prints the immutable valueFilesInfoParamswith attribute values.final FilesInfoParamswithFileId(String value) Copy the current immutable object by setting a value for thefileIdattribute.
-
Method Details
-
fileId
- Specified by:
fileIdin interfaceFilesInfoParamsIF- Returns:
- The value of the
fileIdattribute
-
withFileId
Copy the current immutable object by setting a value for thefileIdattribute. An equals check used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for fileId- Returns:
- A modified copy or the
thisobject
-
equals
This instance is equal to all instances ofFilesInfoParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:fileId. -
toString
Prints the immutable valueFilesInfoParamswith attribute values. -
copyOf
Creates an immutable copy of aFilesInfoParamsIFvalue. 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 FilesInfoParams instance
-
builder
Creates a builder forFilesInfoParams.FilesInfoParams.builder() .setFileId(String) // requiredfileId.build();- Returns:
- A new FilesInfoParams builder
-