# Class: RenameCalendarType

## tibco.objectapi.dac.workcal.RenameCalendarType

#### new RenameCalendarType()

Constructs a new RenameCalendarType.

The following features are supported:

- `New Name`
- `New Namespace`
- `Old Name`
- `Old Namespace`
- `Version`

### Members

#### newName :string

The new name of the calendar. If the calendar is only to be moved, this should be the same as the original value. This must be unique within the given namespace. This property holds the value of the 'New Name' attribute.

##### Type:

- string

#### newNamespace :string

The namespace to which the calendar is to be moved. If the calendar is not to be moved, this should be the same as the original value. Calendars sharing the same namespace must have unique names. A namespace of null (or not specified) is still considered a valid namespace. This property holds the value of the 'New Namespace' attribute.

##### Type:

- string

#### oldName :string

The name of the calendar to be renamed or moved. This property holds the value of the 'Old Name' attribute.

##### Type:

- string

#### oldNamespace :string

The namespace in which the calendar currently resides. A namespace of null is still considered a valid namespace. This property holds the value of the 'Old Namespace' attribute.

##### Type:

- string

#### version :number

The version number used to detect concurrent updates to the same Calendar. The value should be taken from the response of the orginal request to getCalender. This property holds the value of the 'Version' attribute.

##### Type:

- number