1
- # Swagger \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
- > \Swagger \Client\Model\CreateModel createAttribute($createAttribute)
13
+ > \Sendinblue \Client\Model\CreateModel createAttribute($createAttribute)
14
14
15
15
Creates contact attributes
16
16
@@ -20,10 +20,12 @@ Creates contact attributes
20
20
require_once(__DIR__ . '/vendor/autoload.php');
21
21
22
22
// 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');
24
26
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
27
29
28
30
try {
29
31
$result = $api_instance->createAttribute($createAttribute);
@@ -38,11 +40,11 @@ try {
38
40
39
41
Name | Type | Description | Notes
40
42
------------- | ------------- | ------------- | -------------
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 |
42
44
43
45
### Return type
44
46
45
- [ ** \Swagger \Client\Model\CreateModel** ] ( ../Model/CreateModel.md )
47
+ [ ** \Sendinblue \Client\Model\CreateModel** ] ( ../Model/CreateModel.md )
46
48
47
49
### Authorization
48
50
@@ -66,9 +68,11 @@ Deletes an attribute
66
68
require_once(__DIR__ . '/vendor/autoload.php');
67
69
68
70
// 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');
70
74
71
- $api_instance = new Swagger \Client\Api\AttributesApi();
75
+ $api_instance = new Sendinblue \Client\Api\AttributesApi();
72
76
$attributeId = "attributeId_example"; // string | id of the attribute
73
77
74
78
try {
@@ -101,7 +105,7 @@ void (empty response body)
101
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 )
102
106
103
107
# ** getAttributes**
104
- > \Swagger \Client\Model\GetAttributes getAttributes()
108
+ > \Sendinblue \Client\Model\GetAttributes getAttributes()
105
109
106
110
Lists all attributes
107
111
@@ -111,9 +115,11 @@ Lists all attributes
111
115
require_once(__DIR__ . '/vendor/autoload.php');
112
116
113
117
// 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');
115
121
116
- $api_instance = new Swagger \Client\Api\AttributesApi();
122
+ $api_instance = new Sendinblue \Client\Api\AttributesApi();
117
123
118
124
try {
119
125
$result = $api_instance->getAttributes();
@@ -129,7 +135,7 @@ This endpoint does not need any parameter.
129
135
130
136
### Return type
131
137
132
- [ ** \Swagger \Client\Model\GetAttributes** ] ( ../Model/GetAttributes.md )
138
+ [ ** \Sendinblue \Client\Model\GetAttributes** ] ( ../Model/GetAttributes.md )
133
139
134
140
### Authorization
135
141
0 commit comments