Location Problem Type
What is wrong with a location, on the canonical numeric 0-5 wire contract - the LocationProblemReport.problemType a member picks when reporting a problem with Locations.reportLocationProblem.
In Swift the values read .incorrectAddress, .permanentlyClosed, .incorrectHours, .incorrectContactInfo, .duplicateLocation and .other.
Entries
The address or the map position is wrong. Send the corrected address fields, or LocationProblemReport.latitude and LocationProblemReport.longitude together.
The location has closed for good. No corrections are needed.
The opening hours are wrong. A report has no hours fields - put the correct hours in LocationProblemReport.description.
The phone number, email or website is wrong. A report has no contact fields - put the correct details in LocationProblemReport.description.
The location is listed more than once.
Anything else; describe it in LocationProblemReport.description.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.