IssueCommentContractInner Class

public final class IssueCommentContractInner
extends ProxyResource

Issue Comment Contract details.

Constructor Summary

Constructor Description
IssueCommentContractInner()

Creates an instance of IssueCommentContractInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime createdDate()

Get the createdDate property: Date and time when the comment was created.

String text()

Get the text property: Comment text.

String userId()

Get the userId property: A resource identifier for the user who left the comment.

void validate()

Validates the instance.

IssueCommentContractInner withCreatedDate(OffsetDateTime createdDate)

Set the createdDate property: Date and time when the comment was created.

IssueCommentContractInner withText(String text)

Set the text property: Comment text.

IssueCommentContractInner withUserId(String userId)

Set the userId property: A resource identifier for the user who left the comment.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

IssueCommentContractInner

public IssueCommentContractInner()

Creates an instance of IssueCommentContractInner class.

Method Details

createdDate

public OffsetDateTime createdDate()

Get the createdDate property: Date and time when the comment was created.

Returns:

the createdDate value.

text

public String text()

Get the text property: Comment text.

Returns:

the text value.

userId

public String userId()

Get the userId property: A resource identifier for the user who left the comment.

Returns:

the userId value.

validate

public void validate()

Validates the instance.

withCreatedDate

public IssueCommentContractInner withCreatedDate(OffsetDateTime createdDate)

Set the createdDate property: Date and time when the comment was created.

Parameters:

createdDate - the createdDate value to set.

Returns:

the IssueCommentContractInner object itself.

withText

public IssueCommentContractInner withText(String text)

Set the text property: Comment text.

Parameters:

text - the text value to set.

Returns:

the IssueCommentContractInner object itself.

withUserId

public IssueCommentContractInner withUserId(String userId)

Set the userId property: A resource identifier for the user who left the comment.

Parameters:

userId - the userId value to set.

Returns:

the IssueCommentContractInner object itself.

Applies to