OBJECT

ListingsCustomization

# GraphQL Schema definition

1type ListingsCustomization implements ListingCustomAttributeInterface, RemoteModelInterface, RelationOnDemandInterface {
 
2# timestamp of when the record was created, automatically generated by the system
3created_at: JSONDate
 
4# Fetch address by name; ex: address: custom_address(name: "office_address")
5#
6# Arguments
7# name: [Not documented]
8custom_address(name: String!): ListingAddress
 
9# Fetch all addresses, optionaly you can filter results by name; ex: home:
10# custom_addresses(name: "home")
11#
12# Arguments
13# name: [Not documented]
14custom_addresses(name: String): [ListingAddress!]
 
15# Fetch attachment by name; ex: sales_report: custom_attachment(name:
16# "sales_report")
17#
18# Arguments
19# name: [Not documented]
20custom_attachment(name: String!): ListingsPrivateFile
 
21# Arguments
22# name: [Not documented]
23custom_attachments(name: String): [ListingsPrivateFile!]
 
24# Fetch image by name; ex: header: custom_image(name: "header")
25#
26# Arguments
27# name: [Not documented]
28custom_image(name: String!): ListingImage
 
29# Fetch all images, optionaly you can filter results by name; ex: cat_images:
30# custom_images(name: "cat")
31#
32# Arguments
33# name: [Not documented]
34custom_images(name: String): [ListingImage!]
 
35custom_model_type: ListingsCustomModelType
 
36customizable: Customizable
 
37customizable_id: ID
 
38customizable_type: String
 
39deleted_at: JSONDate
 
40# Used mainly for import/export, if you want to use third party service as a
41# source of truth
42external_id: ID
 
43human_name: String
 
44id: ID!
 
45model_schema: ListingsModelSchema
 
46name: String
 
47# List of all properties assigned to the object.
48properties: HashObject
 
49# Fetch any custom attribute by name; ex: hair_color: property(name: "hair_color")
50#
51# Arguments
52# name: [Not documented]
53property(name: String!): String
 
54# Fetch any property of Array type by name, it returns Array in contrast to
55# "property" which returns String; ex: todo_list: property_array(name:
56# "todo_list")
57#
58# Arguments
59# name: [Not documented]
60property_array(name: String!): [String!]
 
61# Fetch any property of JSON type by name, it returns JSON in contrast to
62# "property" which returns String; ex: todo_list: property_json(name: "todo_list")
63#
64# Arguments
65# name: [Not documented]
66property_json(name: String!): JSONPayload
 
67# Defines belongs-to relation with other model; ex: parent: model(model_name:
68# "parent", join_on_property: "parent_id") { id }
69#
70# Arguments
71# foreign_property: Load resources with foreign_property ==
72# join_on_property
73# join_on_property: Load remote resource with id ==
74# join_on_property
75# model_schema_name: Joins model [formaly customization] with
76# custom-model-type-name == model_name
77related_model(
78foreign_property: String,
79join_on_property: String,
80model_schema_name: String
81): ListingsCustomization
 
82# Defines has-many relation with other model, returns maximum of 10000 records at
83# once; ex: children: models(model_name: "child", join_on_property: "parent_id",
84# foreign_property: "parent_id") { id }
85#
86# Arguments
87# foreign_property: Load resources with foreign_property ==
88# join_on_property
89# join_on_property: Load resources with foreign_property ==
90# join_on_property
91# model_schema_name: Joins model [formaly customization] with
92# custom-model-type-name == model_name
93related_models(
94foreign_property: String!,
95join_on_property: String!,
96model_schema_name: [String]
97): [ListingsCustomization!]
 
98# Defines relation with other user, returns maximum of 10000 records at once; ex:
99# invited_by: user(join_on_property: "invited_by_id") { id }
100#
101# Arguments
102# foreign_property: [Not documented]
103# join_on_property: [Not documented]
104related_user(foreign_property: String, join_on_property: String): User
 
105# Defines relation object accessible over HTTP in JSON collection identified by
106# it's ID.
107#
108# Arguments
109# endpoint: Endpoint that will return resources for given ids in
110# json format
111# join_on_property: Load remote resource with id ==
112# join_on_property
113remote_model(endpoint: Endpoint!, join_on_property: String!): Customization
 
114updated_at: JSONDate
 
115user_id: ID
 
116}

# Required by