--- id: v2025-comment-dto title: CommentDto pagination_label: CommentDto sidebar_label: CommentDto sidebar_class_name: powershellsdk keywords: ['powershell', 'PowerShell', 'sdk', 'CommentDto', 'V2025CommentDto'] slug: /tools/sdk/powershell/v2025/models/comment-dto tags: ['SDK', 'Software Development Kit', 'CommentDto', 'V2025CommentDto'] --- # CommentDto ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Comment** | **String** | Comment content. | [optional] **Created** | **System.DateTime** | Date and time comment was created. | [optional] **Author** | [**CommentDtoAuthor**](comment-dto-author) | | [optional] ## Examples - Prepare the resource ```powershell $CommentDto = Initialize-V2025CommentDto -Comment This is a comment. ` -Created 2017-07-11T18:45:37.098Z ` -Author null ``` - Convert the resource to JSON ```powershell $CommentDto | ConvertTo-JSON ``` [[Back to top]](#)