Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
KnowledgePlanet
road-map
xfg-dev-tech-http
提交
1610a41c
xfg-dev-tech-http
项目概览
KnowledgePlanet
/
road-map
/
xfg-dev-tech-http
通知
42
Star
9
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
xfg-dev-tech-http
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
1610a41c
编写于
10月 14, 2023
作者:
小傅哥
⛹
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:从知识星球接口转换过来的对象
上级
2647f2e6
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
174 addition
and
0 deletion
+174
-0
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/Group.java
...c/main/java/cn/bugstack/xfg/dev/tech/job/model/Group.java
+20
-0
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/Owner.java
...c/main/java/cn/bugstack/xfg/dev/tech/job/model/Owner.java
+20
-0
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/RespData.java
...ain/java/cn/bugstack/xfg/dev/tech/job/model/RespData.java
+12
-0
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/Response.java
...ain/java/cn/bugstack/xfg/dev/tech/job/model/Response.java
+14
-0
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/ShowCommentsItem.java
.../cn/bugstack/xfg/dev/tech/job/model/ShowCommentsItem.java
+29
-0
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/Talk.java
...rc/main/java/cn/bugstack/xfg/dev/tech/job/model/Talk.java
+14
-0
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/TopicsItem.java
...n/java/cn/bugstack/xfg/dev/tech/job/model/TopicsItem.java
+51
-0
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/UserSpecific.java
...java/cn/bugstack/xfg/dev/tech/job/model/UserSpecific.java
+14
-0
未找到文件。
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/Group.java
0 → 100644
浏览文件 @
1610a41c
package
cn.bugstack.xfg.dev.tech.job.model
;
import
com.google.gson.annotations.SerializedName
;
import
lombok.Data
;
@Data
public
class
Group
{
@SerializedName
(
"group_id"
)
private
long
groupId
;
@SerializedName
(
"background_url"
)
private
String
backgroundUrl
;
@SerializedName
(
"name"
)
private
String
name
;
@SerializedName
(
"type"
)
private
String
type
;
}
\ No newline at end of file
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/Owner.java
0 → 100644
浏览文件 @
1610a41c
package
cn.bugstack.xfg.dev.tech.job.model
;
import
com.google.gson.annotations.SerializedName
;
import
lombok.Data
;
@Data
public
class
Owner
{
@SerializedName
(
"avatar_url"
)
private
String
avatarUrl
;
@SerializedName
(
"user_id"
)
private
long
userId
;
@SerializedName
(
"name"
)
private
String
name
;
@SerializedName
(
"location"
)
private
String
location
;
}
\ No newline at end of file
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/RespData.java
0 → 100644
浏览文件 @
1610a41c
package
cn.bugstack.xfg.dev.tech.job.model
;
import
java.util.List
;
import
com.google.gson.annotations.SerializedName
;
import
lombok.Data
;
@Data
public
class
RespData
{
@SerializedName
(
"topics"
)
private
List
<
TopicsItem
>
topics
;
}
\ No newline at end of file
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/Response.java
0 → 100644
浏览文件 @
1610a41c
package
cn.bugstack.xfg.dev.tech.job.model
;
import
com.google.gson.annotations.SerializedName
;
import
lombok.Data
;
@Data
public
class
Response
{
@SerializedName
(
"resp_data"
)
private
RespData
respData
;
@SerializedName
(
"succeeded"
)
private
boolean
succeeded
;
}
\ No newline at end of file
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/ShowCommentsItem.java
0 → 100644
浏览文件 @
1610a41c
package
cn.bugstack.xfg.dev.tech.job.model
;
import
com.google.gson.annotations.SerializedName
;
import
lombok.Data
;
@Data
public
class
ShowCommentsItem
{
@SerializedName
(
"owner"
)
private
Owner
owner
;
@SerializedName
(
"likes_count"
)
private
int
likesCount
;
@SerializedName
(
"create_time"
)
private
String
createTime
;
@SerializedName
(
"rewards_count"
)
private
int
rewardsCount
;
@SerializedName
(
"sticky"
)
private
boolean
sticky
;
@SerializedName
(
"text"
)
private
String
text
;
@SerializedName
(
"comment_id"
)
private
long
commentId
;
}
\ No newline at end of file
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/Talk.java
0 → 100644
浏览文件 @
1610a41c
package
cn.bugstack.xfg.dev.tech.job.model
;
import
com.google.gson.annotations.SerializedName
;
import
lombok.Data
;
@Data
public
class
Talk
{
@SerializedName
(
"owner"
)
private
Owner
owner
;
@SerializedName
(
"text"
)
private
String
text
;
}
\ No newline at end of file
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/TopicsItem.java
0 → 100644
浏览文件 @
1610a41c
package
cn.bugstack.xfg.dev.tech.job.model
;
import
java.util.List
;
import
com.google.gson.annotations.SerializedName
;
import
lombok.Data
;
@Data
public
class
TopicsItem
{
@SerializedName
(
"reading_count"
)
private
int
readingCount
;
@SerializedName
(
"create_time"
)
private
String
createTime
;
@SerializedName
(
"user_specific"
)
private
UserSpecific
userSpecific
;
@SerializedName
(
"rewards_count"
)
private
int
rewardsCount
;
@SerializedName
(
"show_comments"
)
private
List
<
ShowCommentsItem
>
showComments
;
@SerializedName
(
"type"
)
private
String
type
;
@SerializedName
(
"digested"
)
private
boolean
digested
;
@SerializedName
(
"likes_count"
)
private
int
likesCount
;
@SerializedName
(
"comments_count"
)
private
int
commentsCount
;
@SerializedName
(
"sticky"
)
private
boolean
sticky
;
@SerializedName
(
"talk"
)
private
Talk
talk
;
@SerializedName
(
"topic_id"
)
private
long
topicId
;
@SerializedName
(
"readers_count"
)
private
int
readersCount
;
@SerializedName
(
"group"
)
private
Group
group
;
}
\ No newline at end of file
xfg-dev-tech-trigger/src/main/java/cn/bugstack/xfg/dev/tech/job/model/UserSpecific.java
0 → 100644
浏览文件 @
1610a41c
package
cn.bugstack.xfg.dev.tech.job.model
;
import
com.google.gson.annotations.SerializedName
;
import
lombok.Data
;
@Data
public
class
UserSpecific
{
@SerializedName
(
"subscribed"
)
private
boolean
subscribed
;
@SerializedName
(
"liked"
)
private
boolean
liked
;
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录