zernio-sdk 0.0.656 → 0.0.657

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ea4207c253c9eaf37967d7377b3ee1bf5cac3399e5f34eb0ef1e56a69cc44c4
4
- data.tar.gz: 9f50b4a2d98cedeb9d98983dc7fb77f507a5a91a662bb7e5f23e12dc786fb944
3
+ metadata.gz: 4ec7598096a552747d452c6257a0ac62b4402378466f8dd85a8b7ae215c9ad69
4
+ data.tar.gz: 9551e5937770bef3de1884d8397e7079dce15f142eb013ffa1a4bbe95139de3e
5
5
  SHA512:
6
- metadata.gz: ca86f855f25f1da6a2e83085ca0809b35e4e4b4d4788d25180e111bd57b12c689e5155fd707e171ed5077e49bc4e59c175cb0e050bbf7f1926905043a6c399ca
7
- data.tar.gz: 151f9f108632025cf7429227267f2bbbaa7799712e1c32de03840c130aac49d317512b0ab2ac21ab175c123b3ca68c0ff85089467aea235852f2b020975978ca
6
+ metadata.gz: 8ae48a8d20315681e6b861b35d0b71650b187a5c80c0a1c6b358edf4496ade240976818d2090265654812475f8300bee0412cbb584834835a81a6074a153a6fb
7
+ data.tar.gz: 966b9427dab72ba578fe4cf60cbfea24fffbfa1342cb9d3184689c8f93c59493d38babadc76b0ebcc324fb30de16b5b95bc31641412881c44f78452359fe643c
data/README.md CHANGED
@@ -465,6 +465,7 @@ Class | Method | HTTP request | Description
465
465
  *Zernio::TrackingTagsApi* | [**update_tracking_tag**](docs/TrackingTagsApi.md#update_tracking_tag) | **PATCH** /v1/accounts/{accountId}/tracking-tags/{tagId} | Update a tracking tag
466
466
  *Zernio::TwitterEngagementApi* | [**bookmark_post**](docs/TwitterEngagementApi.md#bookmark_post) | **POST** /v1/twitter/bookmark | Bookmark a tweet
467
467
  *Zernio::TwitterEngagementApi* | [**follow_user**](docs/TwitterEngagementApi.md#follow_user) | **POST** /v1/twitter/follow | Follow a user
468
+ *Zernio::TwitterEngagementApi* | [**get_tweet**](docs/TwitterEngagementApi.md#get_tweet) | **GET** /v1/twitter/tweet | Look up a tweet
468
469
  *Zernio::TwitterEngagementApi* | [**remove_bookmark**](docs/TwitterEngagementApi.md#remove_bookmark) | **DELETE** /v1/twitter/bookmark | Remove bookmark
469
470
  *Zernio::TwitterEngagementApi* | [**retweet_post**](docs/TwitterEngagementApi.md#retweet_post) | **POST** /v1/twitter/retweet | Retweet a post
470
471
  *Zernio::TwitterEngagementApi* | [**search_tweets**](docs/TwitterEngagementApi.md#search_tweets) | **GET** /v1/twitter/search | Search recent tweets
@@ -1256,6 +1257,8 @@ Class | Method | HTTP request | Description
1256
1257
  - [Zernio::GetTrackingTag200Response](docs/GetTrackingTag200Response.md)
1257
1258
  - [Zernio::GetTrackingTagStats200Response](docs/GetTrackingTagStats200Response.md)
1258
1259
  - [Zernio::GetTrackingTagStats200ResponseStats](docs/GetTrackingTagStats200ResponseStats.md)
1260
+ - [Zernio::GetTweet200Response](docs/GetTweet200Response.md)
1261
+ - [Zernio::GetTweet200ResponseTweet](docs/GetTweet200ResponseTweet.md)
1259
1262
  - [Zernio::GetUsage200Response](docs/GetUsage200Response.md)
1260
1263
  - [Zernio::GetUser200Response](docs/GetUser200Response.md)
1261
1264
  - [Zernio::GetUser200ResponseUser](docs/GetUser200ResponseUser.md)
data/docs/DiscordApi.md CHANGED
@@ -764,7 +764,7 @@ end
764
764
 
765
765
  Get a Discord guild member
766
766
 
767
- Fetch a single guild member by Discord user id. Does not require the privileged Server Members Intent, so this works even where the full member listing returns 403.
767
+ Fetch a single guild member by Discord user id. Cheaper than paginating the full member listing when you already know who you are looking for.
768
768
 
769
769
  ### Examples
770
770
 
@@ -977,7 +977,7 @@ end
977
977
 
978
978
  List Discord guild members
979
979
 
980
- Cursor-paginated list of guild members. Returns Discord's raw member objects so callers can build community-ops automation (e.g. \"add role to all members joined in the last 7 days\") on the actual platform shape. **Important:** this endpoint requires the privileged \"Server Members Intent\" on the Discord application. If the intent is not enabled, Discord rejects the call and this endpoint returns **403**. Single member lookup and prefix search (see the sibling endpoints) do not need the intent. Pagination: pass `after` = the last `user.id` from the previous page. Omit on the first call. Response includes a `nextCursor` and `hasMore` flag so callers don't need to know Discord's pagination shape.
980
+ Cursor-paginated list of guild members. Returns Discord's raw member objects so callers can build community-ops automation (e.g. \"add role to all members joined in the last 7 days\") on the actual platform shape. Pagination: pass `after` = the last `user.id` from the previous page. Omit on the first call. Response includes a `nextCursor` and `hasMore` flag so callers don't need to know Discord's pagination shape.
981
981
 
982
982
  ### Examples
983
983
 
@@ -1419,7 +1419,7 @@ end
1419
1419
 
1420
1420
  Search Discord guild members
1421
1421
 
1422
- Search guild members whose username or nickname **starts with** the query (Discord matches prefixes only, not substrings). Does not require the privileged Server Members Intent, so this works even where the full member listing returns 403.
1422
+ Search guild members whose username or nickname **starts with** the query (Discord matches prefixes only, not substrings). Cheaper than paginating the full member listing when you already know who you are looking for.
1423
1423
 
1424
1424
  ### Examples
1425
1425
 
@@ -0,0 +1,20 @@
1
+ # Zernio::GetTweet200Response
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **status** | **String** | | [optional] |
8
+ | **tweet** | [**GetTweet200ResponseTweet**](GetTweet200ResponseTweet.md) | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'zernio-sdk'
14
+
15
+ instance = Zernio::GetTweet200Response.new(
16
+ status: success,
17
+ tweet: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,40 @@
1
+ # Zernio::GetTweet200ResponseTweet
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional] |
8
+ | **text** | **String** | | [optional] |
9
+ | **created** | **Time** | | [optional] |
10
+ | **conversation_id** | **String** | | [optional] |
11
+ | **in_reply_to_tweet_id** | **String** | Parent tweet ID when the tweet is itself a reply | [optional] |
12
+ | **lang** | **String** | | [optional] |
13
+ | **author** | [**SearchTweets200ResponseTweetsInnerAuthor**](SearchTweets200ResponseTweetsInnerAuthor.md) | | [optional] |
14
+ | **like_count** | **Integer** | | [optional] |
15
+ | **reply_count** | **Integer** | | [optional] |
16
+ | **retweet_count** | **Integer** | | [optional] |
17
+ | **quote_count** | **Integer** | | [optional] |
18
+ | **platform** | **String** | | [optional] |
19
+
20
+ ## Example
21
+
22
+ ```ruby
23
+ require 'zernio-sdk'
24
+
25
+ instance = Zernio::GetTweet200ResponseTweet.new(
26
+ id: null,
27
+ text: null,
28
+ created: null,
29
+ conversation_id: null,
30
+ in_reply_to_tweet_id: null,
31
+ lang: null,
32
+ author: null,
33
+ like_count: null,
34
+ reply_count: null,
35
+ retweet_count: null,
36
+ quote_count: null,
37
+ platform: twitter
38
+ )
39
+ ```
40
+
@@ -6,6 +6,7 @@ All URIs are relative to *https://zernio.com/api*
6
6
  | ------ | ------------ | ----------- |
7
7
  | [**bookmark_post**](TwitterEngagementApi.md#bookmark_post) | **POST** /v1/twitter/bookmark | Bookmark a tweet |
8
8
  | [**follow_user**](TwitterEngagementApi.md#follow_user) | **POST** /v1/twitter/follow | Follow a user |
9
+ | [**get_tweet**](TwitterEngagementApi.md#get_tweet) | **GET** /v1/twitter/tweet | Look up a tweet |
9
10
  | [**remove_bookmark**](TwitterEngagementApi.md#remove_bookmark) | **DELETE** /v1/twitter/bookmark | Remove bookmark |
10
11
  | [**retweet_post**](TwitterEngagementApi.md#retweet_post) | **POST** /v1/twitter/retweet | Retweet a post |
11
12
  | [**search_tweets**](TwitterEngagementApi.md#search_tweets) | **GET** /v1/twitter/search | Search recent tweets |
@@ -151,6 +152,77 @@ end
151
152
  - **Accept**: application/json
152
153
 
153
154
 
155
+ ## get_tweet
156
+
157
+ > <GetTweet200Response> get_tweet(account_id, id)
158
+
159
+ Look up a tweet
160
+
161
+ Resolve a single tweet by ID or URL into its text, author and public metrics. Use this to render a post you are referencing, e.g. the tweet quoted by a quote-style post. Unlike `/v1/twitter/search` this is not limited to the last 7 days and works for any tweet visible to the connected account. Billed as an X posts read ($0.005). Repeat lookups of the same tweet within the same UTC day are charged once.
162
+
163
+ ### Examples
164
+
165
+ ```ruby
166
+ require 'time'
167
+ require 'zernio-sdk'
168
+ # setup authorization
169
+ Zernio.configure do |config|
170
+ # Configure Bearer authorization (JWT): bearerAuth
171
+ config.access_token = 'YOUR_BEARER_TOKEN'
172
+ end
173
+
174
+ api_instance = Zernio::TwitterEngagementApi.new
175
+ account_id = 'account_id_example' # String | The social account ID whose X token is used for the lookup
176
+ id = 'id_example' # String | Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...)
177
+
178
+ begin
179
+ # Look up a tweet
180
+ result = api_instance.get_tweet(account_id, id)
181
+ p result
182
+ rescue Zernio::ApiError => e
183
+ puts "Error when calling TwitterEngagementApi->get_tweet: #{e}"
184
+ end
185
+ ```
186
+
187
+ #### Using the get_tweet_with_http_info variant
188
+
189
+ This returns an Array which contains the response data, status code and headers.
190
+
191
+ > <Array(<GetTweet200Response>, Integer, Hash)> get_tweet_with_http_info(account_id, id)
192
+
193
+ ```ruby
194
+ begin
195
+ # Look up a tweet
196
+ data, status_code, headers = api_instance.get_tweet_with_http_info(account_id, id)
197
+ p status_code # => 2xx
198
+ p headers # => { ... }
199
+ p data # => <GetTweet200Response>
200
+ rescue Zernio::ApiError => e
201
+ puts "Error when calling TwitterEngagementApi->get_tweet_with_http_info: #{e}"
202
+ end
203
+ ```
204
+
205
+ ### Parameters
206
+
207
+ | Name | Type | Description | Notes |
208
+ | ---- | ---- | ----------- | ----- |
209
+ | **account_id** | **String** | The social account ID whose X token is used for the lookup | |
210
+ | **id** | **String** | Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...) | |
211
+
212
+ ### Return type
213
+
214
+ [**GetTweet200Response**](GetTweet200Response.md)
215
+
216
+ ### Authorization
217
+
218
+ [bearerAuth](../README.md#bearerAuth)
219
+
220
+ ### HTTP request headers
221
+
222
+ - **Content-Type**: Not defined
223
+ - **Accept**: application/json
224
+
225
+
154
226
  ## remove_bookmark
155
227
 
156
228
  > <RemoveBookmark200Response> remove_bookmark(account_id, tweet_id)
@@ -792,7 +792,7 @@ module Zernio
792
792
  end
793
793
 
794
794
  # Get a Discord guild member
795
- # Fetch a single guild member by Discord user id. Does not require the privileged Server Members Intent, so this works even where the full member listing returns 403.
795
+ # Fetch a single guild member by Discord user id. Cheaper than paginating the full member listing when you already know who you are looking for.
796
796
  # @param guild_id [String]
797
797
  # @param user_id [String] Discord user snowflake.
798
798
  # @param account_id [String]
@@ -804,7 +804,7 @@ module Zernio
804
804
  end
805
805
 
806
806
  # Get a Discord guild member
807
- # Fetch a single guild member by Discord user id. Does not require the privileged Server Members Intent, so this works even where the full member listing returns 403.
807
+ # Fetch a single guild member by Discord user id. Cheaper than paginating the full member listing when you already know who you are looking for.
808
808
  # @param guild_id [String]
809
809
  # @param user_id [String] Discord user snowflake.
810
810
  # @param account_id [String]
@@ -1005,7 +1005,7 @@ module Zernio
1005
1005
  end
1006
1006
 
1007
1007
  # List Discord guild members
1008
- # Cursor-paginated list of guild members. Returns Discord's raw member objects so callers can build community-ops automation (e.g. \"add role to all members joined in the last 7 days\") on the actual platform shape. **Important:** this endpoint requires the privileged \"Server Members Intent\" on the Discord application. If the intent is not enabled, Discord rejects the call and this endpoint returns **403**. Single member lookup and prefix search (see the sibling endpoints) do not need the intent. Pagination: pass `after` = the last `user.id` from the previous page. Omit on the first call. Response includes a `nextCursor` and `hasMore` flag so callers don't need to know Discord's pagination shape.
1008
+ # Cursor-paginated list of guild members. Returns Discord's raw member objects so callers can build community-ops automation (e.g. \"add role to all members joined in the last 7 days\") on the actual platform shape. Pagination: pass `after` = the last `user.id` from the previous page. Omit on the first call. Response includes a `nextCursor` and `hasMore` flag so callers don't need to know Discord's pagination shape.
1009
1009
  # @param guild_id [String]
1010
1010
  # @param account_id [String]
1011
1011
  # @param [Hash] opts the optional parameters
@@ -1018,7 +1018,7 @@ module Zernio
1018
1018
  end
1019
1019
 
1020
1020
  # List Discord guild members
1021
- # Cursor-paginated list of guild members. Returns Discord&#39;s raw member objects so callers can build community-ops automation (e.g. \&quot;add role to all members joined in the last 7 days\&quot;) on the actual platform shape. **Important:** this endpoint requires the privileged \&quot;Server Members Intent\&quot; on the Discord application. If the intent is not enabled, Discord rejects the call and this endpoint returns **403**. Single member lookup and prefix search (see the sibling endpoints) do not need the intent. Pagination: pass &#x60;after&#x60; &#x3D; the last &#x60;user.id&#x60; from the previous page. Omit on the first call. Response includes a &#x60;nextCursor&#x60; and &#x60;hasMore&#x60; flag so callers don&#39;t need to know Discord&#39;s pagination shape.
1021
+ # Cursor-paginated list of guild members. Returns Discord&#39;s raw member objects so callers can build community-ops automation (e.g. \&quot;add role to all members joined in the last 7 days\&quot;) on the actual platform shape. Pagination: pass &#x60;after&#x60; &#x3D; the last &#x60;user.id&#x60; from the previous page. Omit on the first call. Response includes a &#x60;nextCursor&#x60; and &#x60;hasMore&#x60; flag so callers don&#39;t need to know Discord&#39;s pagination shape.
1022
1022
  # @param guild_id [String]
1023
1023
  # @param account_id [String]
1024
1024
  # @param [Hash] opts the optional parameters
@@ -1460,7 +1460,7 @@ module Zernio
1460
1460
  end
1461
1461
 
1462
1462
  # Search Discord guild members
1463
- # Search guild members whose username or nickname **starts with** the query (Discord matches prefixes only, not substrings). Does not require the privileged Server Members Intent, so this works even where the full member listing returns 403.
1463
+ # Search guild members whose username or nickname **starts with** the query (Discord matches prefixes only, not substrings). Cheaper than paginating the full member listing when you already know who you are looking for.
1464
1464
  # @param guild_id [String]
1465
1465
  # @param account_id [String]
1466
1466
  # @param query [String] Username or nickname prefix to match.
@@ -1473,7 +1473,7 @@ module Zernio
1473
1473
  end
1474
1474
 
1475
1475
  # Search Discord guild members
1476
- # Search guild members whose username or nickname **starts with** the query (Discord matches prefixes only, not substrings). Does not require the privileged Server Members Intent, so this works even where the full member listing returns 403.
1476
+ # Search guild members whose username or nickname **starts with** the query (Discord matches prefixes only, not substrings). Cheaper than paginating the full member listing when you already know who you are looking for.
1477
1477
  # @param guild_id [String]
1478
1478
  # @param account_id [String]
1479
1479
  # @param query [String] Username or nickname prefix to match.
@@ -155,6 +155,77 @@ module Zernio
155
155
  return data, status_code, headers
156
156
  end
157
157
 
158
+ # Look up a tweet
159
+ # Resolve a single tweet by ID or URL into its text, author and public metrics. Use this to render a post you are referencing, e.g. the tweet quoted by a quote-style post. Unlike `/v1/twitter/search` this is not limited to the last 7 days and works for any tweet visible to the connected account. Billed as an X posts read ($0.005). Repeat lookups of the same tweet within the same UTC day are charged once.
160
+ # @param account_id [String] The social account ID whose X token is used for the lookup
161
+ # @param id [String] Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...)
162
+ # @param [Hash] opts the optional parameters
163
+ # @return [GetTweet200Response]
164
+ def get_tweet(account_id, id, opts = {})
165
+ data, _status_code, _headers = get_tweet_with_http_info(account_id, id, opts)
166
+ data
167
+ end
168
+
169
+ # Look up a tweet
170
+ # Resolve a single tweet by ID or URL into its text, author and public metrics. Use this to render a post you are referencing, e.g. the tweet quoted by a quote-style post. Unlike &#x60;/v1/twitter/search&#x60; this is not limited to the last 7 days and works for any tweet visible to the connected account. Billed as an X posts read ($0.005). Repeat lookups of the same tweet within the same UTC day are charged once.
171
+ # @param account_id [String] The social account ID whose X token is used for the lookup
172
+ # @param id [String] Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...)
173
+ # @param [Hash] opts the optional parameters
174
+ # @return [Array<(GetTweet200Response, Integer, Hash)>] GetTweet200Response data, response status code and response headers
175
+ def get_tweet_with_http_info(account_id, id, opts = {})
176
+ if @api_client.config.debugging
177
+ @api_client.config.logger.debug 'Calling API: TwitterEngagementApi.get_tweet ...'
178
+ end
179
+ # verify the required parameter 'account_id' is set
180
+ if @api_client.config.client_side_validation && account_id.nil?
181
+ fail ArgumentError, "Missing the required parameter 'account_id' when calling TwitterEngagementApi.get_tweet"
182
+ end
183
+ # verify the required parameter 'id' is set
184
+ if @api_client.config.client_side_validation && id.nil?
185
+ fail ArgumentError, "Missing the required parameter 'id' when calling TwitterEngagementApi.get_tweet"
186
+ end
187
+ # resource path
188
+ local_var_path = '/v1/twitter/tweet'
189
+
190
+ # query parameters
191
+ query_params = opts[:query_params] || {}
192
+ query_params[:'accountId'] = account_id
193
+ query_params[:'id'] = id
194
+
195
+ # header parameters
196
+ header_params = opts[:header_params] || {}
197
+ # HTTP header 'Accept' (if needed)
198
+ header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
199
+
200
+ # form parameters
201
+ form_params = opts[:form_params] || {}
202
+
203
+ # http body (model)
204
+ post_body = opts[:debug_body]
205
+
206
+ # return_type
207
+ return_type = opts[:debug_return_type] || 'GetTweet200Response'
208
+
209
+ # auth_names
210
+ auth_names = opts[:debug_auth_names] || ['bearerAuth']
211
+
212
+ new_options = opts.merge(
213
+ :operation => :"TwitterEngagementApi.get_tweet",
214
+ :header_params => header_params,
215
+ :query_params => query_params,
216
+ :form_params => form_params,
217
+ :body => post_body,
218
+ :auth_names => auth_names,
219
+ :return_type => return_type
220
+ )
221
+
222
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
223
+ if @api_client.config.debugging
224
+ @api_client.config.logger.debug "API called: TwitterEngagementApi#get_tweet\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
225
+ end
226
+ return data, status_code, headers
227
+ end
228
+
158
229
  # Remove bookmark
159
230
  # Remove a bookmark from a tweet.
160
231
  # @param account_id [String]
@@ -0,0 +1,156 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Zernio
17
+ class GetTweet200Response < ApiModelBase
18
+ attr_accessor :status
19
+
20
+ attr_accessor :tweet
21
+
22
+ # Attribute mapping from ruby-style variable name to JSON key.
23
+ def self.attribute_map
24
+ {
25
+ :'status' => :'status',
26
+ :'tweet' => :'tweet'
27
+ }
28
+ end
29
+
30
+ # Returns attribute mapping this model knows about
31
+ def self.acceptable_attribute_map
32
+ attribute_map
33
+ end
34
+
35
+ # Returns all the JSON keys this model knows about
36
+ def self.acceptable_attributes
37
+ acceptable_attribute_map.values
38
+ end
39
+
40
+ # Attribute type mapping.
41
+ def self.openapi_types
42
+ {
43
+ :'status' => :'String',
44
+ :'tweet' => :'GetTweet200ResponseTweet'
45
+ }
46
+ end
47
+
48
+ # List of attributes with nullable: true
49
+ def self.openapi_nullable
50
+ Set.new([
51
+ ])
52
+ end
53
+
54
+ # Initializes the object
55
+ # @param [Hash] attributes Model attributes in the form of hash
56
+ def initialize(attributes = {})
57
+ if (!attributes.is_a?(Hash))
58
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::GetTweet200Response` initialize method"
59
+ end
60
+
61
+ # check to see if the attribute exists and convert string to symbol for hash key
62
+ acceptable_attribute_map = self.class.acceptable_attribute_map
63
+ attributes = attributes.each_with_object({}) { |(k, v), h|
64
+ if (!acceptable_attribute_map.key?(k.to_sym))
65
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::GetTweet200Response`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
66
+ end
67
+ h[k.to_sym] = v
68
+ }
69
+
70
+ if attributes.key?(:'status')
71
+ self.status = attributes[:'status']
72
+ end
73
+
74
+ if attributes.key?(:'tweet')
75
+ self.tweet = attributes[:'tweet']
76
+ end
77
+ end
78
+
79
+ # Show invalid properties with the reasons. Usually used together with valid?
80
+ # @return Array for valid properties with the reasons
81
+ def list_invalid_properties
82
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
83
+ invalid_properties = Array.new
84
+ invalid_properties
85
+ end
86
+
87
+ # Check to see if the all the properties in the model are valid
88
+ # @return true if the model is valid
89
+ def valid?
90
+ warn '[DEPRECATED] the `valid?` method is obsolete'
91
+ true
92
+ end
93
+
94
+ # Checks equality by comparing each attribute.
95
+ # @param [Object] Object to be compared
96
+ def ==(o)
97
+ return true if self.equal?(o)
98
+ self.class == o.class &&
99
+ status == o.status &&
100
+ tweet == o.tweet
101
+ end
102
+
103
+ # @see the `==` method
104
+ # @param [Object] Object to be compared
105
+ def eql?(o)
106
+ self == o
107
+ end
108
+
109
+ # Calculates hash code according to all attributes.
110
+ # @return [Integer] Hash code
111
+ def hash
112
+ [status, tweet].hash
113
+ end
114
+
115
+ # Builds the object from hash
116
+ # @param [Hash] attributes Model attributes in the form of hash
117
+ # @return [Object] Returns the model itself
118
+ def self.build_from_hash(attributes)
119
+ return nil unless attributes.is_a?(Hash)
120
+ attributes = attributes.transform_keys(&:to_sym)
121
+ transformed_hash = {}
122
+ openapi_types.each_pair do |key, type|
123
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
124
+ transformed_hash["#{key}"] = nil
125
+ elsif type =~ /\AArray<(.*)>/i
126
+ # check to ensure the input is an array given that the attribute
127
+ # is documented as an array but the input is not
128
+ if attributes[attribute_map[key]].is_a?(Array)
129
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
130
+ end
131
+ elsif !attributes[attribute_map[key]].nil?
132
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
133
+ end
134
+ end
135
+ new(transformed_hash)
136
+ end
137
+
138
+ # Returns the object in the form of hash
139
+ # @return [Hash] Returns the object in the form of hash
140
+ def to_hash
141
+ hash = {}
142
+ self.class.attribute_map.each_pair do |attr, param|
143
+ value = self.send(attr)
144
+ if value.nil?
145
+ is_nullable = self.class.openapi_nullable.include?(attr)
146
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
147
+ end
148
+
149
+ hash[param] = _to_hash(value)
150
+ end
151
+ hash
152
+ end
153
+
154
+ end
155
+
156
+ end
@@ -0,0 +1,248 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module Zernio
17
+ class GetTweet200ResponseTweet < ApiModelBase
18
+ attr_accessor :id
19
+
20
+ attr_accessor :text
21
+
22
+ attr_accessor :created
23
+
24
+ attr_accessor :conversation_id
25
+
26
+ # Parent tweet ID when the tweet is itself a reply
27
+ attr_accessor :in_reply_to_tweet_id
28
+
29
+ attr_accessor :lang
30
+
31
+ attr_accessor :author
32
+
33
+ attr_accessor :like_count
34
+
35
+ attr_accessor :reply_count
36
+
37
+ attr_accessor :retweet_count
38
+
39
+ attr_accessor :quote_count
40
+
41
+ attr_accessor :platform
42
+
43
+ # Attribute mapping from ruby-style variable name to JSON key.
44
+ def self.attribute_map
45
+ {
46
+ :'id' => :'id',
47
+ :'text' => :'text',
48
+ :'created' => :'created',
49
+ :'conversation_id' => :'conversationId',
50
+ :'in_reply_to_tweet_id' => :'inReplyToTweetId',
51
+ :'lang' => :'lang',
52
+ :'author' => :'author',
53
+ :'like_count' => :'likeCount',
54
+ :'reply_count' => :'replyCount',
55
+ :'retweet_count' => :'retweetCount',
56
+ :'quote_count' => :'quoteCount',
57
+ :'platform' => :'platform'
58
+ }
59
+ end
60
+
61
+ # Returns attribute mapping this model knows about
62
+ def self.acceptable_attribute_map
63
+ attribute_map
64
+ end
65
+
66
+ # Returns all the JSON keys this model knows about
67
+ def self.acceptable_attributes
68
+ acceptable_attribute_map.values
69
+ end
70
+
71
+ # Attribute type mapping.
72
+ def self.openapi_types
73
+ {
74
+ :'id' => :'String',
75
+ :'text' => :'String',
76
+ :'created' => :'Time',
77
+ :'conversation_id' => :'String',
78
+ :'in_reply_to_tweet_id' => :'String',
79
+ :'lang' => :'String',
80
+ :'author' => :'SearchTweets200ResponseTweetsInnerAuthor',
81
+ :'like_count' => :'Integer',
82
+ :'reply_count' => :'Integer',
83
+ :'retweet_count' => :'Integer',
84
+ :'quote_count' => :'Integer',
85
+ :'platform' => :'String'
86
+ }
87
+ end
88
+
89
+ # List of attributes with nullable: true
90
+ def self.openapi_nullable
91
+ Set.new([
92
+ :'in_reply_to_tweet_id',
93
+ ])
94
+ end
95
+
96
+ # Initializes the object
97
+ # @param [Hash] attributes Model attributes in the form of hash
98
+ def initialize(attributes = {})
99
+ if (!attributes.is_a?(Hash))
100
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::GetTweet200ResponseTweet` initialize method"
101
+ end
102
+
103
+ # check to see if the attribute exists and convert string to symbol for hash key
104
+ acceptable_attribute_map = self.class.acceptable_attribute_map
105
+ attributes = attributes.each_with_object({}) { |(k, v), h|
106
+ if (!acceptable_attribute_map.key?(k.to_sym))
107
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::GetTweet200ResponseTweet`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
108
+ end
109
+ h[k.to_sym] = v
110
+ }
111
+
112
+ if attributes.key?(:'id')
113
+ self.id = attributes[:'id']
114
+ end
115
+
116
+ if attributes.key?(:'text')
117
+ self.text = attributes[:'text']
118
+ end
119
+
120
+ if attributes.key?(:'created')
121
+ self.created = attributes[:'created']
122
+ end
123
+
124
+ if attributes.key?(:'conversation_id')
125
+ self.conversation_id = attributes[:'conversation_id']
126
+ end
127
+
128
+ if attributes.key?(:'in_reply_to_tweet_id')
129
+ self.in_reply_to_tweet_id = attributes[:'in_reply_to_tweet_id']
130
+ end
131
+
132
+ if attributes.key?(:'lang')
133
+ self.lang = attributes[:'lang']
134
+ end
135
+
136
+ if attributes.key?(:'author')
137
+ self.author = attributes[:'author']
138
+ end
139
+
140
+ if attributes.key?(:'like_count')
141
+ self.like_count = attributes[:'like_count']
142
+ end
143
+
144
+ if attributes.key?(:'reply_count')
145
+ self.reply_count = attributes[:'reply_count']
146
+ end
147
+
148
+ if attributes.key?(:'retweet_count')
149
+ self.retweet_count = attributes[:'retweet_count']
150
+ end
151
+
152
+ if attributes.key?(:'quote_count')
153
+ self.quote_count = attributes[:'quote_count']
154
+ end
155
+
156
+ if attributes.key?(:'platform')
157
+ self.platform = attributes[:'platform']
158
+ end
159
+ end
160
+
161
+ # Show invalid properties with the reasons. Usually used together with valid?
162
+ # @return Array for valid properties with the reasons
163
+ def list_invalid_properties
164
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
165
+ invalid_properties = Array.new
166
+ invalid_properties
167
+ end
168
+
169
+ # Check to see if the all the properties in the model are valid
170
+ # @return true if the model is valid
171
+ def valid?
172
+ warn '[DEPRECATED] the `valid?` method is obsolete'
173
+ true
174
+ end
175
+
176
+ # Checks equality by comparing each attribute.
177
+ # @param [Object] Object to be compared
178
+ def ==(o)
179
+ return true if self.equal?(o)
180
+ self.class == o.class &&
181
+ id == o.id &&
182
+ text == o.text &&
183
+ created == o.created &&
184
+ conversation_id == o.conversation_id &&
185
+ in_reply_to_tweet_id == o.in_reply_to_tweet_id &&
186
+ lang == o.lang &&
187
+ author == o.author &&
188
+ like_count == o.like_count &&
189
+ reply_count == o.reply_count &&
190
+ retweet_count == o.retweet_count &&
191
+ quote_count == o.quote_count &&
192
+ platform == o.platform
193
+ end
194
+
195
+ # @see the `==` method
196
+ # @param [Object] Object to be compared
197
+ def eql?(o)
198
+ self == o
199
+ end
200
+
201
+ # Calculates hash code according to all attributes.
202
+ # @return [Integer] Hash code
203
+ def hash
204
+ [id, text, created, conversation_id, in_reply_to_tweet_id, lang, author, like_count, reply_count, retweet_count, quote_count, platform].hash
205
+ end
206
+
207
+ # Builds the object from hash
208
+ # @param [Hash] attributes Model attributes in the form of hash
209
+ # @return [Object] Returns the model itself
210
+ def self.build_from_hash(attributes)
211
+ return nil unless attributes.is_a?(Hash)
212
+ attributes = attributes.transform_keys(&:to_sym)
213
+ transformed_hash = {}
214
+ openapi_types.each_pair do |key, type|
215
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
216
+ transformed_hash["#{key}"] = nil
217
+ elsif type =~ /\AArray<(.*)>/i
218
+ # check to ensure the input is an array given that the attribute
219
+ # is documented as an array but the input is not
220
+ if attributes[attribute_map[key]].is_a?(Array)
221
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
222
+ end
223
+ elsif !attributes[attribute_map[key]].nil?
224
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
225
+ end
226
+ end
227
+ new(transformed_hash)
228
+ end
229
+
230
+ # Returns the object in the form of hash
231
+ # @return [Hash] Returns the object in the form of hash
232
+ def to_hash
233
+ hash = {}
234
+ self.class.attribute_map.each_pair do |attr, param|
235
+ value = self.send(attr)
236
+ if value.nil?
237
+ is_nullable = self.class.openapi_nullable.include?(attr)
238
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
239
+ end
240
+
241
+ hash[param] = _to_hash(value)
242
+ end
243
+ hash
244
+ end
245
+
246
+ end
247
+
248
+ end
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.656'
14
+ VERSION = '0.0.657'
15
15
  end
data/lib/zernio-sdk.rb CHANGED
@@ -671,6 +671,8 @@ require 'zernio-sdk/models/get_tik_tok_creator_info200_response_privacy_levels_i
671
671
  require 'zernio-sdk/models/get_tracking_tag200_response'
672
672
  require 'zernio-sdk/models/get_tracking_tag_stats200_response'
673
673
  require 'zernio-sdk/models/get_tracking_tag_stats200_response_stats'
674
+ require 'zernio-sdk/models/get_tweet200_response'
675
+ require 'zernio-sdk/models/get_tweet200_response_tweet'
674
676
  require 'zernio-sdk/models/get_usage200_response'
675
677
  require 'zernio-sdk/models/get_user200_response'
676
678
  require 'zernio-sdk/models/get_user200_response_user'
data/openapi.yaml CHANGED
@@ -21111,12 +21111,6 @@ paths:
21111
21111
  objects so callers can build community-ops automation (e.g. "add role
21112
21112
  to all members joined in the last 7 days") on the actual platform shape.
21113
21113
 
21114
- **Important:** this endpoint requires the privileged "Server Members
21115
- Intent" on the Discord application. If the intent is not enabled,
21116
- Discord rejects the call and this endpoint returns **403**. Single
21117
- member lookup and prefix search (see the sibling endpoints) do not
21118
- need the intent.
21119
-
21120
21114
  Pagination: pass `after` = the last `user.id` from the previous page.
21121
21115
  Omit on the first call. Response includes a `nextCursor` and `hasMore`
21122
21116
  flag so callers don't need to know Discord's pagination shape.
@@ -21143,7 +21137,7 @@ paths:
21143
21137
  hasMore: { type: boolean }
21144
21138
  '400': { description: Invalid query params. }
21145
21139
  '401': { $ref: '#/components/responses/Unauthorized' }
21146
- '403': { description: The Server Members Intent is not enabled on the Discord application. }
21140
+ '403': { description: 'Discord denied access to the guild members (the bot is no longer in the guild).' }
21147
21141
  '404': { description: Discord account not found or not in this guild. }
21148
21142
 
21149
21143
  /v1/discord/guilds/{guildId}/members/search:
@@ -21155,8 +21149,8 @@ paths:
21155
21149
  Search guild members whose username or nickname **starts with** the
21156
21150
  query (Discord matches prefixes only, not substrings).
21157
21151
 
21158
- Does not require the privileged Server Members Intent, so this works
21159
- even where the full member listing returns 403.
21152
+ Cheaper than paginating the full member listing when you already know
21153
+ who you are looking for.
21160
21154
  parameters:
21161
21155
  - { name: guildId, in: path, required: true, schema: { type: string } }
21162
21156
  - { name: accountId, in: query, required: true, schema: { type: string } }
@@ -21185,8 +21179,8 @@ paths:
21185
21179
  description: |
21186
21180
  Fetch a single guild member by Discord user id.
21187
21181
 
21188
- Does not require the privileged Server Members Intent, so this works
21189
- even where the full member listing returns 403.
21182
+ Cheaper than paginating the full member listing when you already know
21183
+ who you are looking for.
21190
21184
  parameters:
21191
21185
  - { name: guildId, in: path, required: true, schema: { type: string } }
21192
21186
  - { name: userId, in: path, required: true, schema: { type: string }, description: Discord user snowflake. }
@@ -25728,6 +25722,70 @@ paths:
25728
25722
  '404': { description: Account not found }
25729
25723
  '429': { description: 'X search rate limit exceeded (300 requests per 15 minutes)' }
25730
25724
 
25725
+ /v1/twitter/tweet:
25726
+ get:
25727
+ operationId: getTweet
25728
+ summary: Look up a tweet
25729
+ description: |
25730
+ Resolve a single tweet by ID or URL into its text, author and public metrics.
25731
+
25732
+ Use this to render a post you are referencing, e.g. the tweet quoted by a quote-style post.
25733
+ Unlike `/v1/twitter/search` this is not limited to the last 7 days and works for any tweet
25734
+ visible to the connected account.
25735
+
25736
+ Billed as an X posts read ($0.005). Repeat lookups of the same tweet within the same UTC day
25737
+ are charged once.
25738
+ tags: [Twitter Engagement]
25739
+ security: [{ bearerAuth: [] }]
25740
+ parameters:
25741
+ - name: accountId
25742
+ in: query
25743
+ required: true
25744
+ schema: { type: string }
25745
+ description: The social account ID whose X token is used for the lookup
25746
+ - name: id
25747
+ in: query
25748
+ required: true
25749
+ schema: { type: string }
25750
+ description: 'Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...)'
25751
+ responses:
25752
+ '200':
25753
+ description: The resolved tweet
25754
+ content:
25755
+ application/json:
25756
+ schema:
25757
+ type: object
25758
+ properties:
25759
+ status: { type: string, example: success }
25760
+ tweet:
25761
+ type: object
25762
+ properties:
25763
+ id: { type: string }
25764
+ text: { type: string }
25765
+ created: { type: string, format: date-time }
25766
+ conversationId: { type: string }
25767
+ inReplyToTweetId: { type: [string, "null"], description: 'Parent tweet ID when the tweet is itself a reply' }
25768
+ lang: { type: string }
25769
+ author:
25770
+ type: object
25771
+ properties:
25772
+ id: { type: string }
25773
+ username: { type: string }
25774
+ displayName: { type: string }
25775
+ avatar: { type: string }
25776
+ verifiedType: { type: string }
25777
+ likeCount: { type: integer }
25778
+ replyCount: { type: integer }
25779
+ retweetCount: { type: integer }
25780
+ quoteCount: { type: integer }
25781
+ platform: { type: string, example: twitter }
25782
+ '400': { $ref: '#/components/responses/BadRequest' }
25783
+ '401': { $ref: '#/components/responses/Unauthorized' }
25784
+ '402': { description: 'X API spend cap reached for this billing period' }
25785
+ '403': { description: 'X analytics capability not enabled for this account (code X_ANALYTICS_NOT_ENABLED), or the tweet author is protected or suspended' }
25786
+ '404': { description: 'Account not found, or the tweet was deleted or never existed' }
25787
+ '429': { description: 'X rate limit exceeded' }
25788
+
25731
25789
  /v1/inbox/mentions:
25732
25790
  get:
25733
25791
  operationId: listInboxMentions
@@ -173,7 +173,7 @@ describe 'DiscordApi' do
173
173
 
174
174
  # unit tests for get_discord_guild_member
175
175
  # Get a Discord guild member
176
- # Fetch a single guild member by Discord user id. Does not require the privileged Server Members Intent, so this works even where the full member listing returns 403.
176
+ # Fetch a single guild member by Discord user id. Cheaper than paginating the full member listing when you already know who you are looking for.
177
177
  # @param guild_id
178
178
  # @param user_id Discord user snowflake.
179
179
  # @param account_id
@@ -212,7 +212,7 @@ describe 'DiscordApi' do
212
212
 
213
213
  # unit tests for list_discord_guild_members
214
214
  # List Discord guild members
215
- # Cursor-paginated list of guild members. Returns Discord&#39;s raw member objects so callers can build community-ops automation (e.g. \&quot;add role to all members joined in the last 7 days\&quot;) on the actual platform shape. **Important:** this endpoint requires the privileged \&quot;Server Members Intent\&quot; on the Discord application. If the intent is not enabled, Discord rejects the call and this endpoint returns **403**. Single member lookup and prefix search (see the sibling endpoints) do not need the intent. Pagination: pass &#x60;after&#x60; &#x3D; the last &#x60;user.id&#x60; from the previous page. Omit on the first call. Response includes a &#x60;nextCursor&#x60; and &#x60;hasMore&#x60; flag so callers don&#39;t need to know Discord&#39;s pagination shape.
215
+ # Cursor-paginated list of guild members. Returns Discord&#39;s raw member objects so callers can build community-ops automation (e.g. \&quot;add role to all members joined in the last 7 days\&quot;) on the actual platform shape. Pagination: pass &#x60;after&#x60; &#x3D; the last &#x60;user.id&#x60; from the previous page. Omit on the first call. Response includes a &#x60;nextCursor&#x60; and &#x60;hasMore&#x60; flag so callers don&#39;t need to know Discord&#39;s pagination shape.
216
216
  # @param guild_id
217
217
  # @param account_id
218
218
  # @param [Hash] opts the optional parameters
@@ -296,7 +296,7 @@ describe 'DiscordApi' do
296
296
 
297
297
  # unit tests for search_discord_guild_members
298
298
  # Search Discord guild members
299
- # Search guild members whose username or nickname **starts with** the query (Discord matches prefixes only, not substrings). Does not require the privileged Server Members Intent, so this works even where the full member listing returns 403.
299
+ # Search guild members whose username or nickname **starts with** the query (Discord matches prefixes only, not substrings). Cheaper than paginating the full member listing when you already know who you are looking for.
300
300
  # @param guild_id
301
301
  # @param account_id
302
302
  # @param query Username or nickname prefix to match.
@@ -56,6 +56,19 @@ describe 'TwitterEngagementApi' do
56
56
  end
57
57
  end
58
58
 
59
+ # unit tests for get_tweet
60
+ # Look up a tweet
61
+ # Resolve a single tweet by ID or URL into its text, author and public metrics. Use this to render a post you are referencing, e.g. the tweet quoted by a quote-style post. Unlike &#x60;/v1/twitter/search&#x60; this is not limited to the last 7 days and works for any tweet visible to the connected account. Billed as an X posts read ($0.005). Repeat lookups of the same tweet within the same UTC day are charged once.
62
+ # @param account_id The social account ID whose X token is used for the lookup
63
+ # @param id Numeric tweet ID or a tweet URL (e.g. https://x.com/user/status/123...)
64
+ # @param [Hash] opts the optional parameters
65
+ # @return [GetTweet200Response]
66
+ describe 'get_tweet test' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
59
72
  # unit tests for remove_bookmark
60
73
  # Remove bookmark
61
74
  # Remove a bookmark from a tweet.
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::GetTweet200Response
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::GetTweet200Response do
21
+ #let(:instance) { Zernio::GetTweet200Response.new }
22
+
23
+ describe 'test an instance of GetTweet200Response' do
24
+ it 'should create an instance of GetTweet200Response' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::GetTweet200Response)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "status"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "tweet"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ end
@@ -0,0 +1,102 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api
5
+
6
+ The version of the OpenAPI document: 1.0.4
7
+ Contact: support@zernio.com
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.19.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Zernio::GetTweet200ResponseTweet
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::GetTweet200ResponseTweet do
21
+ #let(:instance) { Zernio::GetTweet200ResponseTweet.new }
22
+
23
+ describe 'test an instance of GetTweet200ResponseTweet' do
24
+ it 'should create an instance of GetTweet200ResponseTweet' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::GetTweet200ResponseTweet)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "id"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "text"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "created"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "conversation_id"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "in_reply_to_tweet_id"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "lang"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "author"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "like_count"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "reply_count"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ describe 'test attribute "retweet_count"' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ describe 'test attribute "quote_count"' do
91
+ it 'should work' do
92
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
93
+ end
94
+ end
95
+
96
+ describe 'test attribute "platform"' do
97
+ it 'should work' do
98
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
99
+ end
100
+ end
101
+
102
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zernio-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.656
4
+ version: 0.0.657
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -745,6 +745,8 @@ files:
745
745
  - docs/GetTrackingTag200Response.md
746
746
  - docs/GetTrackingTagStats200Response.md
747
747
  - docs/GetTrackingTagStats200ResponseStats.md
748
+ - docs/GetTweet200Response.md
749
+ - docs/GetTweet200ResponseTweet.md
748
750
  - docs/GetUsage200Response.md
749
751
  - docs/GetUser200Response.md
750
752
  - docs/GetUser200ResponseUser.md
@@ -2405,6 +2407,8 @@ files:
2405
2407
  - lib/zernio-sdk/models/get_tracking_tag200_response.rb
2406
2408
  - lib/zernio-sdk/models/get_tracking_tag_stats200_response.rb
2407
2409
  - lib/zernio-sdk/models/get_tracking_tag_stats200_response_stats.rb
2410
+ - lib/zernio-sdk/models/get_tweet200_response.rb
2411
+ - lib/zernio-sdk/models/get_tweet200_response_tweet.rb
2408
2412
  - lib/zernio-sdk/models/get_usage200_response.rb
2409
2413
  - lib/zernio-sdk/models/get_user200_response.rb
2410
2414
  - lib/zernio-sdk/models/get_user200_response_user.rb
@@ -4025,6 +4029,8 @@ files:
4025
4029
  - spec/models/get_tracking_tag200_response_spec.rb
4026
4030
  - spec/models/get_tracking_tag_stats200_response_spec.rb
4027
4031
  - spec/models/get_tracking_tag_stats200_response_stats_spec.rb
4032
+ - spec/models/get_tweet200_response_spec.rb
4033
+ - spec/models/get_tweet200_response_tweet_spec.rb
4028
4034
  - spec/models/get_usage200_response_spec.rb
4029
4035
  - spec/models/get_user200_response_spec.rb
4030
4036
  - spec/models/get_user200_response_user_spec.rb
@@ -5107,6 +5113,7 @@ test_files:
5107
5113
  - spec/models/get_tik_tok_creator_info200_response_commercial_content_types_inner_spec.rb
5108
5114
  - spec/models/get_inbox_conversation_messages200_response_messages_inner_reactions_inner_spec.rb
5109
5115
  - spec/models/update_ad_set_status200_response_spec.rb
5116
+ - spec/models/get_tweet200_response_spec.rb
5110
5117
  - spec/models/get_inbox_conversation_messages200_response_pagination_spec.rb
5111
5118
  - spec/models/slack_platform_data_spec.rb
5112
5119
  - spec/models/update_tracking_tag_request_spec.rb
@@ -5153,6 +5160,7 @@ test_files:
5153
5160
  - spec/models/get_linked_in_supply_forecast200_response_forecast_inner_time_series_inner_spec.rb
5154
5161
  - spec/models/get_gmb_locations200_response_spec.rb
5155
5162
  - spec/models/list_calls200_response_calls_inner_spec.rb
5163
+ - spec/models/get_tweet200_response_tweet_spec.rb
5156
5164
  - spec/models/search_inbox_conversations200_response_spec.rb
5157
5165
  - spec/models/webhook_payload_message_delivery_status_error_spec.rb
5158
5166
  - spec/models/uploaded_or_derived_audience_spec.rb