updateCommentPropertyById method
Future<ContentProperty>
updateCommentPropertyById({
- required int commentId,
- required int propertyId,
- required ContentPropertyUpdateRequest body,
Update a content property for a comment by its id.
Permissions required: Permission to edit the comment.
Implementation
Future<ContentProperty> updateCommentPropertyById(
{required int commentId,
required int propertyId,
required ContentPropertyUpdateRequest body}) async {
return ContentProperty.fromJson(await _client.send(
'put',
'comments/{comment-id}/properties/{property-id}',
pathParameters: {
'comment-id': '$commentId',
'property-id': '$propertyId',
},
body: body.toJson(),
));
}