PHP Class Instagram\API\Response\CommentsMediaResponse

Inheritance: extends BaseResponse
显示文件 Open project: liamcottle/instagram-sdk-php

Protected Properties

Property Type Description
$caption Model\Caption Caption
$caption_is_edited boolean Caption is Edited
$comment_count integer Comment Count
$comments Instagram\API\Response\Model\Comment[] Comment
$has_more_comments boolean Has more Comments
$next_max_id string Next Maximum Id

Public Methods

Method Description
getCaption ( ) : Model\Caption
getCommentCount ( ) : integer
getComments ( ) : Comment[]
getNextMaxId ( ) : string
isCaptionIsEdited ( ) : boolean
isHasMoreComments ( ) : boolean
setCaption ( Model\Caption $caption )
setCaptionIsEdited ( boolean $caption_is_edited )
setCommentCount ( integer $comment_count )
setComments ( Comment[] $comments )
setHasMoreComments ( boolean $has_more_comments )
setNextMaxId ( string $next_max_id )

Method Details

getCaption() public method

public getCaption ( ) : Model\Caption
return Model\Caption

getCommentCount() public method

public getCommentCount ( ) : integer
return integer

getComments() public method

public getComments ( ) : Comment[]
return Instagram\API\Response\Model\Comment[]

getNextMaxId() public method

public getNextMaxId ( ) : string
return string

isCaptionIsEdited() public method

public isCaptionIsEdited ( ) : boolean
return boolean

isHasMoreComments() public method

public isHasMoreComments ( ) : boolean
return boolean

setCaption() public method

public setCaption ( Model\Caption $caption )
$caption Model\Caption

setCaptionIsEdited() public method

public setCaptionIsEdited ( boolean $caption_is_edited )
$caption_is_edited boolean

setCommentCount() public method

public setCommentCount ( integer $comment_count )
$comment_count integer

setComments() public method

public setComments ( Comment[] $comments )
$comments Instagram\API\Response\Model\Comment[]

setHasMoreComments() public method

public setHasMoreComments ( boolean $has_more_comments )
$has_more_comments boolean

setNextMaxId() public method

public setNextMaxId ( string $next_max_id )
$next_max_id string

Property Details

$caption protected_oe property

Caption
protected Model\Caption $caption
return Model\Caption

$caption_is_edited protected_oe property

Caption is Edited
protected bool $caption_is_edited
return boolean

$comment_count protected_oe property

Comment Count
protected int $comment_count
return integer

$comments protected_oe property

Comment
protected Comment[],Instagram\API\Response\Model $comments
return Instagram\API\Response\Model\Comment[]

$has_more_comments protected_oe property

Has more Comments
protected bool $has_more_comments
return boolean

$next_max_id protected_oe property

Next Maximum Id
protected string $next_max_id
return string