-
Notifications
You must be signed in to change notification settings - Fork 122
Model
Michael Dostál edited this page Nov 14, 2018
·
1 revision
@JsonApiModelConfig(options: ModelOptions)
export class Post extends JsonApiModel { }
options
:
type
-
baseUrl
- if not specified, the globalbaseUrl
will be used -
apiVersion
- if not specified, the globalapiVersion
will be used -
modelEndpointUrl
- if not specified,type
will be used instead -
meta
- optional, metadata model
@Attribute
@NestedAttribute
@BelongsTo
@HasMany