}
/*package*/ HttpParameter[] asHttpParameterArray() {
List<HttpParameter> params = new ArrayList<HttpParameter>();
if (name != null) {
params.add(new HttpParameter("name", name));
}
if (startTime != null) {
params.add(new HttpParameter("start_time", z_F4JInternalStringUtil.formatISO8601Datetime(startTime)));
}
if (endTime != null) {
params.add(new HttpParameter("end_time", z_F4JInternalStringUtil.formatISO8601Datetime(endTime)));
}
if (description != null) {
params.add(new HttpParameter("description", description));
}
if (location != null) {
params.add(new HttpParameter("location", location));
}
if (locationId != null) {
params.add(new HttpParameter("location_id", locationId));
}
if (privacyType != null) {
params.add(new HttpParameter("privacy_type", privacyType.toString()));
}
if (ticketURI != null) {
params.add(new HttpParameter("ticket_uri", ticketURI.toString()));
}
if (noFeedStory != null) {
params.add(new HttpParameter("no_feed_story", noFeedStory));
}
return params.toArray(new HttpParameter[params.size()]);
}