Replacing remove with Remove and update with Update
[sfa.git] / sfa / methods / GetSelfCredential.py
index fcee97c..a5c7d40 100644 (file)
@@ -26,7 +26,8 @@ class GetSelfCredential(Method):
     accepts = [
         Parameter(str, "certificate"),
         Parameter(str, "Human readable name (hrn or urn)"),
-        Parameter(str, "Object type"),
+        Mixed(Parameter(str, "Record type"),
+              Parameter(None, "Type not specified")),
         ]
 
     returns = Parameter(str, "String representation of a credential object")