 
     static func decode(_ decodeable: [String: Any], version: Int) -> ArtistInviteSubmission.Action? {
         guard
-            let statusChange = (decodeable["statusChange"] as? String).flatMap({ ArtistInviteSubmission.Status(rawValue: $0) }),
             let nameStr = decodeable["name"] as? String,
             let label = decodeable["label"] as? String,
             let url = decodeable["url"] as? URL,

        init?(name nameStr: String, json: JSON) {
            guard
                let parameters = json["body"].object as? [String: String],
                let statusChange = json["body"]["status"].string.flatMap({ Status(rawValue: $0) }),
                let label = json["label"].string,
                let method = json["method"].string.map({ $0.uppercased() }).flatMap({ Moya.Method(rawValue: $0) }),
                let url = json["href"].string.flatMap({ URL(string: $0) })
            else { return nil }

            self.init(statusChange: statusChange, name: Name(nameStr), label: label, request: ElloRequest(url: url, method: method, parameters: parameters))
        }
    }


            }
        }

        init(name: Name, label: String, request: ElloRequest) {
            self.name = name
            self.label = label
            self.request = request
