com.chrisdempewolf.pinterest.fields.CreatorFields.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pinterest-sdk Show documentation
Show all versions of pinterest-sdk Show documentation
An SDK for Pinterest's version 1.0 API.
package com.chrisdempewolf.pinterest.fields
class CreatorFields : BaseFields() {
override fun withAll(): Fields {
return withFirstName()
.withID()
.withLastName()
.withURL()
}
fun withID(): CreatorFields {
fields = fields.plus("id")
return this
}
fun withFirstName(): CreatorFields {
fields = fields.plus("first_name")
return this
}
fun withLastName(): CreatorFields {
fields = fields.plus("last_name")
return this
}
fun withURL(): CreatorFields {
fields = fields.plus("url")
return this
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy