@@ -11,25 +11,17 @@ public struct AuthenticationUpdate: Codable, JSONEncodable {
1111 public var type : AuthenticationType ?
1212 /// Descriptive name for the resource.
1313 public var name : String ?
14- public var platform : Platform ?
1514 public var input : AuthInputPartial ?
1615
17- public init (
18- type: AuthenticationType ? = nil ,
19- name: String ? = nil ,
20- platform: Platform ? = nil ,
21- input: AuthInputPartial ? = nil
22- ) {
16+ public init ( type: AuthenticationType ? = nil , name: String ? = nil , input: AuthInputPartial ? = nil ) {
2317 self . type = type
2418 self . name = name
25- self . platform = platform
2619 self . input = input
2720 }
2821
2922 public enum CodingKeys : String , CodingKey , CaseIterable {
3023 case type
3124 case name
32- case platform
3325 case input
3426 }
3527
@@ -39,7 +31,6 @@ public struct AuthenticationUpdate: Codable, JSONEncodable {
3931 var container = encoder. container ( keyedBy: CodingKeys . self)
4032 try container. encodeIfPresent ( self . type, forKey: . type)
4133 try container. encodeIfPresent ( self . name, forKey: . name)
42- try container. encodeIfPresent ( self . platform, forKey: . platform)
4334 try container. encodeIfPresent ( self . input, forKey: . input)
4435 }
4536}
@@ -48,7 +39,6 @@ extension AuthenticationUpdate: Equatable {
4839 public static func == ( lhs: AuthenticationUpdate , rhs: AuthenticationUpdate ) -> Bool {
4940 lhs. type == rhs. type &&
5041 lhs. name == rhs. name &&
51- lhs. platform == rhs. platform &&
5242 lhs. input == rhs. input
5343 }
5444}
@@ -57,7 +47,6 @@ extension AuthenticationUpdate: Hashable {
5747 public func hash( into hasher: inout Hasher ) {
5848 hasher. combine ( self . type? . hashValue)
5949 hasher. combine ( self . name? . hashValue)
60- hasher. combine ( self . platform? . hashValue)
6150 hasher. combine ( self . input? . hashValue)
6251 }
6352}
0 commit comments