MergeCRMClient::CustomObjectClass
Name
Type
Description
Notes
name
String
[optional]
description
String
[optional]
labels
Hash<String, String>
[optional][readonly]
fields
Array<RemoteFieldClassForCustomObjectClass>
[optional][readonly]
association_types
Array<Hash<String, AnyType>>
[optional][readonly]
id
String
[optional][readonly]
remote_id
String
The third-party API ID of the matching object.
[optional]
modified_at
Time
[optional][readonly]
require 'merge_crm_client'
instance = MergeCRMClient ::CustomObjectClass . new (
name : order ,
description : Order object ,
labels : { " ; singular " ; :" ; Order " ; , " ; plural " ; :" ; Orders " ; } ,
fields : [ { " ; display_name " ; :" ; Order ID " ; , " ; remote_key_name " ; :" ; order_id " ; , " ; description " ; :" ; The unique ID for the order . " ; , " ; is_required " ; :true , " ; is_nested_list " ; :false , " ; field_type " ; :" ; string " ; , " ; field_format " ; :null , " ; field_choices " ; :[] , " ; item_schema " ; :null } , { " ; display_name " ; :" ; Order Quantity " ; , " ; remote_key_name " ; :" ; order_quantity " ; , " ; description " ; :" ; The number of items ordered . " ; , " ; is_required " ; :true , " ; is_nested_list " ; :false , " ; field_type " ; :" ; number " ; , " ; field_format " ; :null , " ; field_choices " ; :[] , " ; item_schema " ; :null } , { " ; display_name " ; :" ; Customer Type " ; , " ; remote_key_name " ; :" ; customer_type " ; , " ; description " ; :" ; The type of customer . " ; , " ; is_required " ; :true , " ; is_nested_list " ; :false , " ; field_type " ; :" ; string " ; , " ; field_format " ; :null , " ; field_choices " ; :[ " ; New " ; , " ; Returning " ; ] , " ; item_schema " ; :null } ] ,
association_types : null ,
id : ff1ff4cb -a66b -47 dc -8e2 a -50388049e602 ,
remote_id : 9579977 ,
modified_at : 2021 -10 -16 T00 :00Z
)