SearchSuggestData.ets 2 KB
@Observed
export class SearchSuggestData{
  // activityExt: null
  appStyle: string = ""
  // askInfo: null
  axisColor: string = ""
  // bestNoticer: null
  // bottomNavId: null
  cardItemId: string = ""
  channelId: number = -1
  // commentInfo: null
  corner: string = ""
  coverSize: string = ""
  coverType: number = -1
  coverUrl: string = ""
  expIds: string = ""
  extra: string = ""
  fullColumnImgUrls: Array<FullColumnImgUrls> = []
  // hasMore: null
  itemId: string = ""
  itemType: string = ""
  itemTypeCode: string = ""
  keyArticle: number = -1
  // landscape: null
  // likeStyle: null
  linkUrl: string = ""
  // liveInfo: null
  menuShow: number = -1
  newTags: string = ""
  newsAuthor: string = ""
  newsSubTitle: string = ""
  newsSummary: string = ""
  newsTitle: string = ""
  newsTitleColor: string = ""
  objectId: string = ""
  objectLevel: string = ""
  objectType: string = ""
  // openComment: null
  // openLikes: null
  pageId: string = ""
  // photoNum: null
  // position: null
  // productNum: null
  publishTime: string = ""
  // pushTime: null
  // pushUnqueId: null
  readFlag: number = -1
  recommend: number = -1
  relId: number = -1
  relObjectId: string = ""
  relType: number = -1
  // rmhInfo: null
  rmhPlatform: number = -1
  sceneId: string = ""
  // shareInfo: null
  // slideShows: Array< unknown >
  // sortValue: null
  source: string = ""
  subObjectType: string = ""
  subSceneId: string = ""
  // tagIds: Array< unknown >
  // tagWord: null
  // titleShow: null
  // titleShowPolicy: null
  // topicTemplate: null
  traceId: string = ""
  traceInfo: string = ""
  // userInfo: null
  videoInfo: VideoInfo = new VideoInfo()
  visitorComment: number = -1
  // voiceInfo: null
}

class FullColumnImgUrls{
  // format: null
  fullUrl: string = ""
  height: number = -1
  landscape: number = -1
  size: number = -1
  url: string = ""
  weight: number = -1
}

class VideoInfo{
  firstFrameImageUri: string = ""
  videoDuration: number = -1
  videoLandscape: number = -1
  videoUrl: string = ""
}