IssueCommentContractInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. apimanagement. fluent. models. IssueCommentContractInner
- com.
- com.
public final class IssueCommentContractInner
extends ProxyResource
Issue Comment Contract details.
Constructor Summary
Constructor | Description |
---|---|
IssueCommentContractInner() |
Creates an instance of Issue |
Method Summary
Modifier and Type | Method and Description |
---|---|
Offset |
createdDate()
Get the created |
String |
text()
Get the text property: Comment text. |
String |
userId()
Get the user |
void |
validate()
Validates the instance. |
Issue |
withCreatedDate(OffsetDateTime createdDate)
Set the created |
Issue |
withText(String text)
Set the text property: Comment text. |
Issue |
withUserId(String userId)
Set the user |
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:
text
public String text()
Get the text property: Comment text.
Returns:
userId
public String userId()
Get the userId property: A resource identifier for the user who left the comment.
Returns:
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:
Returns:
withText
public IssueCommentContractInner withText(String text)
Set the text property: Comment text.
Parameters:
Returns:
withUserId
public IssueCommentContractInner withUserId(String userId)
Set the userId property: A resource identifier for the user who left the comment.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for