OBJECT

Customization

# GraphQL Schema definition

1type Customization implements PropertiesInterface, LegacyCustomAttributeInterface, ListingsMetadata, RemoteModelInterface, RelationOnDemandInterface {
 
2# timestamp of when the record was created, automatically generated by the system
3created_at: JSONDate
 
4customizable: Customizable
 
5# id of a parent, which can other customization, user profile or user
6customizable_id: ID
 
7# class of a parent - Customization, User or UserProfile
8customizable_type: String
 
9# timestamp of when the record was soft delete, populated by delete action. It is
10# also possible to manually set it via update. To undelete change it back to empty
11# value, but please note that associated records would need to be manually
12# undeleted as well.
13deleted_at: JSONDate
 
14# Used mainly for import/export, if you want to use third party service as a
15# source of truth
16external_id: ID
 
17human_name: String
 
18id: ID
 
19name: String
 
20# List of all properties assigned to the object.
21properties: HashObject
 
22# Fetch any property by name and return value as a String; ex: hair_color:
23# property(name: "hair_color")
24#
25# Arguments
26# name: [Not documented]
27property(name: String!): String
 
28# Fetch any property by name and return value as an Array of Strings. ex:
29# todo_list: property_array(name: "todo_list")
30#
31# Arguments
32# name: [Not documented]
33property_array(name: String!): [String!]
 
34# Fetch any property by name and return value as a Boolean; ex: price:
35# property_boolean(name: "enabled")
36#
37# Arguments
38# name: [Not documented]
39property_boolean(name: String!): Boolean
 
40# Fetch any property by name and return value as a Float; ex: price:
41# property_float(name: "price")
42#
43# Arguments
44# name: [Not documented]
45property_float(name: String!): Float
 
46# Fetch any property by name and return value as an Integer; ex: age:
47# property_int(name: "age")
48#
49# Arguments
50# name: [Not documented]
51property_int(name: String!): Int
 
52# Fetch any property by name and return value as a JSON.
53#
54# Arguments
55# name: [Not documented]
56property_json(name: String!): JSONPayload
 
57# Fetch any property by name and returns upload details
58#
59# Arguments
60# expires_in: Defines the number of seconds for which the
61# generated url will be accessible. Must be set if acl was set to private
62# name: [Not documented]
63property_upload(expires_in: Int, name: String!): PropertyUpload
 
64# Defines belongs-to relation with other model; ex: parent: model(model_name:
65# "parent", join_on_property: "parent_id") { id }
66#
67# Arguments
68# foreign_property: Load resources with foreign_property ==
69# join_on_property
70# join_on_property: Load remote resource with id ==
71# join_on_property
72# model_schema_name: Joins model [formaly customization] with
73# custom-model-type-name == model_name
74related_model(
75foreign_property: String,
76join_on_property: String,
77model_schema_name: String
78): ListingsCustomization
 
79# Defines has-many relation with other model, returns maximum of 10000 records at
80# once; ex: children: models(model_name: "child", join_on_property: "parent_id",
81# foreign_property: "parent_id") { id }
82#
83# Arguments
84# foreign_property: Load resources with foreign_property ==
85# join_on_property
86# join_on_property: Load resources with foreign_property ==
87# join_on_property
88# model_schema_name: Joins model [formaly customization] with
89# custom-model-type-name == model_name
90related_models(
91foreign_property: String!,
92join_on_property: String!,
93model_schema_name: [String]
94): [ListingsCustomization!]
 
95# Defines relation with other user, returns maximum of 10000 records at once; ex:
96# invited_by: user(join_on_property: "invited_by_id") { id }
97#
98# Arguments
99# foreign_property: [Not documented]
100# join_on_property: [Not documented]
101related_user(foreign_property: String, join_on_property: String): User
 
102# Defines relation object accessible over HTTP in JSON collection identified by
103# it's ID.
104#
105# Arguments
106# endpoint: Endpoint that will return resources for given ids in
107# json format
108# join_on_property: Load remote resource with id ==
109# join_on_property
110remote_model(endpoint: Endpoint!, join_on_property: String!): Customization
 
111# timestamp of when the record was updated, automatically generated by the system
112updated_at: JSONDate
 
113user_id: ID
 
114}

# Required by