updateCommentPropertyById method
Future<ContentProperty>
updateCommentPropertyById({
- required int commentId,
- required int propertyId,
- bool? serializeIdsAsStrings,
- 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,
bool? serializeIdsAsStrings,
required ContentPropertyUpdateRequest body}) async {
return ContentProperty.fromJson(await _client.send(
'put',
'comments/{comment-id}/properties/{property-id}',
pathParameters: {
'comment-id': '$commentId',
'property-id': '$propertyId',
},
queryParameters: {
if (serializeIdsAsStrings != null)
'serialize-ids-as-strings': '$serializeIdsAsStrings',
},
body: body.toJson(),
));
}