@@ -9,8 +9,6 @@ module Algolia
99 module Ingestion
1010 # Request body for updating an authentication resource.
1111 class AuthenticationUpdate
12- attr_accessor :type
13-
1412 # Descriptive name for the resource.
1513 attr_accessor :name
1614
@@ -19,7 +17,6 @@ class AuthenticationUpdate
1917 # Attribute mapping from ruby-style variable name to JSON key.
2018 def self . attribute_map
2119 {
22- :type => :type ,
2320 :name => :name ,
2421 :input => :input
2522 }
@@ -28,7 +25,6 @@ def self.attribute_map
2825 # Attribute type mapping.
2926 def self . types_mapping
3027 {
31- :type => :"AuthenticationType" ,
3228 :name => :"String" ,
3329 :input => :"AuthInputPartial"
3430 }
@@ -64,10 +60,6 @@ def initialize(attributes = {})
6460 h [ k . to_sym ] = v
6561 }
6662
67- if attributes . key? ( :type )
68- self . type = attributes [ :type ]
69- end
70-
7163 if attributes . key? ( :name )
7264 self . name = attributes [ :name ]
7365 end
@@ -82,7 +74,6 @@ def initialize(attributes = {})
8274 def ==( other )
8375 return true if self . equal? ( other )
8476 self . class == other . class &&
85- type == other . type &&
8677 name == other . name &&
8778 input == other . input
8879 end
@@ -96,7 +87,7 @@ def eql?(other)
9687 # Calculates hash code according to all attributes.
9788 # @return [Integer] Hash code
9889 def hash
99- [ type , name , input ] . hash
90+ [ name , input ] . hash
10091 end
10192
10293 # Builds the object from hash
0 commit comments