OBJECT

Model

# GraphQL Schema definition

1type Model implements PropertiesInterface, HasModelsInterface {
 
2# timestamp of when the record was created, automatically generated by the system
3created_at: JSONDate!
 
4# timestamp of when the record was soft delete, populated by delete action. It is
5# also possible to manually set it via update. To undelete change it back to empty
6# value, but please note that associated records would need to be manually
7# undeleted as well.
8deleted_at: JSONDate
 
9# Used mainly for import/export, if you want to use third party service as a
10# source of truth
11external_id: ID
 
12# ID of an object.
13id: ID
 
14# ID of Model Schema to which it belongs
15model_schema_id: ID!
 
16# Name of the model schema to which it belongs
17model_schema_name: String
 
18# List of all properties assigned to the object.
19properties: HashObject
 
20# Fetch any property by name and return value as a String; ex: hair_color:
21# property(name: "hair_color")
22#
23# Arguments
24# name: [Not documented]
25property(name: String!): String
 
26# Fetch any property by name and return value as an Array of Strings. ex:
27# todo_list: property_array(name: "todo_list")
28#
29# Arguments
30# name: [Not documented]
31property_array(name: String!): [String!]
 
32# Fetch any property by name and return value as a Boolean; ex: price:
33# property_boolean(name: "enabled")
34#
35# Arguments
36# name: [Not documented]
37property_boolean(name: String!): Boolean
 
38# Fetch any property by name and return value as a Float; ex: price:
39# property_float(name: "price")
40#
41# Arguments
42# name: [Not documented]
43property_float(name: String!): Float
 
44# Fetch any property by name and return value as an Integer; ex: age:
45# property_int(name: "age")
46#
47# Arguments
48# name: [Not documented]
49property_int(name: String!): Int
 
50# Fetch any property by name and return value as a JSON.
51#
52# Arguments
53# name: [Not documented]
54property_json(name: String!): JSONPayload
 
55# Fetch any property by name and returns upload details
56#
57# Arguments
58# expires_in: Defines the number of seconds for which the
59# generated url will be accessible. Must be set if acl was set to private
60# name: [Not documented]
61property_upload(expires_in: Int, name: String!): PropertyUpload
 
62# Defines relation with other user; ex: invited_by: related_user(join_on_property:
63# "invited_by_id") { id }
64#
65# Arguments
66# filter: [Not documented]
67# foreign_property: Load resources with foreign_property ==
68# join_on_property
69# join_on_property:
70# sort: [Not documented]
71related_user(
72filter: ModelsFilterInput,
73foreign_property: String,
74join_on_property: String,
75sort: [UsersSortInput!]
76): User
 
77# Defines has-many relation with other user; ex: children: users(join_on_property:
78# "parent_id", foreign_property: "parent_id") { id }
79#
80# Arguments
81# filter: [Not documented]
82# foreign_property: Load resources with foreign_property ==
83# join_on_property
84# join_on_property: Load resources with foreign_property ==
85# join_on_property
86# limit: [Not documented]
87# sort: [Not documented]
88related_users(
89filter: ModelsFilterInput,
90foreign_property: String!,
91join_on_property: String!,
92limit: Int,
93sort: [UsersSortInput!]
94): [User!]
 
95# timestamp of when the record was updated, automatically generated by the system
96updated_at: JSONDate!
 
97# Id of the User who created and owns the Model
98user_id: ID
 
99}

# Required by