UserListing
No description
type UserListing implements ListingCustomAttributeInterface, ListingsMetadata, RelationOnDemandInterface, RemoteModelInterface {
authentications: [Authentication!]
communication: ListingsCommunication
created_at: JSONDate
custom_address(name: String!): ListingAddress
custom_addresses(name: String): [ListingAddress!]
custom_attachment(name: String!): ListingsPrivateFile
custom_attachments(name: String): [ListingsPrivateFile!]
custom_image(name: String!): ListingImage
custom_images(name: String): [ListingImage!]
customizations(
name: String
properties: [QueryCustomAttribute]
user_id: ID
): [ListingsCustomization!]
deleted_at: JSONDate
email: String!
external_id: ID
first_name: String
id: ID!
language: String
last_name: String
middle_name: String
model(
foreign_property: String = "id"
join_on_property: String
model_name: String
): ListingsCustomization
models(
foreign_property: String!
join_on_property: String!
model_name: [String]
): [ListingsCustomization!]
name: String!
profile(profile_type: String!): ListingUserProfile
profiles: [ListingUserProfile!]
properties: HashObject
property(name: String!): String
property_array(name: String!): [String!]
property_json(name: String!): JSONPayload
related_model(
foreign_property: String = "id"
join_on_property: String
model_schema_name: String
): ListingsCustomization
related_models(
foreign_property: String!
join_on_property: String!
model_schema_name: [String]
): [ListingsCustomization!]
related_user(
foreign_property: String = "id"
join_on_property: String = "user_id"
): User
remote_model(endpoint: Endpoint!, join_on_property: String!): Customization
slug: String
sort_score: [Int]
temporary_token(expires_in: Float, valid_for: Int): String
updated_at: JSONDate
user(
foreign_property: String = "id"
join_on_property: String = "user_id"
): User
}
Fields
authentications
(Authentication
)
communication
(ListingsCommunication
)
created_at
(JSONDate
)
custom_address
(ListingAddress
)
Fetch address by name; ex: address: custom_address(name: "office_address")
-
name
(String
)
custom_addresses
(ListingAddress
)
Fetch all addresses, optionaly you can filter results by name; ex: home: custom_addresses(name: "home")
-
name
(String
)
custom_attachment
(ListingsPrivateFile
)
Fetch attachment by name; ex: sales_report: custom_attachment(name: "sales_report")
-
name
(String
)
custom_attachments
(ListingsPrivateFile
)
-
name
(String
)
custom_image
(ListingImage
)
Fetch image by name; ex: header: custom_image(name: "header")
-
name
(String
)
custom_images
(ListingImage
)
Fetch all images, optionaly you can filter results by name; ex: cat_images: custom_images(name: "cat")
-
name
(String
)
customizations
(ListingsCustomization
)
-
name
(String
) -
properties
(QueryCustomAttribute
) -
user_id
(ID
)
deleted_at
(JSONDate
)
email
(String
)
external_id
(ID
)
first_name
(String
)
id
(ID
)
language
(String
)
last_name
(String
)
middle_name
(String
)
model
(ListingsCustomization
)
Defines belongs-to relation with other model; ex: parent: model(model_name:
"parent", join_on_property: "parent_id") { id }
-
foreign_property
(String
)
Load resources with foreign_property == join_on_property
-
join_on_property
(String
)
Load remote resource with id == join_on_property
-
model_name
(String
)
Joins model [formaly customization] with custom-model-type-name == model_name
models
(ListingsCustomization
)
Defines has-many relation with other model; ex: children: models(model_name:
"child", join_on_property: "parent_id", foreign_property: "parent_id") { id }
-
foreign_property
(String
)
Load resources with foreign_property == join_on_property
-
join_on_property
(String
)
Load resources with foreign_property == join_on_property
-
model_name
(String
)
Joins model [formaly customization] with custom-model-type-name == model_name
name
(String
)
profile
(ListingUserProfile
)
-
profile_type
(String
)
profiles
(ListingUserProfile
)
properties
(HashObject
)
List of all properties assigned to the object.
property
(String
)
Fetch any custom attribute by name; ex: hair_color: property(name: "hair_color")
-
name
(String
)
property_array
(String
)
Fetch any property of Array type by name, it returns Array in contrast to
"property" which returns String; ex: todo_list: property_array(name: "todo_list")
-
name
(String
)
property_json
(JSONPayload
)
Fetch any property of JSON type by name, it returns JSON in contrast to
"property" which returns String; ex: todo_list: property_json(name: "todo_list")
-
name
(String
)
related_model
(ListingsCustomization
)
Defines belongs-to relation with other model; ex: parent: model(model_name:
"parent", join_on_property: "parent_id") { id }
-
foreign_property
(String
)
Load resources with foreign_property == join_on_property
-
join_on_property
(String
)
Load remote resource with id == join_on_property
-
model_schema_name
(String
)
Joins model [formaly customization] with custom-model-type-name == model_name
related_models
(ListingsCustomization
)
Defines has-many relation with other model, returns maximum of 10000 records
at once; ex: children: models(model_name: "child", join_on_property:
"parent_id", foreign_property: "parent_id") { id }
-
foreign_property
(String
)
Load resources with foreign_property == join_on_property
-
join_on_property
(String
)
Load resources with foreign_property == join_on_property
-
model_schema_name
(String
)
Joins model [formaly customization] with custom-model-type-name == model_name
related_user
(User
)
Defines relation with other user, returns maximum of 10000 records at once;
ex: invited_by: user(join_on_property: "invited_by_id") { id }
remote_model
(Customization
)
Defines relation object accessible over HTTP in JSON collection identified by it's ID.
-
endpoint
(Endpoint
)
Endpoint that will return resources for given ids in json format
-
join_on_property
(String
)
Load remote resource with id == join_on_property
slug
(String
)
sort_score
(Int
)
when sorting by distance - field contains distance to target location
temporary_token
(String
)
-
expires_in
(Float
)
Number of hours before the token expires, default 48 hours
-
valid_for
(Int
)
deprecated use expires_in
updated_at
(JSONDate
)
user
(User
)
Defines relation with other user; ex: invited_by: user(join_on_property: "invited_by_id") { id }