new VacationResponse(jmap, optsopt)
This class represents a JMAP VacationResponse.
The VacationResponse object represents the state of vacation-response related settings for an account.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
jmap |
Client | The Client instance that created this VacationResponse. |
|||||||||||||||||||||||||||||||||||||||||
opts |
Object |
<optional> |
The optional properties of this VacationResponse. Properties
|
- Source:
- See:
Extends
Methods
(static) fromJSONObject(jmap, object) → {VacationResponse}
Creates an VacationResponse from its JSON representation.
Parameters:
Name | Type | Description |
---|---|---|
jmap |
Client | The Client instance that created this VacationResponse. |
object |
Object | The JSON representation of the VacationResponse, as a Javascript object. |
- Source:
Returns:
- Type
- VacationResponse
toJSONObject()
Creates a JSON representation from this VacationResponse.
- Source:
Returns:
JSON object with only owned properties and non-null default values.