getCustomContentContentPropertiesById method

Future<ContentProperty> getCustomContentContentPropertiesById({
  1. required int customContentId,
  2. required int propertyId,
  3. bool? serializeIdsAsStrings,
})

Retrieves a specific Content Property by ID that is attached to a specified custom content.

Permissions required: Permission to view the page.

Implementation

Future<ContentProperty> getCustomContentContentPropertiesById(
    {required int customContentId,
    required int propertyId,
    bool? serializeIdsAsStrings}) async {
  return ContentProperty.fromJson(await _client.send(
    'get',
    'custom-content/{custom-content-id}/properties/{property-id}',
    pathParameters: {
      'custom-content-id': '$customContentId',
      'property-id': '$propertyId',
    },
    queryParameters: {
      if (serializeIdsAsStrings != null)
        'serialize-ids-as-strings': '$serializeIdsAsStrings',
    },
  ));
}