OBJECT

ListingUserProfile

A profile

# GraphQL Schema definition

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

# Required by