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

ir.sadeghpro.insta.client.Comment Maven / Gradle / Ivy

Go to download

this is library for working with instagram without using instagram api. this library use instagram web browser

The newest version!
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package ir.sadeghpro.insta.client;

/**
 *
 * @author peter
 */
public class Comment {

    private String id;
    private String text;
    private int timestamp;
    private String ownerId;
    private String ownerProfilePicUrl;
    private String ownerUsername;
    private String postShortCode;

    /**
     * get id of comment on instagram
     *
     * @return String id
     */
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    /**
     * get text of comment
     *
     * @return String text
     */
    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    /**
     * get time of comment in timestamp format
     *
     * @return int timestamp
     */
    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    /**
     * get owner id of comment
     *
     * @return String owner id
     */
    public String getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    /**
     * get owner profile picture of comment
     *
     * @return String profile picture url
     */
    public String getOwnerProfilePicUrl() {
        return ownerProfilePicUrl;
    }

    public void setOwnerProfilePicUrl(String ownerProfilePicUrl) {
        this.ownerProfilePicUrl = ownerProfilePicUrl;
    }

    /**
     * get owner username of comment
     *
     * @return String username
     */
    public String getOwnerUsername() {
        return ownerUsername;
    }

    public void setOwnerUsername(String ownerUsername) {
        this.ownerUsername = ownerUsername;
    }

    /**
     * get post short code that this comment for it
     *
     * @return String username
     */
    public String getPostShortCode() {
        return postShortCode;
    }

    public void setPostShortCode(String postShortCode) {
        this.postShortCode = postShortCode;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy