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