
**Inheritance:**
java.lang.Object, [com.aspose.email.DeletionOptions](../../com.aspose.email/deletionoptions)
```
public class CalendarDeletionOptions extends DeletionOptions
```

Defines parameters for item deletion
## Constructors

| Constructor | Description |
| --- | --- |
| [CalendarDeletionOptions()](#CalendarDeletionOptions--) | Initializes a new instance of the [CalendarDeletionOptions](../../com.aspose.email/calendardeletionoptions) class. |
| [CalendarDeletionOptions(int type)](#CalendarDeletionOptions-int-) | Initializes a new instance of the [CalendarDeletionOptions](../../com.aspose.email/calendardeletionoptions) class. |
| [CalendarDeletionOptions(int type, int notyficationType)](#CalendarDeletionOptions-int-int-) | Initializes a new instance of the [CalendarDeletionOptions](../../com.aspose.email/calendardeletionoptions) class. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getClass()](#getClass--) |  |
| [getDefault()](#getDefault--) | Gets instance of the [DeletionOptions](../../com.aspose.email/deletionoptions) object with settings uses by default |
| [getDeletePermanently()](#getDeletePermanently--) | Gets instance of the [DeletionOptions](../../com.aspose.email/deletionoptions) object with settings for permanent deletion |
| [getMoveToDeletedItems()](#getMoveToDeletedItems--) | Gets instance of the [DeletionOptions](../../com.aspose.email/deletionoptions) object with settings for moving to deleted items |
| [getNotyficationType()](#getNotyficationType--) | Gets or sets value which indicates how members of event has to be notified |
| [getType()](#getType--) | Type of deletion |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setNotyficationType(int value)](#setNotyficationType-int-) | Gets or sets value which indicates how members of event has to be notified |
| [setType(int value)](#setType-int-) | Type of deletion |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### CalendarDeletionOptions() {#CalendarDeletionOptions--}
```
public CalendarDeletionOptions()
```


Initializes a new instance of the [CalendarDeletionOptions](../../com.aspose.email/calendardeletionoptions) class.

### CalendarDeletionOptions(int type) {#CalendarDeletionOptions-int-}
```
public CalendarDeletionOptions(int type)
```


Initializes a new instance of the [CalendarDeletionOptions](../../com.aspose.email/calendardeletionoptions) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| type | int | Type of deletion |

### CalendarDeletionOptions(int type, int notyficationType) {#CalendarDeletionOptions-int-int-}
```
public CalendarDeletionOptions(int type, int notyficationType)
```


Initializes a new instance of the [CalendarDeletionOptions](../../com.aspose.email/calendardeletionoptions) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| type | int | Type of deletion |
| notyficationType | int | indicates how members of event has to be notified |

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getDefault() {#getDefault--}
```
public static CalendarDeletionOptions getDefault()
```


Gets instance of the [DeletionOptions](../../com.aspose.email/deletionoptions) object with settings uses by default

**Returns:**
[CalendarDeletionOptions](../../com.aspose.email/calendardeletionoptions)
### getDeletePermanently() {#getDeletePermanently--}
```
public static CalendarDeletionOptions getDeletePermanently()
```


Gets instance of the [DeletionOptions](../../com.aspose.email/deletionoptions) object with settings for permanent deletion

**Returns:**
[CalendarDeletionOptions](../../com.aspose.email/calendardeletionoptions)
### getMoveToDeletedItems() {#getMoveToDeletedItems--}
```
public static CalendarDeletionOptions getMoveToDeletedItems()
```


Gets instance of the [DeletionOptions](../../com.aspose.email/deletionoptions) object with settings for moving to deleted items

**Returns:**
[CalendarDeletionOptions](../../com.aspose.email/calendardeletionoptions)
### getNotyficationType() {#getNotyficationType--}
```
public final int getNotyficationType()
```


Gets or sets value which indicates how members of event has to be notified

**Returns:**
int
### getType() {#getType--}
```
public final int getType()
```


Type of deletion

**Returns:**
int
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setNotyficationType(int value) {#setNotyficationType-int-}
```
public final void setNotyficationType(int value)
```


Gets or sets value which indicates how members of event has to be notified

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setType(int value) {#setType-int-}
```
public final void setType(int value)
```


Type of deletion

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

