Represents a CreateBookingCustomAttributeDefinition response.
Either custom_attribute_definition
or errors
is present in the response.
CreateBookingCustomAttributeDefinitionResponse
Name | Type | Tags | Description | Getter |
---|---|---|---|---|
CustomAttributeDefinition |
CustomAttributeDefinition |
Optional | Represents a definition for custom attribute values. A custom attribute definition specifies the key, visibility, schema, and other properties for a custom attribute. |
CustomAttributeDefinition getCustomAttributeDefinition() |
Errors |
List<Error> |
Optional | Any errors that occurred during the request. | List getErrors() |
{
"custom_attribute_definition": {
"created_at": "2022-11-16T15:27:30Z",
"description": "The favorite shampoo of the customer.",
"key": "favoriteShampoo",
"name": "Favorite Shampoo",
"schema": {
"key1": "val1",
"key2": "val2"
},
"updated_at": "2022-11-16T15:27:30Z",
"version": 1,
"visibility": "VISIBILITY_HIDDEN"
},
"errors": []
}