package com.partynetwork.dataprovider.json.struct;
import com.partynetwork.dataprovider.json.CommonRequest;
import com.partynetwork.dataprovider.json.CommonResponse;
import com.partynetwork.iparty.info.IchoosePhotoInfo;
public class Ichoose_releaseIchooseRequest extends CommonRequest {
// 发起人Id
private int userId;
// 发布地点
private String publishedLocation;
// 发布地点的经度
private float publishedLongitude;
// 发布地点的纬度
private float publishedLatitude;
// 活动标题
private String eventTitle;
// 提到的用户集合(用户id集合)(第一个数据为状态表示,当提到该用户时,返回1,没有提到返回0,为空时,则为当前ichoose发布者,后面的数据为提到的用户姓名集合)
private int[] eventMentionUserArray;
// 话题的集合
private String[] eventTopicArray;
// 公开范围(0:所有;1:邀请的好友可见;2:仅i好友可见)
private int eventPurview;
// 发表的图片地址集合(最多4张)
private IchoosePhotoInfo[] eventBgArray;
// 活动音频(若无,则为空)上传时返回的文件名称
private String eventVideoUrl;
// 活动音频时间
private int eventVideoTime;
public Ichoose_releaseIchooseRequest() {
this._requestAction = "Ichoose/releaseIchoose";
}
/**
* @return userId
*/
public int getUserId() {
return userId;
}
/**
* @param userId
* 要设置的 userId
*/
public void setUserId(int userId) {
this.userId = userId;
}
/**
* @return publishedLocation
*/
public String getPublishedLocation() {
return publishedLocation;
}
/**
* @param publishedLocation
* 要设置的 publishedLocation
*/
public void setPublishedLocation(String publishedLocation) {
this.publishedLocation = publishedLocation;
}
/**
* @return publishedLongitude
*/
public float getPublishedLongitude() {
return publishedLongitude;
}
/**
* @param publishedLongitude
* 要设置的 publishedLongitude
*/
public void setPublishedLongitude(float publishedLongitude) {
this.publishedLongitude = publishedLongitude;
}
/**
* @return publishedLatitude
*/
public float getPublishedLatitude() {
return publishedLatitude;
}
/**
* @param publishedLatitude
* 要设置的 publishedLatitude
*/
public void setPublishedLatitude(float publishedLatitude) {
this.publishedLatitude = publishedLatitude;
}
/**
* @return eventTitle
*/
public String getEventTitle() {
return eventTitle;
}
/**
* @param eventTitle
* 要设置的 eventTitle
*/
public void setEventTitle(String eventTitle) {
this.eventTitle = eventTitle;
}
/**
* @return eventMentionUserArray
*/
public int[] getEventMentionUserArray() {
return eventMentionUserArray;
}
/**
* @param eventMentionUserArray
* 要设置的 eventMentionUserArray
*/
public void setEventMentionUserArray(int[] eventMentionUserArray) {
this.eventMentionUserArray = eventMentionUserArray;
}
/**
* @return eventTopicArray
*/
public String[] getEventTopicArray() {
return eventTopicArray;
}
/**
* @param eventTopicArray
* 要设置的 eventTopicArray
*/
public void setEventTopicArray(String[] eventTopicArray) {
this.eventTopicArray = eventTopicArray;
}
/**
* @return eventPurview
*/
public int getEventPurview() {
return eventPurview;
}
/**
* @param eventPurview
* 要设置的 eventPurview
*/
public void setEventPurview(int eventPurview) {
this.eventPurview = eventPurview;
}
/**
* @return eventBgArray
*/
public IchoosePhotoInfo[] getEventBgArray() {
return eventBgArray;
}
/**
* @param eventBgArray
* 要设置的 eventBgArray
*/
public void setEventBgArray(IchoosePhotoInfo[] eventBgArray) {
this.eventBgArray = eventBgArray;
}
/**
* @return eventVideoUrl
*/
public String getEventVideoUrl() {
return eventVideoUrl;
}
/**
* @param eventVideoUrl
* 要设置的 eventVideoUrl
*/
public void setEventVideoUrl(String eventVideoUrl) {
this.eventVideoUrl = eventVideoUrl;
}
/**
* @return eventVideoTime
*/
public int getEventVideoTime() {
return eventVideoTime;
}
/**
* @param eventVideoTime
* 要设置的 eventVideoTime
*/
public void setEventVideoTime(int eventVideoTime) {
this.eventVideoTime = eventVideoTime;
}
@Override
public String getJson(CommonRequest request) {
return gson.toJson((Ichoose_releaseIchooseRequest)request);
}
@Override
public CommonResponse getObject(String paramStream) {
return gson.fromJson(paramStream, Ichoose_releaseIchooseResponse.class);
}
}