ExampleViewModel
An example view model.
1@gca_view_type(2class: "com.brightspot.docs.graphql.example.docs.ExampleViewModel"3name: "com.brightspot.docs.graphql.example.docs.ExampleViewModel"4template: ""5)
1type ExampleViewModel implements View, ViewModelOverlay, Record__ExampleViewModel__Data {2_id: ID3_overlay(4with: ViewModelOverlayInput5): Json6_raw(7path: String8): Json9exampleBoxedDouble: Float10exampleBoxedInteger: Int11exampleDouble: Float!12exampleImageSizeMap: ImageAttributes13exampleInteger: Int!14exampleString: String15reference: ExampleReferenceViewModel16referenceInterface: ExampleReferenceInterfaceView17}
Directives
gca_view_type
1@gca_view_type(2class: "com.brightspot.docs.graphql.example.docs.ExampleViewModel"3name: "com.brightspot.docs.graphql.example.docs.ExampleViewModel"4template: ""5)
Fields
_id ● ID scalar common
_overlay ● Json scalar common
with ● ViewModelOverlayInput input common
_raw ● Json scalar common
Contains raw JSON for this View instance.
path ● String scalar common
Restricts the returned JSON to the specified path within the view’s map.
exampleBoxedDouble ● Float scalar common
exampleBoxedInteger ● Int scalar common
exampleDouble ● Float! non-null scalar common
exampleImageSizeMap ● ImageAttributes object common
Gets the example image size map.
exampleInteger ● Int! non-null scalar common
exampleString ● String scalar common
Gets the example value.
reference ● ExampleReferenceViewModel object common
Gets the reference view model.
referenceInterface ● ExampleReferenceInterfaceView interface common
Gets the reference view model.