tremendous_ruby 5.22.0 → 5.23.0

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: 45254cb5062ac51da11cd26dfe924007969603695dd4e542f7bf789954732ae1
4
- data.tar.gz: 78b00c774379d33fd3cbafaa9ad38897ab9d1a39071554c96f4c63143209e396
3
+ metadata.gz: dc07185019a542c77863eb985c13103495fb55933bafb01a9c26bf6019816c97
4
+ data.tar.gz: 560f1e3ed98dd7070e8d61bb837a05305d02535152bcccd4a57c7316e9779415
5
5
  SHA512:
6
- metadata.gz: 5b5f47b1aff50aa826b8142aac1c6c618e24a650253712ed030a9004c9d3814cfd428c9e822cfada56cf17d4a1b54e6cd4cfd97d78e6967908b34ee09bc9d458
7
- data.tar.gz: 91f7799d8927190ef8797bdec5bba156ce6667cc6274c755db2a0521174bbd92fc1bc1b97fcef55e38d3b93e346839641367b10e4d007b910cf49f8b87eddc1d
6
+ metadata.gz: d188896ded84360d1c661258b0ca3d89c452244bf52ddc6547a3c2513265dcd1495339064278a7d29ad58737474baa52e5dcc2d78144996e1a3c380be1e3be56
7
+ data.tar.gz: 7c55d5f47050b61755db4dd7ee2e40d7c02139c9aa213b211c8ee251222600b7b9804588de48814721562881d4f1e8dd94a621f7bdb48e4cef5cb5a0b3f3b09b
@@ -18,10 +18,22 @@ module Tremendous
18
18
  # The ID of the connected organization.
19
19
  attr_accessor :connected_organization_id
20
20
 
21
+ # The name associated with the user in your systems.
22
+ attr_accessor :external_name
23
+
24
+ # The email associated with the user in your systems.
25
+ attr_accessor :external_email
26
+
27
+ # The role ID to assign to the member within the organization. Only applicable when the connected organization is already linked to an existing Tremendous organization.
28
+ attr_accessor :role
29
+
21
30
  # Attribute mapping from ruby-style variable name to JSON key.
22
31
  def self.attribute_map
23
32
  {
24
- :'connected_organization_id' => :'connected_organization_id'
33
+ :'connected_organization_id' => :'connected_organization_id',
34
+ :'external_name' => :'external_name',
35
+ :'external_email' => :'external_email',
36
+ :'role' => :'role'
25
37
  }
26
38
  end
27
39
 
@@ -38,7 +50,10 @@ module Tremendous
38
50
  # Attribute type mapping.
39
51
  def self.openapi_types
40
52
  {
41
- :'connected_organization_id' => :'String'
53
+ :'connected_organization_id' => :'String',
54
+ :'external_name' => :'String',
55
+ :'external_email' => :'String',
56
+ :'role' => :'String'
42
57
  }
43
58
  end
44
59
 
@@ -69,6 +84,18 @@ module Tremendous
69
84
  else
70
85
  self.connected_organization_id = nil
71
86
  end
87
+
88
+ if attributes.key?(:'external_name')
89
+ self.external_name = attributes[:'external_name']
90
+ end
91
+
92
+ if attributes.key?(:'external_email')
93
+ self.external_email = attributes[:'external_email']
94
+ end
95
+
96
+ if attributes.key?(:'role')
97
+ self.role = attributes[:'role']
98
+ end
72
99
  end
73
100
 
74
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -106,7 +133,10 @@ module Tremendous
106
133
  def ==(o)
107
134
  return true if self.equal?(o)
108
135
  self.class == o.class &&
109
- connected_organization_id == o.connected_organization_id
136
+ connected_organization_id == o.connected_organization_id &&
137
+ external_name == o.external_name &&
138
+ external_email == o.external_email &&
139
+ role == o.role
110
140
  end
111
141
 
112
142
  # @see the `==` method
@@ -118,7 +148,7 @@ module Tremendous
118
148
  # Calculates hash code according to all attributes.
119
149
  # @return [Integer] Hash code
120
150
  def hash
121
- [connected_organization_id].hash
151
+ [connected_organization_id, external_name, external_email, role].hash
122
152
  end
123
153
 
124
154
  # Builds the object from hash
@@ -1,3 +1,3 @@
1
1
  module Tremendous
2
- VERSION = "5.22.0"
2
+ VERSION = "5.23.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tremendous_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.22.0
4
+ version: 5.23.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tremendous Developers