ynab 1.22.0 → 1.23.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 585279e8e48808663d79a26e141548a96997dae0a279a7920ffae89c5897c0bb
4
- data.tar.gz: 6b00ac6af6f6e50e61990772e01e1e59fd0216d58142f18eed3fdd2e5b57aa43
3
+ metadata.gz: 80838d3329d1437603ecf4db71480500f281f2b5a957721b772b7b3c29b63b06
4
+ data.tar.gz: fd6c710e5d7068d9bc3dd93034866517915741bcfd17f5356ce8b0100a9faf99
5
5
  SHA512:
6
- metadata.gz: '090f48a478f00c25deb2255ce0425aa79139970ddb8742d6bfc6eea39ee00386b7f724f8e142a6db93eb94edb70378e115bf43c9939a7d743adb136e816ae7c1'
7
- data.tar.gz: 62642efb9686af3297094407318fde6fc0daa5de20b1ca0f995fac84b245e6c444895621202a8047ad2f416abafef0829e14a0daaf80361ebd5a38f22da2a30a
6
+ metadata.gz: 3c16f1c98be876732be3827aa68d9b9ebe3a9f0287a4cf4f43038a288aacff0c77664b0e36243d22f53e1a1e8aada48cef62de37162ef52bb70c8e63f2823117
7
+ data.tar.gz: c8ac3653e26254900ed4dfa1b0946a3ad59467f4ad8c3d3ac7f3e4b4c88d5913c6f145610d541cead0e752e3a45defad810711c06ce6ccb91b33f3a05d34297e
@@ -16,17 +16,22 @@ module YNAB
16
16
  class HybridTransactionsResponseData
17
17
  attr_accessor :transactions
18
18
 
19
+ # The knowledge of the server
20
+ attr_accessor :server_knowledge
21
+
19
22
  # Attribute mapping from ruby-style variable name to JSON key.
20
23
  def self.attribute_map
21
24
  {
22
- :'transactions' => :'transactions'
25
+ :'transactions' => :'transactions',
26
+ :'server_knowledge' => :'server_knowledge'
23
27
  }
24
28
  end
25
29
 
26
30
  # Attribute type mapping.
27
31
  def self.swagger_types
28
32
  {
29
- :'transactions' => :'Array<HybridTransaction>'
33
+ :'transactions' => :'Array<HybridTransaction>',
34
+ :'server_knowledge' => :'Integer'
30
35
  }
31
36
  end
32
37
 
@@ -43,6 +48,10 @@ module YNAB
43
48
  self.transactions = value
44
49
  end
45
50
  end
51
+
52
+ if attributes.has_key?(:'server_knowledge')
53
+ self.server_knowledge = attributes[:'server_knowledge']
54
+ end
46
55
  end
47
56
 
48
57
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -68,7 +77,8 @@ module YNAB
68
77
  def ==(o)
69
78
  return true if self.equal?(o)
70
79
  self.class == o.class &&
71
- transactions == o.transactions
80
+ transactions == o.transactions &&
81
+ server_knowledge == o.server_knowledge
72
82
  end
73
83
 
74
84
  # @see the `==` method
@@ -80,7 +90,7 @@ module YNAB
80
90
  # Calculates hash code according to all attributes.
81
91
  # @return [Fixnum] Hash code
82
92
  def hash
83
- [transactions].hash
93
+ [transactions, server_knowledge].hash
84
94
  end
85
95
  # Builds the object from hash
86
96
  # @param [Hash] attributes Model attributes in the form of hash
data/lib/ynab/version.rb CHANGED
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module YNAB
14
- VERSION = '1.22.0'
14
+ VERSION = '1.23.0'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ynab
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.0
4
+ version: 1.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - You Need A Budget, LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-08 00:00:00.000000000 Z
11
+ date: 2023-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus