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

twitter4jads.impl.NewAdsAudienceApiParams Maven / Gradle / Ivy

The newest version!
package twitter4jads.impl;

import com.google.gson.annotations.SerializedName;
import twitter4jads.models.ads.audience.TailoredAudienceUserDetails;

import java.util.Set;

/**
 * Twitter V4 Audience API params structure
 *
 *
 * @date 25/11/18
 * @time 10:03 PM
 */
class NewAdsAudienceApiParams {

    @SerializedName("users")
    private Set tailoredAudienceUserDetails;

    @SerializedName("effective_at")
    private String effectiveAt;     //in ISO 8601

    @SerializedName("expire_at")
    private String expireAt;        //in ISO 8601

    public Set getTailoredAudienceUserDetails() {
        return tailoredAudienceUserDetails;
    }

    public void setTailoredAudienceUserDetails(Set tailoredAudienceUserDetails) {
        this.tailoredAudienceUserDetails = tailoredAudienceUserDetails;
    }

    public String getEffectiveAt() {
        return effectiveAt;
    }

    public void setEffectiveAt(String effectiveAt) {
        this.effectiveAt = effectiveAt;
    }

    public String getExpireAt() {
        return expireAt;
    }

    public void setExpireAt(String expireAt) {
        this.expireAt = expireAt;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy