Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Request ¶
type Request struct { XMLName xml.Name `xml:"CsRequest"` APIAuthKey string `json:"ApiAuthKey" xml:"ApiAuthKey"` APIRequestType string `json:"ApiRequestType" xml:"ApiRequestType"` APIRequestVersion string `json:"ApiRequestVersion" xml:"ApiRequestVersion"` DeviceType string `json:"DeviceType" xml:"DeviceType"` DeviceModel string `json:"DeviceModel" xml:"DeviceModel"` DeviceID string `json:"DeviceId" xml:"DeviceId"` RequestType string `json:"RequestType" xml:"RequestType"` RequestTypeID int `json:"RequestTypeId" xml:"RequestTypeId"` ImageURL string `json:"ImageUrl" xml:"ImageUrl"` ImageURLXl string `json:"ImageUrlXl" xml:"ImageUrlXl"` ImageURLLg string `json:"ImageUrlLg" xml:"ImageUrlLg"` ImageURLMd string `json:"ImageUrlMd" xml:"ImageUrlMd"` ImageURLSm string `json:"ImageUrlSm" xml:"ImageUrlSm"` ImageURLXs string `json:"ImageUrlXs" xml:"ImageUrlXs"` Latitude float64 `json:"Latitude" xml:"Latitude"` Longitude float64 `json:"Longitude" xml:"Longitude"` Directionality string `json:"Directionality" xml:"Directionality"` Description string `json:"Description" xml:"Description"` AuthorNameFirst string `json:"AuthorNameFirst" xml:"AuthorNameFirst"` AuthorNameLast string `json:"AuthorNameLast" xml:"AuthorNameLast"` AuthorEmail string `json:"AuthorEmail" xml:"AuthorEmail"` AuthorTelephone string `json:"AuthorTelephone" xml:"AuthorTelephone"` AuthorIsAnonymous bool `json:"AuthorIsAnonymous" xml:"AuthorIsAnonymous"` URLDetail string `json:"UrlDetail" xml:"UrlDetail"` URLShortened string `json:"UrlShortened" xml:"UrlShortened"` }
Request represents the XML payload for a report request to CitySourced.
Click to show internal directories.
Click to hide internal directories.