getCommentContentPropertiesById method
Retrieves a specific Content Property by ID that is attached to a specified comment.
Permissions required: Permission to view the comment.
Implementation
Future<ContentProperty> getCommentContentPropertiesById(
{required int commentId,
required int propertyId,
bool? serializeIdsAsStrings}) async {
return ContentProperty.fromJson(await _client.send(
'get',
'comments/{comment-id}/properties/{property-id}',
pathParameters: {
'comment-id': '$commentId',
'property-id': '$propertyId',
},
queryParameters: {
if (serializeIdsAsStrings != null)
'serialize-ids-as-strings': '$serializeIdsAsStrings',
},
));
}