# Class: RenameCalendarRequest

## tibco.objectapi.service.request.RenameCalendarRequest

#### new RenameCalendarRequest(name, destName, version)

Object RenameCalendarRequest Usage: `RestApiService.getWorkCalService().renameCalendar(request, callback);`

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | string | Existing name of the calendar (within the given namespace).
`destName` | string | The new name of the calendar.
`version` | number | (Java type: int) Existing version of the calendar; used to detect concurrent updates to the same calendar.

Since:
  - 4.0.0

### Members

#### destNamespace :string

Query parameter: 'newnamespace' (optional) The new namespace of the calendar, if this is being changed.

##### Type:

- string

Since:
  - 4.0.0

#### namespace :string

Query parameter: 'namespace' (optional) Existing namespace of the calendar.

##### Type:

- string

Since:
  - 4.0.0