Package fr.gouv.vitam.storage.driver.model

# Class StorageRequest

java.lang.Object
fr.gouv.vitam.storage.driver.model.StorageRequest

Direct Known Subclasses:
  `StorageAccessRequestCreationRequest`, `StorageBulkPutRequest`, `StorageCheckObjectAvailabilityRequest`, `StorageGetBulkMetadataRequest`, `StorageGetMetadataRequest`, `StorageListRequest`, `StorageObjectRequest`, `StorageOfferLogRequest`

public class StorageRequest extends Object
Holds minimal needed parameters that may be needed to send a request on the distant storage offer : container informations.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `StorageRequest(Integer tenantId, String type)`
  Initialize the needed parameters for request.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Integer`
  `getTenantId()`
  Gets the tenantId
  `String`
  `getType()`
  Gets the type
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### StorageRequest

    public StorageRequest(Integer tenantId, String type)
    Initialize the needed parameters for request.
    Parameters:
      `tenantId` - The request tenantId
      `type` - the type The request type

- ## Method Details

  - ### getTenantId

    public Integer getTenantId()
    Gets the tenantId
    Returns:
      the tenantId

  - ### getType

    public String getType()
    Gets the type
    Returns:
      the type

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`