---
title: "SetRequestModel"
url: "https://developer.tesma.com/apis/logistics-api-26/versions/484d1e1b-3201-4f8b-800b-867280d5b6a4/schemas/SetRequestModel"
---

> Full API specification: https://developer.tesma.com/apis/logistics-api-26/versions/484d1e1b-3201-4f8b-800b-867280d5b6a4.md

# SetRequestModel

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: " API v1"
  version: 26.13.0.0
components:
  schemas:
    CacheExpiryOptions:
      properties:
        absoluteExpiration:
          format: date-time
          type:
            - "null"
            - string
        absoluteExpirationRelativeToNow:
          pattern: ^-?(\d+\.)?\d{2}:\d{2}:\d{2}(\.\d{1,7})?$
          type:
            - "null"
            - string
        slidingExpiration:
          pattern: ^-?(\d+\.)?\d{2}:\d{2}:\d{2}(\.\d{1,7})?$
          type:
            - "null"
            - string
      type: object
    SetRequestModel:
      properties:
        key:
          type:
            - "null"
            - string
        options:
          $ref: "#/components/schemas/CacheExpiryOptions"
        value:
          format: byte
          type:
            - "null"
            - string
      type: object
```
