late-sdk 0.0.851 → 0.0.852

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.
Files changed (22) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -0
  3. data/docs/GetTikTokCreatorInfo200ResponsePostingLimits.md +1 -1
  4. data/docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings.md +22 -0
  5. data/docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment.md +24 -0
  6. data/docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet.md +24 -0
  7. data/docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch.md +24 -0
  8. data/lib/zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits.rb +1 -2
  9. data/lib/zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings.rb +166 -0
  10. data/lib/zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_comment.rb +179 -0
  11. data/lib/zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_duet.rb +179 -0
  12. data/lib/zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_stitch.rb +179 -0
  13. data/lib/zernio-sdk/version.rb +1 -1
  14. data/lib/zernio-sdk.rb +4 -0
  15. data/openapi.yaml +41 -4
  16. data/spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_comment_spec.rb +54 -0
  17. data/spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_duet_spec.rb +54 -0
  18. data/spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_stitch_spec.rb +54 -0
  19. data/spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_spec.rb +48 -0
  20. data/zernio-sdk-0.0.852.gem +0 -0
  21. metadata +18 -2
  22. data/zernio-sdk-0.0.851.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7c9e4aa280a27e068a392eb85fed6f85df525b789a567a32b055590799d7a1a
4
- data.tar.gz: aa2cce698d8bcedf434ef60b854e381ab919edaa119e02c13a41c00408ca8025
3
+ metadata.gz: 9caae63ae2b4535119bb292d07151abe3de5ac4bf185e2cb29aff41817a429a9
4
+ data.tar.gz: afd96f4ab77a4e182cc7a9cadf95a772667985a278ffa1264a7c1b4bf150aee3
5
5
  SHA512:
6
- metadata.gz: 88a4fcee5d7a1699da33854dac48b632f006cd8956fc7625a10f1202b132021bb2914cf7418f6a95e81058d871555177d5b403eefad2eb3747d6f1a1d23294c2
7
- data.tar.gz: cc21814916443974b15c9bdfb09792992f272297a2d55c1df54c6b1f5a224f718ce17d8d530befe05b3b94dfc156544a6cb98ebae38e4949fe946001c7f2b504
6
+ metadata.gz: dea130289656819a5215abbf0dcea66122627dfc652fc276679db737f714328fd69536fbe7dcd425a915c59e94d373f9d2995c2d9cf0fd53119de26ccadfcbcd
7
+ data.tar.gz: d28329867f8de9f2c16206abfac4c853c36abb46dfa460acb8958dff3d2ff4c392d4dad53d9b43b2c9f0ef32c74eb8f3d0f6b98a5b1c53e9b247e9b500524f25
data/README.md CHANGED
@@ -1408,6 +1408,10 @@ Class | Method | HTTP request | Description
1408
1408
  - [Zernio::GetTikTokCreatorInfo200ResponseCommercialContentTypesInner](docs/GetTikTokCreatorInfo200ResponseCommercialContentTypesInner.md)
1409
1409
  - [Zernio::GetTikTokCreatorInfo200ResponseCreator](docs/GetTikTokCreatorInfo200ResponseCreator.md)
1410
1410
  - [Zernio::GetTikTokCreatorInfo200ResponsePostingLimits](docs/GetTikTokCreatorInfo200ResponsePostingLimits.md)
1411
+ - [Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings](docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings.md)
1412
+ - [Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment](docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment.md)
1413
+ - [Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet](docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet.md)
1414
+ - [Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch](docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch.md)
1411
1415
  - [Zernio::GetTikTokCreatorInfo200ResponsePrivacyLevelsInner](docs/GetTikTokCreatorInfo200ResponsePrivacyLevelsInner.md)
1412
1416
  - [Zernio::GetTrackingTag200Response](docs/GetTrackingTag200Response.md)
