CustomContentCreateRequest.fromJson constructor
Implementation
factory CustomContentCreateRequest.fromJson(Map<String, Object?> json) {
return CustomContentCreateRequest(
type: json[r'type'] as String? ?? '',
status: json[r'status'] != null
? CustomContentCreateRequestStatus.fromValue(
json[r'status']! as String)
: null,
spaceId: json[r'spaceId'] as String?,
pageId: json[r'pageId'] as String?,
blogPostId: json[r'blogPostId'] as String?,
customContentId: json[r'customContentId'] as String?,
title: json[r'title'] as String? ?? '',
body: json[r'body'],
);
}