1
- # Sendinblue \Client\AttributesApi
1
+ # SendinBlue \Client\AttributesApi
2
2
3
3
All URIs are relative to * https://api.sendinblue.com/v3 *
4
4
@@ -10,7 +10,7 @@ Method | HTTP request | Description
10
10
11
11
12
12
# ** createAttribute**
13
- > \Sendinblue \Client\Model\CreateModel createAttribute($createAttribute)
13
+ > \SendinBlue \Client\Model\CreateModel createAttribute($createAttribute)
14
14
15
15
Creates contact attributes
16
16
@@ -20,12 +20,12 @@ Creates contact attributes
20
20
require_once(__DIR__ . '/vendor/autoload.php');
21
21
22
22
// Configure API key authorization: api-key
23
- Sendinblue \Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
23
+ SendinBlue \Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
24
24
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
25
- // Sendinblue \Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
25
+ // SendinBlue \Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
26
26
27
- $api_instance = new Sendinblue \Client\Api\AttributesApi();
28
- $createAttribute = new \Sendinblue \Client\Model\CreateAttribute(); // \Sendinblue \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
29
29
30
30
try {
31
31
$result = $api_instance->createAttribute($createAttribute);
@@ -40,11 +40,11 @@ try {
40
40
41
41
Name | Type | Description | Notes
42
42
------------- | ------------- | ------------- | -------------
43
- ** createAttribute** | [ ** \Sendinblue \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 |
44
44
45
45
### Return type
46
46
47
- [ ** \Sendinblue \Client\Model\CreateModel** ] ( ../Model/CreateModel.md )
47
+ [ ** \SendinBlue \Client\Model\CreateModel** ] ( ../Model/CreateModel.md )
48
48
49
49
### Authorization
50
50
@@ -68,11 +68,11 @@ Deletes an attribute
68
68
require_once(__DIR__ . '/vendor/autoload.php');
69
69
70
70
// Configure API key authorization: api-key
71
- Sendinblue \Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
71
+ SendinBlue \Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
72
72
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
73
- // Sendinblue \Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
73
+ // SendinBlue \Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
74
74
75
- $api_instance = new Sendinblue \Client\Api\AttributesApi();
75
+ $api_instance = new SendinBlue \Client\Api\AttributesApi();
76
76
$attributeId = "attributeId_example"; // string | id of the attribute
77
77
78
78
try {
@@ -105,7 +105,7 @@ void (empty response body)
105
105
[[ 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 )
106
106
107
107
# ** getAttributes**
108
- > \Sendinblue \Client\Model\GetAttributes getAttributes()
108
+ > \SendinBlue \Client\Model\GetAttributes getAttributes()
109
109
110
110
Lists all attributes
111
111
@@ -115,11 +115,11 @@ Lists all attributes
115
115
require_once(__DIR__ . '/vendor/autoload.php');
116
116
117
117
// Configure API key authorization: api-key
118
- Sendinblue \Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
118
+ SendinBlue \Client\Configuration::getDefaultConfiguration()->setApiKey('api-key', 'YOUR_API_KEY');
119
119
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
120
- // Sendinblue \Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
120
+ // SendinBlue \Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('api-key', 'Bearer');
121
121
122
- $api_instance = new Sendinblue \Client\Api\AttributesApi();
122
+ $api_instance = new SendinBlue \Client\Api\AttributesApi();
123
123
124
124
try {
125
125
$result = $api_instance->getAttributes();
@@ -135,7 +135,7 @@ This endpoint does not need any parameter.
135
135
136
136
### Return type
137
137
138
- [ ** \Sendinblue \Client\Model\GetAttributes** ] ( ../Model/GetAttributes.md )
138
+ [ ** \SendinBlue \Client\Model\GetAttributes** ] ( ../Model/GetAttributes.md )
139
139
140
140
### Authorization
141
141
0 commit comments