late-sdk 0.0.1293 → 0.0.1294

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: c8ac7aa09be655175ecb97a23a260b6768d9f5913737c19ee358eb0fdfca9a61
4
- data.tar.gz: fec6a6f337bc49ddc6cf646e825ad767228266b49f6ecb6889dfdedfc10d4fca
3
+ metadata.gz: 12d3d556a0f977386ff61298669f8bd8f1790e262d00e22ee9110306ab836907
4
+ data.tar.gz: 9653db1eaca6c3ecb00afcbec2712f12985f43311e49f3df52a0ccf8d38ab280
5
5
  SHA512:
6
- metadata.gz: b2e7e064854733ee075e9dafea73ce2f1ae4b3af94b7903f8708554268eb509fefbaca6d8a86698263534d6f8b32ce1edf312a79914c9f92ba42f44d511c4d94
7
- data.tar.gz: bd32a9f9fcd4823679e4bac6df726b0a60111bad50f696efdba0236d8bda564404aa6bd49e21099f3333f3aebd33ef8d0fc828c792a01813b8e58da1921b6109
6
+ metadata.gz: 4b824c31d693476bafd478073c77a982888b0168f26169b205101c00692a5fc3429acbdde2e40f5ac7f4924b5e11f66dc2123d8c8f3cb493bfdd72da5864356b
7
+ data.tar.gz: 5cc8bfcd24fc276f358b94ff1528d9f8008d0e5cdb4ff1ca97ebeb2d21e831a0e18dc548103c7228c593fb02ed2b5566d5e3a614efd3dbd95a6e0710e91ee32c
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | Meta ad ID (Instagram only). | [optional] |
8
8
  | **title** | **String** | Ad creative title (Instagram only). | [optional] |
9
+ | **original_media_id** | **String** | Original media ID that Meta reports for the ad (Instagram only). | [optional] |
9
10
  | **promotion_status** | **String** | Facebook promotion status returned by Graph API. Common values: \"active\" (organic post currently boosted), \"ineligible\" (dark post or ad creative, not promotable because it already is an ad). | [optional] |
10
11
 
11
12
  ## Example
@@ -16,6 +17,7 @@ require 'zernio-sdk'
16
17
  instance = Zernio::WebhookPayloadCommentCommentAd.new(
17
18
  id: null,
18
19
  title: null,
20
+ original_media_id: null,
19
21
  promotion_status: null
20
22
  )
21
23
  ```
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Zernio
17
- # Ad context. Present only when the comment was made on paid content. Instagram: populated from the webhook payload's value.media.ad_id and value.media.ad_title. Facebook: populated via a Graph API lookup of the parent post's promotion_status. Absent for comments on organic posts that are not currently promoted.
17
+ # Ad context. Present only when the comment was made on paid content. Instagram: populated from the webhook payload's value.media.ad_id, value.media.ad_title and value.media.original_media_id, each only when Meta includes it. Facebook: populated via a Graph API lookup of the parent post's promotion_status. Absent for comments on organic posts that are not currently promoted.
18
18
  class WebhookPayloadCommentCommentAd < ApiModelBase
19
19
  # Meta ad ID (Instagram only).
20
20
  attr_accessor :id
@@ -22,6 +22,9 @@ module Zernio
22
22
  # Ad creative title (Instagram only).
23
23
  attr_accessor :title
24
24
 
25
+ # Original media ID that Meta reports for the ad (Instagram only).
26
+ attr_accessor :original_media_id
27
+
25
28
  # Facebook promotion status returned by Graph API. Common values: \"active\" (organic post currently boosted), \"ineligible\" (dark post or ad creative, not promotable because it already is an ad).
26
29
  attr_accessor :promotion_status
27
30
 
@@ -30,6 +33,7 @@ module Zernio
30
33
  {
31
34
  :'id' => :'id',
32
35
  :'title' => :'title',
36
+ :'original_media_id' => :'originalMediaId',
33
37
  :'promotion_status' => :'promotionStatus'
34
38
  }
35
39
  end
@@ -49,6 +53,7 @@ module Zernio
49
53
  {
50
54
  :'id' => :'String',
51
55
  :'title' => :'String',
56
+ :'original_media_id' => :'String',
52
57
  :'promotion_status' => :'String'
53
58
  }
54
59
  end
@@ -83,6 +88,10 @@ module Zernio
83
88
  self.title = attributes[:'title']
84
89
  end
85
90
 
91
+ if attributes.key?(:'original_media_id')
92
+ self.original_media_id = attributes[:'original_media_id']
93
+ end
94
+
86
95
  if attributes.key?(:'promotion_status')
87
96
  self.promotion_status = attributes[:'promotion_status']
88
97
  end
@@ -110,6 +119,7 @@ module Zernio
110
119
  self.class == o.class &&
111
120
  id == o.id &&
112
121
  title == o.title &&
122
+ original_media_id == o.original_media_id &&
113
123
  promotion_status == o.promotion_status
114
124
  end
115
125
 
@@ -122,7 +132,7 @@ module Zernio
122
132
  # Calculates hash code according to all attributes.
123
133
  # @return [Integer] Hash code
124
134
  def hash
125
- [id, title, promotion_status].hash
135
+ [id, title, original_media_id, promotion_status].hash
126
136
  end
127
137
 
128
138
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.1293'
14
+ VERSION = '0.0.1294'
15
15
  end