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().

  • Method Details

    • fileId

      public String fileId()
      Specified by:
      fileId in interface FilesInfoParamsIF
      Returns:
      The value of the fileId attribute
    • withFileId

      public final FilesInfoParams withFileId(String value)
      Copy the current immutable object by setting a value for the fileId attribute. An equals check used to prevent copying of the same value by returning this.
      Parameters:
      value - A new value for fileId
      Returns:
      A modified copy or the this object
    • equals

      public boolean equals(@Nullable Object another)
      This instance is equal to all instances of FilesInfoParams that have equal attribute values.
      Overrides:
      equals in class Object
      Returns:
      true if this is equal to another instance
    • hashCode

      public int hashCode()
      Computes a hash code from attributes: fileId.
      Overrides:
      hashCode in class Object
      Returns:
      hashCode value
    • toString

      public String toString()
      Prints the immutable value FilesInfoParams with attribute values.
      Overrides:
      toString in class Object
      Returns:
      A string representation of the value
    • copyOf

      public static FilesInfoParams copyOf(FilesInfoParamsIF instance)
      Creates an immutable copy of a FilesInfoParamsIF value. 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

      public static FilesInfoParams.Builder builder()
      Creates a builder for FilesInfoParams.
       FilesInfoParams.builder()
          .setFileId(String) // required fileId
          .build();
       
      Returns:
      A new FilesInfoParams builder