1413
1417
  - [Zernio::GetTrackingTagStats200Response](docs/GetTrackingTagStats200Response.md)
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **max_video_duration_sec** | **Integer** | Maximum video duration in seconds | [optional] |
8
- | **interaction_settings** | **Object** | Available interaction toggles (comment, duet, stitch) and their defaults | [optional] |
8
+ | **interaction_settings** | [**GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings**](GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings.md) | | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -0,0 +1,22 @@
1
+ # Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **allow_comment** | [**GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment**](GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment.md) | | [optional] |
8
+ | **allow_duet** | [**GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet**](GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet.md) | | [optional] |
9
+ | **allow_stitch** | [**GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch**](GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch.md) | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'zernio-sdk'
15
+
16
+ instance = Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings.new(
17
+ allow_comment: null,
18
+ allow_duet: null,
19
+ allow_stitch: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,24 @@
1
+ # Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **enabled** | **Boolean** | Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected. | [optional] |
8
+ | **required** | **Boolean** | Whether tiktokSettings.allow_comment must be supplied when creating a post. Always true, because TikTok forbids defaulting it. | [optional] |
9
+ | **default** | **Boolean** | Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted. | [optional] |
10
+ | **label** | **String** | Human-readable toggle label. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'zernio-sdk'
16
+
17
+ instance = Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment.new(
18
+ enabled: null,
19
+ required: null,
20
+ default: null,
21
+ label: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,24 @@
1
+ # Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **enabled** | **Boolean** | Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected. | [optional] |
8
+ | **required** | **Boolean** | Whether tiktokSettings.allow_duet must be supplied when creating a post. Always true, because TikTok forbids defaulting it. | [optional] |
9
+ | **default** | **Boolean** | Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted. | [optional] |
10
+ | **label** | **String** | Human-readable toggle label. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'zernio-sdk'
16
+
17
+ instance = Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet.new(
18
+ enabled: null,
19
+ required: null,
20
+ default: null,
21
+ label: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,24 @@
1
+ # Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **enabled** | **Boolean** | Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected. | [optional] |
8
+ | **required** | **Boolean** | Whether tiktokSettings.allow_stitch must be supplied when creating a post. Always true, because TikTok forbids defaulting it. | [optional] |
9
+ | **default** | **Boolean** | Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted. | [optional] |
10
+ | **label** | **String** | Human-readable toggle label. | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'zernio-sdk'
16
+
17
+ instance = Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch.new(
18
+ enabled: null,
19
+ required: null,
20
+ default: null,
21
+ label: null
22
+ )
23
+ ```
24
+
@@ -18,7 +18,6 @@ module Zernio
18
18
  # Maximum video duration in seconds
19
19
  attr_accessor :max_video_duration_sec
20
20
 
21
- # Available interaction toggles (comment, duet, stitch) and their defaults
22
21
  attr_accessor :interaction_settings
23
22
 
24
23
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -43,7 +42,7 @@ module Zernio
43
42
  def self.openapi_types
44
43
  {
45
44
  :'max_video_duration_sec' => :'Integer',
46
- :'interaction_settings' => :'Object'
45
+ :'interaction_settings' => :'GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings'
47
46
  }
48
47
  end
49
48
 
@@ -0,0 +1,166 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
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
+ # Per-interaction descriptors for the comment, duet and stitch toggles. Each key matches the tiktokSettings field of the same name on the create-post request. allow_duet and allow_stitch are null when mediaType is photo, because TikTok does not apply duet or stitch to photo posts.
18
+ class GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings < ApiModelBase
19
+ attr_accessor :allow_comment
20
+
21
+ attr_accessor :allow_duet
22
+
23
+ attr_accessor :allow_stitch
24
+
25
+ # Attribute mapping from ruby-style variable name to JSON key.
26
+ def self.attribute_map
27
+ {
28
+ :'allow_comment' => :'allow_comment',
29
+ :'allow_duet' => :'allow_duet',
30
+ :'allow_stitch' => :'allow_stitch'
31
+ }
32
+ end
33
+
34
+ # Returns attribute mapping this model knows about
35
+ def self.acceptable_attribute_map
36
+ attribute_map
37
+ end
38
+
39
+ # Returns all the JSON keys this model knows about
40
+ def self.acceptable_attributes
41
+ acceptable_attribute_map.values
42
+ end
43
+
44
+ # Attribute type mapping.
45
+ def self.openapi_types
46
+ {
47
+ :'allow_comment' => :'GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment',
48
+ :'allow_duet' => :'GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet',
49
+ :'allow_stitch' => :'GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch'
50
+ }
51
+ end
52
+
53
+ # List of attributes with nullable: true
54
+ def self.openapi_nullable
55
+ Set.new([
56
+ ])
57
+ end
58
+
59
+ # Initializes the object
60
+ # @param [Hash] attributes Model attributes in the form of hash
61
+ def initialize(attributes = {})
62
+ if (!attributes.is_a?(Hash))
63
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings` initialize method"
64
+ end
65
+
66
+ # check to see if the attribute exists and convert string to symbol for hash key
67
+ acceptable_attribute_map = self.class.acceptable_attribute_map
68
+ attributes = attributes.each_with_object({}) { |(k, v), h|
69
+ if (!acceptable_attribute_map.key?(k.to_sym))
70
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
71
+ end
72
+ h[k.to_sym] = v
73
+ }
74
+
75
+ if attributes.key?(:'allow_comment')
76
+ self.allow_comment = attributes[:'allow_comment']
77
+ end
78
+
79
+ if attributes.key?(:'allow_duet')
80
+ self.allow_duet = attributes[:'allow_duet']
81
+ end
82
+
83
+ if attributes.key?(:'allow_stitch')
84
+ self.allow_stitch = attributes[:'allow_stitch']
85
+ end
86
+ end
87
+
88
+ # Show invalid properties with the reasons. Usually used together with valid?
89
+ # @return Array for valid properties with the reasons
90
+ def list_invalid_properties
91
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
92
+ invalid_properties = Array.new
93
+ invalid_properties
94
+ end
95
+
96
+ # Check to see if the all the properties in the model are valid
97
+ # @return true if the model is valid
98
+ def valid?
99
+ warn '[DEPRECATED] the `valid?` method is obsolete'
100
+ true
101
+ end
102
+
103
+ # Checks equality by comparing each attribute.
104
+ # @param [Object] Object to be compared
105
+ def ==(o)
106
+ return true if self.equal?(o)
107
+ self.class == o.class &&
108
+ allow_comment == o.allow_comment &&
109
+ allow_duet == o.allow_duet &&
110
+ allow_stitch == o.allow_stitch
111
+ end
112
+
113
+ # @see the `==` method
114
+ # @param [Object] Object to be compared
115
+ def eql?(o)
116
+ self == o
117
+ end
118
+
119
+ # Calculates hash code according to all attributes.
120
+ # @return [Integer] Hash code
121
+ def hash
122
+ [allow_comment, allow_duet, allow_stitch].hash
123
+ end
124
+
125
+ # Builds the object from hash
126
+ # @param [Hash] attributes Model attributes in the form of hash
127
+ # @return [Object] Returns the model itself
128
+ def self.build_from_hash(attributes)
129
+ return nil unless attributes.is_a?(Hash)
130
+ attributes = attributes.transform_keys(&:to_sym)
131
+ transformed_hash = {}
132
+ openapi_types.each_pair do |key, type|
133
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
134
+ transformed_hash["#{key}"] = nil
135
+ elsif type =~ /\AArray<(.*)>/i
136
+ # check to ensure the input is an array given that the attribute
137
+ # is documented as an array but the input is not
138
+ if attributes[attribute_map[key]].is_a?(Array)
139
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
140
+ end
141
+ elsif !attributes[attribute_map[key]].nil?
142
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
143
+ end
144
+ end
145
+ new(transformed_hash)
146
+ end
147
+
148
+ # Returns the object in the form of hash
149
+ # @return [Hash] Returns the object in the form of hash
150
+ def to_hash
151
+ hash = {}
152
+ self.class.attribute_map.each_pair do |attr, param|
153
+ value = self.send(attr)
154
+ if value.nil?
155
+ is_nullable = self.class.openapi_nullable.include?(attr)
156
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
157
+ end
158
+
159
+ hash[param] = _to_hash(value)
160
+ end
161
+ hash
162
+ end
163
+
164
+ end
165
+
166
+ end
@@ -0,0 +1,179 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
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
+ # Descriptor for the allow_comment toggle.
18
+ class GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment < ApiModelBase
19
+ # Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
20
+ attr_accessor :enabled
21
+
22
+ # Whether tiktokSettings.allow_comment must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
23
+ attr_accessor :required
24
+
25
+ # Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
26
+ attr_accessor :default
27
+
28
+ # Human-readable toggle label.
29
+ attr_accessor :label
30
+
31
+ # Attribute mapping from ruby-style variable name to JSON key.
32
+ def self.attribute_map
33
+ {
34
+ :'enabled' => :'enabled',
35
+ :'required' => :'required',
36
+ :'default' => :'default',
37
+ :'label' => :'label'
38
+ }
39
+ end
40
+
41
+ # Returns attribute mapping this model knows about
42
+ def self.acceptable_attribute_map
43
+ attribute_map
44
+ end
45
+
46
+ # Returns all the JSON keys this model knows about
47
+ def self.acceptable_attributes
48
+ acceptable_attribute_map.values
49
+ end
50
+
51
+ # Attribute type mapping.
52
+ def self.openapi_types
53
+ {
54
+ :'enabled' => :'Boolean',
55
+ :'required' => :'Boolean',
56
+ :'default' => :'Boolean',
57
+ :'label' => :'String'
58
+ }
59
+ end
60
+
61
+ # List of attributes with nullable: true
62
+ def self.openapi_nullable
63
+ Set.new([
64
+ ])
65
+ end
66
+
67
+ # Initializes the object
68
+ # @param [Hash] attributes Model attributes in the form of hash
69
+ def initialize(attributes = {})
70
+ if (!attributes.is_a?(Hash))
71
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment` initialize method"
72
+ end
73
+
74
+ # check to see if the attribute exists and convert string to symbol for hash key
75
+ acceptable_attribute_map = self.class.acceptable_attribute_map
76
+ attributes = attributes.each_with_object({}) { |(k, v), h|
77
+ if (!acceptable_attribute_map.key?(k.to_sym))
78
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
79
+ end
80
+ h[k.to_sym] = v
81
+ }
82
+
83
+ if attributes.key?(:'enabled')
84
+ self.enabled = attributes[:'enabled']
85
+ end
86
+
87
+ if attributes.key?(:'required')
88
+ self.required = attributes[:'required']
89
+ end
90
+
91
+ if attributes.key?(:'default')
92
+ self.default = attributes[:'default']
93
+ end
94
+
95
+ if attributes.key?(:'label')
96
+ self.label = attributes[:'label']
97
+ end
98
+ end
99
+
100
+ # Show invalid properties with the reasons. Usually used together with valid?
101
+ # @return Array for valid properties with the reasons
102
+ def list_invalid_properties
103
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
104
+ invalid_properties = Array.new
105
+ invalid_properties
106
+ end
107
+
108
+ # Check to see if the all the properties in the model are valid
109
+ # @return true if the model is valid
110
+ def valid?
111
+ warn '[DEPRECATED] the `valid?` method is obsolete'
112
+ true
113
+ end
114
+
115
+ # Checks equality by comparing each attribute.
116
+ # @param [Object] Object to be compared
117
+ def ==(o)
118
+ return true if self.equal?(o)
119
+ self.class == o.class &&
120
+ enabled == o.enabled &&
121
+ required == o.required &&
122
+ default == o.default &&
123
+ label == o.label
124
+ end
125
+
126
+ # @see the `==` method
127
+ # @param [Object] Object to be compared
128
+ def eql?(o)
129
+ self == o
130
+ end
131
+
132
+ # Calculates hash code according to all attributes.
133
+ # @return [Integer] Hash code
134
+ def hash
135
+ [enabled, required, default, label].hash
136
+ end
137
+
138
+ # Builds the object from hash
139
+ # @param [Hash] attributes Model attributes in the form of hash
140
+ # @return [Object] Returns the model itself
141
+ def self.build_from_hash(attributes)
142
+ return nil unless attributes.is_a?(Hash)
143
+ attributes = attributes.transform_keys(&:to_sym)
144
+ transformed_hash = {}
145
+ openapi_types.each_pair do |key, type|
146
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
147
+ transformed_hash["#{key}"] = nil
148
+ elsif type =~ /\AArray<(.*)>/i
149
+ # check to ensure the input is an array given that the attribute
150
+ # is documented as an array but the input is not
151
+ if attributes[attribute_map[key]].is_a?(Array)
152
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
153
+ end
154
+ elsif !attributes[attribute_map[key]].nil?
155
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
156
+ end
157
+ end
158
+ new(transformed_hash)
159
+ end
160
+
161
+ # Returns the object in the form of hash
162
+ # @return [Hash] Returns the object in the form of hash
163
+ def to_hash
164
+ hash = {}
165
+ self.class.attribute_map.each_pair do |attr, param|
166
+ value = self.send(attr)
167
+ if value.nil?
168
+ is_nullable = self.class.openapi_nullable.include?(attr)
169
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
170
+ end
171
+
172
+ hash[param] = _to_hash(value)
173
+ end
174
+ hash
175
+ end
176
+
177
+ end
178
+
179
+ end
@@ -0,0 +1,179 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
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
+ # Descriptor for the allow_duet toggle. Null when mediaType is photo.
18
+ class GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet < ApiModelBase
19
+ # Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
20
+ attr_accessor :enabled
21
+
22
+ # Whether tiktokSettings.allow_duet must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
23
+ attr_accessor :required
24
+
25
+ # Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
26
+ attr_accessor :default
27
+
28
+ # Human-readable toggle label.
29
+ attr_accessor :label
30
+
31
+ # Attribute mapping from ruby-style variable name to JSON key.
32
+ def self.attribute_map
33
+ {
34
+ :'enabled' => :'enabled',
35
+ :'required' => :'required',
36
+ :'default' => :'default',
37
+ :'label' => :'label'
38
+ }
39
+ end
40
+
41
+ # Returns attribute mapping this model knows about
42
+ def self.acceptable_attribute_map
43
+ attribute_map
44
+ end
45
+
46
+ # Returns all the JSON keys this model knows about
47
+ def self.acceptable_attributes
48
+ acceptable_attribute_map.values
49
+ end
50
+
51
+ # Attribute type mapping.
52
+ def self.openapi_types
53
+ {
54
+ :'enabled' => :'Boolean',
55
+ :'required' => :'Boolean',
56
+ :'default' => :'Boolean',
57
+ :'label' => :'String'
58
+ }
59
+ end
60
+
61
+ # List of attributes with nullable: true
62
+ def self.openapi_nullable
63
+ Set.new([
64
+ ])
65
+ end
66
+
67
+ # Initializes the object
68
+ # @param [Hash] attributes Model attributes in the form of hash
69
+ def initialize(attributes = {})
70
+ if (!attributes.is_a?(Hash))
71
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet` initialize method"
72
+ end
73
+
74
+ # check to see if the attribute exists and convert string to symbol for hash key
75
+ acceptable_attribute_map = self.class.acceptable_attribute_map
76
+ attributes = attributes.each_with_object({}) { |(k, v), h|
77
+ if (!acceptable_attribute_map.key?(k.to_sym))
78
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
79
+ end
80
+ h[k.to_sym] = v
81
+ }
82
+
83
+ if attributes.key?(:'enabled')
84
+ self.enabled = attributes[:'enabled']
85
+ end
86
+
87
+ if attributes.key?(:'required')
88
+ self.required = attributes[:'required']
89
+ end
90
+
91
+ if attributes.key?(:'default')
92
+ self.default = attributes[:'default']
93
+ end
94
+
95
+ if attributes.key?(:'label')
96
+ self.label = attributes[:'label']
97
+ end
98
+ end
99
+
100
+ # Show invalid properties with the reasons. Usually used together with valid?
101
+ # @return Array for valid properties with the reasons
102
+ def list_invalid_properties
103
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
104
+ invalid_properties = Array.new
105
+ invalid_properties
106
+ end
107
+
108
+ # Check to see if the all the properties in the model are valid
109
+ # @return true if the model is valid
110
+ def valid?
111
+ warn '[DEPRECATED] the `valid?` method is obsolete'
112
+ true
113
+ end
114
+
115
+ # Checks equality by comparing each attribute.
116
+ # @param [Object] Object to be compared
117
+ def ==(o)
118
+ return true if self.equal?(o)
119
+ self.class == o.class &&
120
+ enabled == o.enabled &&
121
+ required == o.required &&
122
+ default == o.default &&
123
+ label == o.label
124
+ end
125
+
126
+ # @see the `==` method
127
+ # @param [Object] Object to be compared
128
+ def eql?(o)
129
+ self == o
130
+ end
131
+
132
+ # Calculates hash code according to all attributes.
133
+ # @return [Integer] Hash code
134
+ def hash
135
+ [enabled, required, default, label].hash
136
+ end
137
+
138
+ # Builds the object from hash
139
+ # @param [Hash] attributes Model attributes in the form of hash
140
+ # @return [Object] Returns the model itself
141
+ def self.build_from_hash(attributes)
142
+ return nil unless attributes.is_a?(Hash)
143
+ attributes = attributes.transform_keys(&:to_sym)
144
+ transformed_hash = {}
145
+ openapi_types.each_pair do |key, type|
146
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
147
+ transformed_hash["#{key}"] = nil
148
+ elsif type =~ /\AArray<(.*)>/i
149
+ # check to ensure the input is an array given that the attribute
150
+ # is documented as an array but the input is not
151
+ if attributes[attribute_map[key]].is_a?(Array)
152
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
153
+ end
154
+ elsif !attributes[attribute_map[key]].nil?
155
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
156
+ end
157
+ end
158
+ new(transformed_hash)
159
+ end
160
+
161
+ # Returns the object in the form of hash
162
+ # @return [Hash] Returns the object in the form of hash
163
+ def to_hash
164
+ hash = {}
165
+ self.class.attribute_map.each_pair do |attr, param|
166
+ value = self.send(attr)
167
+ if value.nil?
168
+ is_nullable = self.class.openapi_nullable.include?(attr)
169
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
170
+ end
171
+
172
+ hash[param] = _to_hash(value)
173
+ end
174
+ hash
175
+ end
176
+
177
+ end
178
+
179
+ end
@@ -0,0 +1,179 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
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
+ # Descriptor for the allow_stitch toggle. Null when mediaType is photo.
18
+ class GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch < ApiModelBase
19
+ # Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.
20
+ attr_accessor :enabled
21
+
22
+ # Whether tiktokSettings.allow_stitch must be supplied when creating a post. Always true, because TikTok forbids defaulting it.
23
+ attr_accessor :required
24
+
25
+ # Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.
26
+ attr_accessor :default
27
+
28
+ # Human-readable toggle label.
29
+ attr_accessor :label
30
+
31
+ # Attribute mapping from ruby-style variable name to JSON key.
32
+ def self.attribute_map
33
+ {
34
+ :'enabled' => :'enabled',
35
+ :'required' => :'required',
36
+ :'default' => :'default',
37
+ :'label' => :'label'
38
+ }
39
+ end
40
+
41
+ # Returns attribute mapping this model knows about
42
+ def self.acceptable_attribute_map
43
+ attribute_map
44
+ end
45
+
46
+ # Returns all the JSON keys this model knows about
47
+ def self.acceptable_attributes
48
+ acceptable_attribute_map.values
49
+ end
50
+
51
+ # Attribute type mapping.
52
+ def self.openapi_types
53
+ {
54
+ :'enabled' => :'Boolean',
55
+ :'required' => :'Boolean',
56
+ :'default' => :'Boolean',
57
+ :'label' => :'String'
58
+ }
59
+ end
60
+
61
+ # List of attributes with nullable: true
62
+ def self.openapi_nullable
63
+ Set.new([
64
+ ])
65
+ end
66
+
67
+ # Initializes the object
68
+ # @param [Hash] attributes Model attributes in the form of hash
69
+ def initialize(attributes = {})
70
+ if (!attributes.is_a?(Hash))
71
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch` initialize method"
72
+ end
73
+
74
+ # check to see if the attribute exists and convert string to symbol for hash key
75
+ acceptable_attribute_map = self.class.acceptable_attribute_map
76
+ attributes = attributes.each_with_object({}) { |(k, v), h|
77
+ if (!acceptable_attribute_map.key?(k.to_sym))
78
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
79
+ end
80
+ h[k.to_sym] = v
81
+ }
82
+
83
+ if attributes.key?(:'enabled')
84
+ self.enabled = attributes[:'enabled']
85
+ end
86
+
87
+ if attributes.key?(:'required')
88
+ self.required = attributes[:'required']
89
+ end
90
+
91
+ if attributes.key?(:'default')
92
+ self.default = attributes[:'default']
93
+ end
94
+
95
+ if attributes.key?(:'label')
96
+ self.label = attributes[:'label']
97
+ end
98
+ end
99
+
100
+ # Show invalid properties with the reasons. Usually used together with valid?
101
+ # @return Array for valid properties with the reasons
102
+ def list_invalid_properties
103
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
104
+ invalid_properties = Array.new
105
+ invalid_properties
106
+ end
107
+
108
+ # Check to see if the all the properties in the model are valid
109
+ # @return true if the model is valid
110
+ def valid?
111
+ warn '[DEPRECATED] the `valid?` method is obsolete'
112
+ true
113
+ end
114
+
115
+ # Checks equality by comparing each attribute.
116
+ # @param [Object] Object to be compared
117
+ def ==(o)
118
+ return true if self.equal?(o)
119
+ self.class == o.class &&
120
+ enabled == o.enabled &&
121
+ required == o.required &&
122
+ default == o.default &&
123
+ label == o.label
124
+ end
125
+
126
+ # @see the `==` method
127
+ # @param [Object] Object to be compared
128
+ def eql?(o)
129
+ self == o
130
+ end
131
+
132
+ # Calculates hash code according to all attributes.
133
+ # @return [Integer] Hash code
134
+ def hash
135
+ [enabled, required, default, label].hash
136
+ end
137
+
138
+ # Builds the object from hash
139
+ # @param [Hash] attributes Model attributes in the form of hash
140
+ # @return [Object] Returns the model itself
141
+ def self.build_from_hash(attributes)
142
+ return nil unless attributes.is_a?(Hash)
143
+ attributes = attributes.transform_keys(&:to_sym)
144
+ transformed_hash = {}
145
+ openapi_types.each_pair do |key, type|
146
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
147
+ transformed_hash["#{key}"] = nil
148
+ elsif type =~ /\AArray<(.*)>/i
149
+ # check to ensure the input is an array given that the attribute
150
+ # is documented as an array but the input is not
151
+ if attributes[attribute_map[key]].is_a?(Array)
152
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
153
+ end
154
+ elsif !attributes[attribute_map[key]].nil?
155
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
156
+ end
157
+ end
158
+ new(transformed_hash)
159
+ end
160
+
161
+ # Returns the object in the form of hash
162
+ # @return [Hash] Returns the object in the form of hash
163
+ def to_hash
164
+ hash = {}
165
+ self.class.attribute_map.each_pair do |attr, param|
166
+ value = self.send(attr)
167
+ if value.nil?
168
+ is_nullable = self.class.openapi_nullable.include?(attr)
169
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
170
+ end
171
+
172
+ hash[param] = _to_hash(value)
173
+ end
174
+ hash
175
+ end
176
+
177
+ end
178
+
179
+ end
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.851'
14
+ VERSION = '0.0.852'
15
15
  end
data/lib/zernio-sdk.rb CHANGED
@@ -746,6 +746,10 @@ require 'zernio-sdk/models/get_tik_tok_creator_info200_response'
746
746
  require 'zernio-sdk/models/get_tik_tok_creator_info200_response_commercial_content_types_inner'
747
747
  require 'zernio-sdk/models/get_tik_tok_creator_info200_response_creator'
748
748
  require 'zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits'
749
+ require 'zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings'
750
+ require 'zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_comment'
751
+ require 'zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_duet'
752
+ require 'zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_stitch'
749
753
  require 'zernio-sdk/models/get_tik_tok_creator_info200_response_privacy_levels_inner'
750
754
  require 'zernio-sdk/models/get_tracking_tag200_response'
751
755
  require 'zernio-sdk/models/get_tracking_tag_stats200_response'
data/openapi.yaml CHANGED
@@ -17557,7 +17557,32 @@ paths:
17557
17557
  maxVideoDurationSec: { type: integer, description: Maximum video duration in seconds }
17558
17558
  interactionSettings:
17559
17559
  type: object
17560
- description: Available interaction toggles (comment, duet, stitch) and their defaults
17560
+ description: 'Per-interaction descriptors for the comment, duet and stitch toggles. Each key matches the tiktokSettings field of the same name on the create-post request. allow_duet and allow_stitch are null when mediaType is photo, because TikTok does not apply duet or stitch to photo posts.'
17561
+ properties:
17562
+ allow_comment:
17563
+ type: object
17564
+ description: 'Descriptor for the allow_comment toggle.'
17565
+ properties:
17566
+ enabled: { type: boolean, description: 'Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.' }
17567
+ required: { type: boolean, description: 'Whether tiktokSettings.allow_comment must be supplied when creating a post. Always true, because TikTok forbids defaulting it.' }
17568
+ default: { type: boolean, description: 'Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.' }
17569
+ label: { type: string, description: 'Human-readable toggle label.' }
17570
+ allow_duet:
17571
+ type: [object, "null"]
17572
+ description: 'Descriptor for the allow_duet toggle. Null when mediaType is photo.'
17573
+ properties:
17574
+ enabled: { type: boolean, description: 'Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.' }
17575
+ required: { type: boolean, description: 'Whether tiktokSettings.allow_duet must be supplied when creating a post. Always true, because TikTok forbids defaulting it.' }
17576
+ default: { type: boolean, description: 'Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.' }
17577
+ label: { type: string, description: 'Human-readable toggle label.' }
17578
+ allow_stitch:
17579
+ type: [object, "null"]
17580
+ description: 'Descriptor for the allow_stitch toggle. Null when mediaType is photo.'
17581
+ properties:
17582
+ enabled: { type: boolean, description: 'Whether the creator permits this interaction. False means they disabled it in the TikTok app. This is availability, never the value the user selected.' }
17583
+ required: { type: boolean, description: 'Whether tiktokSettings.allow_stitch must be supplied when creating a post. Always true, because TikTok forbids defaulting it.' }
17584
+ default: { type: boolean, description: 'Initial value a post composer should render. A UI seed only, never applied server-side when the field is omitted.' }
17585
+ label: { type: string, description: 'Human-readable toggle label.' }
17561
17586
  commercialContentTypes:
17562
17587
  type: array
17563
17588
  description: Available commercial content disclosure options
@@ -17585,9 +17610,21 @@ paths:
17585
17610
  postingLimits:
17586
17611
  maxVideoDurationSec: 600
17587
17612
  interactionSettings:
17588
- comment: true
17589
- duet: true
17590
- stitch: true
17613
+ allow_comment:
17614
+ enabled: true
17615
+ required: true
17616
+ default: false
17617
+ label: "Allow Comment"
17618
+ allow_duet:
17619
+ enabled: true
17620
+ required: true
17621
+ default: false
17622
+ label: "Allow Duet"
17623
+ allow_stitch:
17624
+ enabled: false
17625
+ required: true
17626
+ default: false
17627
+ label: "Allow Stitch"
17591
17628
  commercialContentTypes:
17592
17629
  - value: "none"
17593
17630
  label: "No Commercial Content"
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
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::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment do
21
+ #let(:instance) { Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment.new }
22
+
23
+ describe 'test an instance of GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment' do
24
+ it 'should create an instance of GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "enabled"' 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 "required"' 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 "default"' 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 "label"' 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
+ end
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
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::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet do
21
+ #let(:instance) { Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet.new }
22
+
23
+ describe 'test an instance of GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet' do
24
+ it 'should create an instance of GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "enabled"' 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 "required"' 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 "default"' 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 "label"' 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
+ end
@@ -0,0 +1,54 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
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::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch do
21
+ #let(:instance) { Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch.new }
22
+
23
+ describe 'test an instance of GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch' do
24
+ it 'should create an instance of GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "enabled"' 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 "required"' 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 "default"' 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 "label"' 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
+ end
@@ -0,0 +1,48 @@
1
+ =begin
2
+ #Zernio API
3
+
4
+ #API reference for Zernio. Authenticate with a Bearer API key. Base URL: https://zernio.com/api Versioning and deprecation: all endpoints are versioned in the URL path (current version: /v1). Breaking changes only ship in a new path version; existing versions keep working. Deprecated operations are marked 'deprecated: true' in this spec and announced in the changelog (https://zernio.com/changelog) before removal. Errors: every 4xx/5xx response is application/json with a machine-readable 'code' and a human-readable 'error' message (see the ErrorResponse schema).
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::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings do
21
+ #let(:instance) { Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings.new }
22
+
23
+ describe 'test an instance of GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings' do
24
+ it 'should create an instance of GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(Zernio::GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "allow_comment"' 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 "allow_duet"' 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 "allow_stitch"' 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
+ end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: late-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.851
4
+ version: 0.0.852
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -826,6 +826,10 @@ files:
826
826
  - docs/GetTikTokCreatorInfo200ResponseCommercialContentTypesInner.md
827
827
  - docs/GetTikTokCreatorInfo200ResponseCreator.md
828
828
  - docs/GetTikTokCreatorInfo200ResponsePostingLimits.md
829
+ - docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettings.md
830
+ - docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowComment.md
831
+ - docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowDuet.md
832
+ - docs/GetTikTokCreatorInfo200ResponsePostingLimitsInteractionSettingsAllowStitch.md
829
833
  - docs/GetTikTokCreatorInfo200ResponsePrivacyLevelsInner.md
830
834
  - docs/GetTrackingTag200Response.md
831
835
  - docs/GetTrackingTagStats200Response.md
@@ -2708,6 +2712,10 @@ files:
2708
2712
  - lib/zernio-sdk/models/get_tik_tok_creator_info200_response_commercial_content_types_inner.rb
2709
2713
  - lib/zernio-sdk/models/get_tik_tok_creator_info200_response_creator.rb
2710
2714
  - lib/zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits.rb
2715
+ - lib/zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings.rb
2716
+ - lib/zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_comment.rb
2717
+ - lib/zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_duet.rb
2718
+ - lib/zernio-sdk/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_stitch.rb
2711
2719
  - lib/zernio-sdk/models/get_tik_tok_creator_info200_response_privacy_levels_inner.rb
2712
2720
  - lib/zernio-sdk/models/get_tracking_tag200_response.rb
2713
2721
  - lib/zernio-sdk/models/get_tracking_tag_stats200_response.rb
@@ -4546,6 +4554,10 @@ files:
4546
4554
  - spec/models/get_telegram_connect_status200_response_spec.rb
4547
4555
  - spec/models/get_tik_tok_creator_info200_response_commercial_content_types_inner_spec.rb
4548
4556
  - spec/models/get_tik_tok_creator_info200_response_creator_spec.rb
4557
+ - spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_comment_spec.rb
4558
+ - spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_duet_spec.rb
4559
+ - spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_stitch_spec.rb
4560
+ - spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_spec.rb
4549
4561
  - spec/models/get_tik_tok_creator_info200_response_posting_limits_spec.rb
4550
4562
  - spec/models/get_tik_tok_creator_info200_response_privacy_levels_inner_spec.rb
4551
4563
  - spec/models/get_tik_tok_creator_info200_response_spec.rb
@@ -5593,7 +5605,7 @@ files:
5593
5605
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
5594
5606
  - spec/models/you_tube_video_retention_response_spec.rb
5595
5607
  - spec/spec_helper.rb
5596
- - zernio-sdk-0.0.851.gem
5608
+ - zernio-sdk-0.0.852.gem
5597
5609
  - zernio-sdk.gemspec
5598
5610
  homepage: https://openapi-generator.tech
5599
5611
  licenses:
@@ -5791,6 +5803,7 @@ test_files:
5791
5803
  - spec/models/webhook_payload_account_connected_account_spec.rb
5792
5804
  - spec/models/query_ad_insights200_response_spec.rb
5793
5805
  - spec/models/create_phone_number_kyc_link200_response_spec.rb
5806
+ - spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_stitch_spec.rb
5794
5807
  - spec/models/update_account_group_request_spec.rb
5795
5808
  - spec/models/instagram_platform_data_trial_params_spec.rb
5796
5809
  - spec/models/ad_tree_campaign_spec.rb
@@ -5967,6 +5980,7 @@ test_files:
5967
5980
  - spec/models/inbox_webhook_conversation_spec.rb
5968
5981
  - spec/models/list_comment_automations200_response_automations_inner_stats_spec.rb
5969
5982
  - spec/models/list_inbox_conversations200_response_meta_spec.rb
5983
+ - spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_comment_spec.rb
5970
5984
  - spec/models/update_sequence200_response_sequence_spec.rb
5971
5985
  - spec/models/get_ads_timeline202_response_spec.rb
5972
5986
  - spec/models/linked_in_aggregate_analytics_total_response_analytics_spec.rb
@@ -6678,6 +6692,7 @@ test_files:
6678
6692
  - spec/models/x_article_entity_one_of1_value_data_spec.rb
6679
6693
  - spec/models/add_users_to_ad_audience200_response_spec.rb
6680
6694
  - spec/models/create_rf_prediction_request_spec.rb
6695
+ - spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_allow_duet_spec.rb
6681
6696
  - spec/models/create_sip_trunk201_response_termination_spec.rb
6682
6697
  - spec/models/create_discord_scheduled_event200_response_spec.rb
6683
6698
  - spec/models/instagram_account_insights_response_metrics_value_spec.rb
@@ -6838,6 +6853,7 @@ test_files:
6838
6853
  - spec/models/get_sms_usage200_response_spec.rb
6839
6854
  - spec/models/get_ad_set_details200_response_spec.rb
6840
6855
  - spec/models/create_workflow_request_spec.rb
6856
+ - spec/models/get_tik_tok_creator_info200_response_posting_limits_interaction_settings_spec.rb
6841
6857
  - spec/models/x_api_operation_triggered_by_inner_spec.rb
6842
6858
  - spec/models/create_discord_scheduled_event_request_entity_one_of1_spec.rb
6843
6859
  - spec/models/you_tube_video_retention_response_retention_curve_inner_spec.rb
Binary file