Class FilesSharedPublicUrlParams
java.lang.Object
com.hubspot.slack.client.methods.params.files.FilesSharedPublicUrlParams
- All Implemented Interfaces:
FilesSharedPublicUrlParamsIF
@Generated(from="FilesSharedPublicUrlParamsIF",
generator="Immutables")
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
public final class FilesSharedPublicUrlParams
extends Object
implements FilesSharedPublicUrlParamsIF
Immutable implementation of
FilesSharedPublicUrlParamsIF.
Use the builder to create immutable instances:
FilesSharedPublicUrlParams.builder().
Use the static factory method to create immutable instances:
FilesSharedPublicUrlParams.of().
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classBuilds instances of typeFilesSharedPublicUrlParams. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a builder forFilesSharedPublicUrlParams.static FilesSharedPublicUrlParamscopyOf(FilesSharedPublicUrlParamsIF instance) Creates an immutable copy of aFilesSharedPublicUrlParamsIFvalue.booleanThis instance is equal to all instances ofFilesSharedPublicUrlParamsthat have equal attribute values.inthashCode()Computes a hash code from attributes:fileId.static FilesSharedPublicUrlParamsConstruct a new immutableFilesSharedPublicUrlParamsinstance.toString()Prints the immutable valueFilesSharedPublicUrlParamswith attribute values.withFileId(String value) Copy the current immutable object by setting a value for thefileIdattribute.
-
Method Details
-
getFileId
- Specified by:
getFileIdin interfaceFilesSharedPublicUrlParamsIF- 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 ofFilesSharedPublicUrlParamsthat have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:fileId. -
toString
Prints the immutable valueFilesSharedPublicUrlParamswith attribute values. -
of
Construct a new immutableFilesSharedPublicUrlParamsinstance.- Parameters:
fileId- The value for thefileIdattribute- Returns:
- An immutable FilesSharedPublicUrlParams instance
-
builder
Creates a builder forFilesSharedPublicUrlParams.FilesSharedPublicUrlParams.builder() .setFileId(String) // requiredfileId.build();- Returns:
- A new FilesSharedPublicUrlParams builder
-