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

com.chrisdempewolf.pinterest.fields.pin.BoardPinFields.kt Maven / Gradle / Ivy

There is a newer version: 4.2.1
Show newest version
package com.chrisdempewolf.pinterest.fields.pin

import com.chrisdempewolf.pinterest.fields.BaseFields
import com.chrisdempewolf.pinterest.fields.Fields

class BoardPinFields : BaseFields() {

    override fun withAll(): Fields
            = this.withID().withName().withURL().withCounts()

    fun withID(): BoardPinFields {
        fields = fields.plus("id")
        return this
    }

    fun withName(): BoardPinFields {
        fields = fields.plus("name")
        return this
    }

    fun withURL(): BoardPinFields {
        fields = fields.plus("url")
        return this
    }

    fun withCounts(): BoardPinFields {
        fields = fields.plus("counts")
        return this
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy