All Downloads are FREE. Search and download functionalities are using the official Maven repository.

model.User.kt Maven / Gradle / Ivy

There is a newer version: 24.9.4
Show newest version
/*
 * Copyright (C) 2017/2021 e-voyageurs technologies
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package ai.tock.bot.connector.twitter.model

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import com.fasterxml.jackson.annotation.JsonProperty

@JsonIgnoreProperties(ignoreUnknown = true)
data class User(
    val id: String,
    val lang: String?,
    val location: String?,
    @JsonProperty("created_timestamp") val createdTimestamp: Long? = null,
    @JsonProperty("created_at") val created: String? = null,
    val url: String? = null,
    val description: String? = null,
    val name: String,
    @JsonProperty("screen_name") val screenName: String,
    val protected: Boolean,
    val verified: Boolean,
    @JsonProperty("followers_count") val followersCount: Int,
    @JsonProperty("friends_count") val friendsCount: Int,
    @JsonProperty("statuses_count") val statusesCount: Int,
    @JsonProperty("profile_image_url_https") val profileImageUrlHttps: String? = null,
    @JsonProperty("utc_offset") val utcOffset: String? = null
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy