zernio-sdk 0.0.804 → 0.0.805

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: 5a95651099e2701934e04a1e7a1cf92e078966302868e91e65a3a8368aaa4856
4
- data.tar.gz: e4bef56410dffb7fcfec0950e333a47c41d1dc4700cadd1f42c5cf6411c5322a
3
+ metadata.gz: a9c0311e691e62d3d1908979e431b1fd20cc96104498915152eeca7ffaa0c02b
4
+ data.tar.gz: 9de3e3fd9be90e23b659acb68ba846ed04c896c4480a38ec3b9e5ff422742dde
5
5
  SHA512:
6
- metadata.gz: b51cdc20292a5514c5a79e90659bcbfaf4c03bc1d204161a4570749da90a9d643e21235bd180ff60242641b91e7ad01d9b5c9eb1f60b7e644d856d8a7c909d22
7
- data.tar.gz: 50f1f5c439a747c0171e5055d911f4fa181956623f66a6d80699adcd90b5d639222799eb9c80786c8ae44ffcae82f7839917d7981bdc3e3094611ac279e801e6
6
+ metadata.gz: 5fc8be5fe853af39bf12ad30d25e9f68086ef6482cd97a3aa937edbbf0d17f5eb231fa0e3f3a3a201fd506803da9b89188d5b39e9c2d5c0e15e3b13707458c0b
7
+ data.tar.gz: 6ce4ac7116f9d4f93fcd04084d6a8727d3f8c993e3e7ab01cb1bb912a7dab0b10a3b40b4e99120f13a90116a6b66c67a755bf6a5db7b3e1650d8ed3a0cd5194e
@@ -6,6 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **message** | **String** | | [optional] |
8
8
  | **post** | [**Post**](Post.md) | | [optional] |
9
+ | **warnings** | **Array<String>** | Advisory notices about a post that was still created: media truncated for a platform, a recycling caveat, or a field that was ignored because it sat outside platforms[].platformSpecificData. Absent when there are none. | [optional] |
9
10
 
10
11
  ## Example
11
12
 
@@ -14,7 +15,8 @@ require 'zernio-sdk'
14
15
 
15
16
  instance = Zernio::PostCreateResponse.new(
16
17
  message: null,
17
- post: null
18
+ post: null,
19
+ warnings: null
18
20
  )
19
21
  ```
20
22
 
@@ -19,11 +19,15 @@ module Zernio
19
19
 
20
20
  attr_accessor :post
21
21
 
22
+ # Advisory notices about a post that was still created: media truncated for a platform, a recycling caveat, or a field that was ignored because it sat outside platforms[].platformSpecificData. Absent when there are none.
23
+ attr_accessor :warnings
24
+
22
25
  # Attribute mapping from ruby-style variable name to JSON key.
23
26
  def self.attribute_map
24
27
  {
25
28
  :'message' => :'message',
26
- :'post' => :'post'
29
+ :'post' => :'post',
30
+ :'warnings' => :'warnings'
27
31
  }
28
32
  end
29
33
 
@@ -41,7 +45,8 @@ module Zernio
41
45
  def self.openapi_types
42
46
  {
43
47
  :'message' => :'String',
44
- :'post' => :'Post'
48
+ :'post' => :'Post',
49
+ :'warnings' => :'Array<String>'
45
50
  }
46
51
  end
47
52
 
@@ -74,6 +79,12 @@ module Zernio
74
79
  if attributes.key?(:'post')
75
80
  self.post = attributes[:'post']
76
81
  end
82
+
83
+ if attributes.key?(:'warnings')
84
+ if (value = attributes[:'warnings']).is_a?(Array)
85
+ self.warnings = value
86
+ end
87
+ end
77
88
  end
78
89
 
79
90
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -97,7 +108,8 @@ module Zernio
97
108
  return true if self.equal?(o)
98
109
  self.class == o.class &&
99
110
  message == o.message &&
100
- post == o.post
111
+ post == o.post &&
112
+ warnings == o.warnings
101
113
  end
102
114
 
103
115
  # @see the `==` method
@@ -109,7 +121,7 @@ module Zernio
109
121
  # Calculates hash code according to all attributes.
110
122
  # @return [Integer] Hash code
111
123
  def hash
112
- [message, post].hash
124
+ [message, post, warnings].hash
113
125
  end
114
126
 
115
127
  # 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.804'
14
+ VERSION = '0.0.805'
15
15
  end
data/openapi.yaml CHANGED
@@ -7577,6 +7577,11 @@ components:
7577
7577
  type: string
7578
7578
  post:
7579
7579
  $ref: '#/components/schemas/Post'
7580
+ warnings:
7581
+ type: array
7582
+ description: 'Advisory notices about a post that was still created: media truncated for a platform, a recycling caveat, or a field that was ignored because it sat outside platforms[].platformSpecificData. Absent when there are none.'
7583
+ items:
7584
+ type: string
7580
7585
  PostUpdateResponse:
7581
7586
  type: object
7582
7587
  properties:
@@ -39,4 +39,10 @@ describe Zernio::PostCreateResponse do
39
39
  end
40
40
  end
41
41
 
42
+ describe 'test attribute "warnings"' 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
+
42
48
  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.804
4
+ version: 0.0.805
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator