Preparing search index...
The search index is not available
Distributed Lab | Web-Kit
Distributed Lab | Web-Kit
@distributedlab/jac
JsonApiBodyBuilder
Class JsonApiBodyBuilder
Hierarchy
JsonApiBodyBuilder
Index
Constructors
constructor
Properties
#body
Methods
build
set
Attributes
set
Data
setID
set
Included
set
Relationships
set
Type
Constructors
constructor
new
Json
Api
Body
Builder
(
)
:
JsonApiBodyBuilder
Returns
JsonApiBodyBuilder
Properties
Private
Readonly
#body
#body
:
JsonApiRecord
Methods
build
build
(
)
:
JsonApiRecord
Returns
JsonApiRecord
set
Attributes
set
Attributes
(
attributes
:
JsonApiAttributes
)
:
JsonApiBodyBuilder
Parameters
attributes:
JsonApiAttributes
Returns
JsonApiBodyBuilder
set
Data
set
Data
<
T
>
(
data
:
JsonApiRecordData
<
T
>
)
:
JsonApiBodyBuilder
Type Parameters
T
extends
string
=
string
Parameters
data:
JsonApiRecordData
<
T
>
Returns
JsonApiBodyBuilder
setID
setID
(
id
:
string
)
:
JsonApiBodyBuilder
Parameters
id:
string
Returns
JsonApiBodyBuilder
set
Included
set
Included
(
included
:
JsonApiBodyBuilder
[]
)
:
JsonApiBodyBuilder
Parameters
included:
JsonApiBodyBuilder
[]
Returns
JsonApiBodyBuilder
set
Relationships
set
Relationships
<
T
>
(
relationships
:
JsonApiRelationships
<
T
>
)
:
JsonApiBodyBuilder
Type Parameters
T
extends
string
=
string
Parameters
relationships:
JsonApiRelationships
<
T
>
Returns
JsonApiBodyBuilder
set
Type
set
Type
<
T
>
(
type
:
T
)
:
JsonApiBodyBuilder
Type Parameters
T
extends
string
=
string
Parameters
type:
T
Returns
JsonApiBodyBuilder
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Distributed
Lab |
Web-
Kit
@distributedlab/fetcher
@distributedlab/jac
@distributedlab/reactivity
@distributedlab/tools
@distributedlab/w3p
Json
Api
Body
Builder
constructor
#body
build
set
Attributes
set
Data
setID
set
Included
set
Relationships
set
Type
Generated using
TypeDoc