All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkcontent_1_0.models.CreateFeedRequest Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkcontent_1_0.models;

import com.aliyun.tea.*;

public class CreateFeedRequest extends TeaModel {
    @NameInMap("courseInfo")
    public CreateFeedRequestCourseInfo courseInfo;

    /**
     * 

This parameter is required.

* * example: *

16621*******284773

*/ @NameInMap("createUserId") public String createUserId; /** *

This parameter is required.

*/ @NameInMap("feedInfo") public CreateFeedRequestFeedInfo feedInfo; public static CreateFeedRequest build(java.util.Map map) throws Exception { CreateFeedRequest self = new CreateFeedRequest(); return TeaModel.build(map, self); } public CreateFeedRequest setCourseInfo(CreateFeedRequestCourseInfo courseInfo) { this.courseInfo = courseInfo; return this; } public CreateFeedRequestCourseInfo getCourseInfo() { return this.courseInfo; } public CreateFeedRequest setCreateUserId(String createUserId) { this.createUserId = createUserId; return this; } public String getCreateUserId() { return this.createUserId; } public CreateFeedRequest setFeedInfo(CreateFeedRequestFeedInfo feedInfo) { this.feedInfo = feedInfo; return this; } public CreateFeedRequestFeedInfo getFeedInfo() { return this.feedInfo; } public static class CreateFeedRequestCourseInfoLectorUserInfo extends TeaModel { /** * example: *

https://static.dingtalk.com/media/lA****************p_169_169.png_60x60q90.jpg?bizType=avatar

*/ @NameInMap("avatar") public String avatar; /** *

This parameter is required.

* * example: *

用户名

*/ @NameInMap("name") public String name; /** *

This parameter is required.

* * example: *

16621*******284773

*/ @NameInMap("userId") public String userId; public static CreateFeedRequestCourseInfoLectorUserInfo build(java.util.Map map) throws Exception { CreateFeedRequestCourseInfoLectorUserInfo self = new CreateFeedRequestCourseInfoLectorUserInfo(); return TeaModel.build(map, self); } public CreateFeedRequestCourseInfoLectorUserInfo setAvatar(String avatar) { this.avatar = avatar; return this; } public String getAvatar() { return this.avatar; } public CreateFeedRequestCourseInfoLectorUserInfo setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CreateFeedRequestCourseInfoLectorUserInfo setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } } public static class CreateFeedRequestCourseInfoPayInfoCsUserInfo extends TeaModel { /** * example: *

https://static.dingtalk.com/media/lA****************p_169_169.png_60x60q90.jpg?bizType=avatar

*/ @NameInMap("avatar") public String avatar; /** *

This parameter is required.

* * example: *

用户名

*/ @NameInMap("name") public String name; /** *

This parameter is required.

* * example: *

16621*******284773

*/ @NameInMap("userId") public String userId; public static CreateFeedRequestCourseInfoPayInfoCsUserInfo build(java.util.Map map) throws Exception { CreateFeedRequestCourseInfoPayInfoCsUserInfo self = new CreateFeedRequestCourseInfoPayInfoCsUserInfo(); return TeaModel.build(map, self); } public CreateFeedRequestCourseInfoPayInfoCsUserInfo setAvatar(String avatar) { this.avatar = avatar; return this; } public String getAvatar() { return this.avatar; } public CreateFeedRequestCourseInfoPayInfoCsUserInfo setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CreateFeedRequestCourseInfoPayInfoCsUserInfo setUserId(String userId) { this.userId = userId; return this; } public String getUserId() { return this.userId; } } public static class CreateFeedRequestCourseInfoPayInfoDiscountInfo extends TeaModel { /** *

This parameter is required.

* * example: *

1624507431777

*/ @NameInMap("endTimeMillis") public Long endTimeMillis; /** *

This parameter is required.

* * example: *

100

*/ @NameInMap("price") public Long price; /** *

This parameter is required.

* * example: *

1624507431777

*/ @NameInMap("startTimeMillis") public Long startTimeMillis; public static CreateFeedRequestCourseInfoPayInfoDiscountInfo build(java.util.Map map) throws Exception { CreateFeedRequestCourseInfoPayInfoDiscountInfo self = new CreateFeedRequestCourseInfoPayInfoDiscountInfo(); return TeaModel.build(map, self); } public CreateFeedRequestCourseInfoPayInfoDiscountInfo setEndTimeMillis(Long endTimeMillis) { this.endTimeMillis = endTimeMillis; return this; } public Long getEndTimeMillis() { return this.endTimeMillis; } public CreateFeedRequestCourseInfoPayInfoDiscountInfo setPrice(Long price) { this.price = price; return this; } public Long getPrice() { return this.price; } public CreateFeedRequestCourseInfoPayInfoDiscountInfo setStartTimeMillis(Long startTimeMillis) { this.startTimeMillis = startTimeMillis; return this; } public Long getStartTimeMillis() { return this.startTimeMillis; } } public static class CreateFeedRequestCourseInfoPayInfo extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("csUserInfo") public CreateFeedRequestCourseInfoPayInfoCsUserInfo csUserInfo; @NameInMap("discountInfo") public CreateFeedRequestCourseInfoPayInfoDiscountInfo discountInfo; /** *

This parameter is required.

* * example: *

10000

*/ @NameInMap("price") public Long price; public static CreateFeedRequestCourseInfoPayInfo build(java.util.Map map) throws Exception { CreateFeedRequestCourseInfoPayInfo self = new CreateFeedRequestCourseInfoPayInfo(); return TeaModel.build(map, self); } public CreateFeedRequestCourseInfoPayInfo setCsUserInfo(CreateFeedRequestCourseInfoPayInfoCsUserInfo csUserInfo) { this.csUserInfo = csUserInfo; return this; } public CreateFeedRequestCourseInfoPayInfoCsUserInfo getCsUserInfo() { return this.csUserInfo; } public CreateFeedRequestCourseInfoPayInfo setDiscountInfo(CreateFeedRequestCourseInfoPayInfoDiscountInfo discountInfo) { this.discountInfo = discountInfo; return this; } public CreateFeedRequestCourseInfoPayInfoDiscountInfo getDiscountInfo() { return this.discountInfo; } public CreateFeedRequestCourseInfoPayInfo setPrice(Long price) { this.price = price; return this; } public Long getPrice() { return this.price; } } public static class CreateFeedRequestCourseInfo extends TeaModel { /** *

This parameter is required.

*/ @NameInMap("lectorUserInfo") public CreateFeedRequestCourseInfoLectorUserInfo lectorUserInfo; @NameInMap("payInfo") public CreateFeedRequestCourseInfoPayInfo payInfo; /** * example: *

xx学习群

*/ @NameInMap("studyGroupName") public String studyGroupName; public static CreateFeedRequestCourseInfo build(java.util.Map map) throws Exception { CreateFeedRequestCourseInfo self = new CreateFeedRequestCourseInfo(); return TeaModel.build(map, self); } public CreateFeedRequestCourseInfo setLectorUserInfo(CreateFeedRequestCourseInfoLectorUserInfo lectorUserInfo) { this.lectorUserInfo = lectorUserInfo; return this; } public CreateFeedRequestCourseInfoLectorUserInfo getLectorUserInfo() { return this.lectorUserInfo; } public CreateFeedRequestCourseInfo setPayInfo(CreateFeedRequestCourseInfoPayInfo payInfo) { this.payInfo = payInfo; return this; } public CreateFeedRequestCourseInfoPayInfo getPayInfo() { return this.payInfo; } public CreateFeedRequestCourseInfo setStudyGroupName(String studyGroupName) { this.studyGroupName = studyGroupName; return this; } public String getStudyGroupName() { return this.studyGroupName; } } public static class CreateFeedRequestFeedInfoMediaContents extends TeaModel { /** *

This parameter is required.

* * example: *

378a1a0154b34**********86313948e

*/ @NameInMap("mediaId") public String mediaId; /** *

This parameter is required.

* * example: *

媒体标题

*/ @NameInMap("title") public String title; /** *

This parameter is required.

* * example: *

2

*/ @NameInMap("type") public Integer type; public static CreateFeedRequestFeedInfoMediaContents build(java.util.Map map) throws Exception { CreateFeedRequestFeedInfoMediaContents self = new CreateFeedRequestFeedInfoMediaContents(); return TeaModel.build(map, self); } public CreateFeedRequestFeedInfoMediaContents setMediaId(String mediaId) { this.mediaId = mediaId; return this; } public String getMediaId() { return this.mediaId; } public CreateFeedRequestFeedInfoMediaContents setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } public CreateFeedRequestFeedInfoMediaContents setType(Integer type) { this.type = type; return this; } public Integer getType() { return this.type; } } public static class CreateFeedRequestFeedInfoRecommends extends TeaModel { /** *

This parameter is required.

* * example: *

c497****-8a89-****-bc9b-*****48610d3

*/ @NameInMap("objectId") public String objectId; /** *

This parameter is required.

* * example: *

0

*/ @NameInMap("type") public Integer type; public static CreateFeedRequestFeedInfoRecommends build(java.util.Map map) throws Exception { CreateFeedRequestFeedInfoRecommends self = new CreateFeedRequestFeedInfoRecommends(); return TeaModel.build(map, self); } public CreateFeedRequestFeedInfoRecommends setObjectId(String objectId) { this.objectId = objectId; return this; } public String getObjectId() { return this.objectId; } public CreateFeedRequestFeedInfoRecommends setType(Integer type) { this.type = type; return this; } public Integer getType() { return this.type; } } public static class CreateFeedRequestFeedInfo extends TeaModel { /** *

This parameter is required.

* * example: *

2

*/ @NameInMap("actionType") public Integer actionType; /** *

This parameter is required.

* * example: *

1

*/ @NameInMap("belongsTo") public Integer belongsTo; /** *

This parameter is required.

* * example: *

200000257

*/ @NameInMap("feedCategory") public Long feedCategory; /** * example: *

c497****-8a89-****-bc9b-*****48610d3

*/ @NameInMap("feedId") public String feedId; /** * example: *

标签

*/ @NameInMap("feedTag") public String feedTag; /** *

This parameter is required.

* * example: *

4

*/ @NameInMap("feedType") public Integer feedType; /** * example: *

10001

*/ @NameInMap("industryId") public Long industryId; /** *

This parameter is required.

* * example: *

描述

*/ @NameInMap("introduction") public String introduction; /** * example: *

https://static.dingtalk.com/media/**************NAlg_600_337.jpg

*/ @NameInMap("introductionPicUrl") public String introductionPicUrl; /** *

This parameter is required.

* * example: *

50730********40554

*/ @NameInMap("mcnId") public String mcnId; /** *

This parameter is required.

*/ @NameInMap("mediaContents") public java.util.List mediaContents; @NameInMap("recommends") public java.util.List recommends; /** *

This parameter is required.

* * example: *

https://static.dingtalk.com/media/**************NAlg_600_337.jpg

*/ @NameInMap("thumbUrl") public String thumbUrl; /** *

This parameter is required.

* * example: *

课程标题

*/ @NameInMap("title") public String title; public static CreateFeedRequestFeedInfo build(java.util.Map map) throws Exception { CreateFeedRequestFeedInfo self = new CreateFeedRequestFeedInfo(); return TeaModel.build(map, self); } public CreateFeedRequestFeedInfo setActionType(Integer actionType) { this.actionType = actionType; return this; } public Integer getActionType() { return this.actionType; } public CreateFeedRequestFeedInfo setBelongsTo(Integer belongsTo) { this.belongsTo = belongsTo; return this; } public Integer getBelongsTo() { return this.belongsTo; } public CreateFeedRequestFeedInfo setFeedCategory(Long feedCategory) { this.feedCategory = feedCategory; return this; } public Long getFeedCategory() { return this.feedCategory; } public CreateFeedRequestFeedInfo setFeedId(String feedId) { this.feedId = feedId; return this; } public String getFeedId() { return this.feedId; } public CreateFeedRequestFeedInfo setFeedTag(String feedTag) { this.feedTag = feedTag; return this; } public String getFeedTag() { return this.feedTag; } public CreateFeedRequestFeedInfo setFeedType(Integer feedType) { this.feedType = feedType; return this; } public Integer getFeedType() { return this.feedType; } public CreateFeedRequestFeedInfo setIndustryId(Long industryId) { this.industryId = industryId; return this; } public Long getIndustryId() { return this.industryId; } public CreateFeedRequestFeedInfo setIntroduction(String introduction) { this.introduction = introduction; return this; } public String getIntroduction() { return this.introduction; } public CreateFeedRequestFeedInfo setIntroductionPicUrl(String introductionPicUrl) { this.introductionPicUrl = introductionPicUrl; return this; } public String getIntroductionPicUrl() { return this.introductionPicUrl; } public CreateFeedRequestFeedInfo setMcnId(String mcnId) { this.mcnId = mcnId; return this; } public String getMcnId() { return this.mcnId; } public CreateFeedRequestFeedInfo setMediaContents(java.util.List mediaContents) { this.mediaContents = mediaContents; return this; } public java.util.List getMediaContents() { return this.mediaContents; } public CreateFeedRequestFeedInfo setRecommends(java.util.List recommends) { this.recommends = recommends; return this; } public java.util.List getRecommends() { return this.recommends; } public CreateFeedRequestFeedInfo setThumbUrl(String thumbUrl) { this.thumbUrl = thumbUrl; return this; } public String getThumbUrl() { return this.thumbUrl; } public CreateFeedRequestFeedInfo setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy