1- # Swagger \Client\AttributesApi
1+ # Sendinblue \Client\AttributesApi
22
33All URIs are relative to * https://api.sendinblue.com/v3 *
44
@@ -10,7 +10,7 @@ Method | HTTP request | Description
1010
1111
1212# ** createAttribute**
13- > \Swagger \Client\Model\CreateModel createAttribute($createAttribute)
13+ > \Sendinblue \Client\Model\CreateModel createAttribute($createAttribute)
1414
1515Creates contact attributes
1616
@@ -20,10 +20,12 @@ Creates contact attributes
2020require_once(__DIR__ . '/vendor/autoload.php');
2121
2222// Configure API key authorization: api-key
23- Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
23+ Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
24+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
25+ // Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
2426
25- $api_instance = new Swagger \Client\Api\AttributesApi();
26- $createAttribute = new \Swagger \Client\Model\CreateAttribute(); // \Swagger \Client\Model\CreateAttribute | Values to create an attribute
27+ $api_instance = new Sendinblue \Client\Api\AttributesApi();
28+ $createAttribute = new \Sendinblue \Client\Model\CreateAttribute(); // \Sendinblue \Client\Model\CreateAttribute | Values to create an attribute
2729
2830try {
2931 $result = $api_instance->createAttribute($createAttribute);
@@ -38,11 +40,11 @@ try {
3840
3941Name | Type | Description | Notes
4042------------- | ------------- | ------------- | -------------
41- ** createAttribute** | [ ** \Swagger \Client\Model\CreateAttribute** ] ( ../Model/CreateAttribute.md ) | Values to create an attribute |
43+ ** createAttribute** | [ ** \Sendinblue \Client\Model\CreateAttribute** ] ( ../Model/CreateAttribute.md ) | Values to create an attribute |
4244
4345### Return type
4446
45- [ ** \Swagger \Client\Model\CreateModel** ] ( ../Model/CreateModel.md )
47+ [ ** \Sendinblue \Client\Model\CreateModel** ] ( ../Model/CreateModel.md )
4648
4749### Authorization
4850
@@ -66,9 +68,11 @@ Deletes an attribute
6668require_once(__DIR__ . '/vendor/autoload.php');
6769
6870// Configure API key authorization: api-key
69- Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
71+ Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
72+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
73+ // Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
7074
71- $api_instance = new Swagger \Client\Api\AttributesApi();
75+ $api_instance = new Sendinblue \Client\Api\AttributesApi();
7276$attributeId = "attributeId_example"; // string | id of the attribute
7377
7478try {
@@ -101,7 +105,7 @@ void (empty response body)
101105[[ Back to top]] ( # ) [[ Back to API list]] ( ../../README.md#documentation-for-api-endpoints ) [[ Back to Model list]] ( ../../README.md#documentation-for-models ) [[ Back to README]] ( ../../README.md )
102106
103107# ** getAttributes**
104- > \Swagger \Client\Model\GetAttributes getAttributes()
108+ > \Sendinblue \Client\Model\GetAttributes getAttributes()
105109
106110Lists all attributes
107111
@@ -111,9 +115,11 @@ Lists all attributes
111115require_once(__DIR__ . '/vendor/autoload.php');
112116
113117// Configure API key authorization: api-key
114- Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
118+ Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
119+ // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
120+ // Sendinblue\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
115121
116- $api_instance = new Swagger \Client\Api\AttributesApi();
122+ $api_instance = new Sendinblue \Client\Api\AttributesApi();
117123
118124try {
119125 $result = $api_instance->getAttributes();
@@ -129,7 +135,7 @@ This endpoint does not need any parameter.
129135
130136### Return type
131137
132- [ ** \Swagger \Client\Model\GetAttributes** ] ( ../Model/GetAttributes.md )
138+ [ ** \Sendinblue \Client\Model\GetAttributes** ] ( ../Model/GetAttributes.md )
133139
134140### Authorization
135141
0 commit comments