created withMetaData method (ApiConstructor)