blob: dcfae47156ce2bd6ea65e534c04efed4d5c54203 [file] [log] [blame]
{
"$schema": "http://json-schema.org/draft-03/schema",
"$license": [
"http://www.apache.org/licenses/LICENSE-2.0"
],
"id": "#",
"javaType": "org.apache.streams.twitter.api.UpdateAccountSettingsRequest",
"javaInterfaces": [
"java.io.Serializable"
],
"description": "https://developer.twitter.com/en/docs/accounts-and-users/manage-account-settings/api-reference/post-account-settings",
"properties": {
"sleep_time_enabled": {
"description": "When set to true , t or 1 , will enable sleep time for the user. Sleep time is the time when push or SMS notifications should not be sent to the user.",
"type": "boolean"
},
"start_sleep_time": {
"description": "The hour that sleep time should begin if it is enabled. The value for this parameter should be provided in ISO8601 format (i.e. 00-23). The time is considered to be in the same timezone as the user’s time_zone setting.",
"type": "integer"
},
"end_sleep_time": {
"description": "The hour that sleep time should end if it is enabled. The value for this parameter should be provided in ISO8601 format (i.e. 00-23). The time is considered to be in the same timezone as the user’s time_zone setting.",
"type": "boolean"
},
"time_zone": {
"description": "The timezone dates and times should be displayed in for the user. The timezone must be one of the Rails TimeZone names.",
"type": "string"
},
"trend_location_woeid": {
"description": "The Yahoo! Where On Earth ID to use as the user’s default trend location. Global information is available by using 1 as the WOEID.",
"type": "string"
},
"lang": {
"description": "The language which Twitter should render in for this user. The language must be specified by the appropriate two letter ISO 639-1 representation.",
"type": "string"
}
}
}