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

com.aliyun.dingtalkactivity_1_0.models.CreateActivityRequest 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.dingtalkactivity_1_0.models;

import com.aliyun.tea.*;

public class CreateActivityRequest extends TeaModel {
    /**
     * 

This parameter is required.

*/ @NameInMap("detail") public CreateActivityRequestDetail detail; public static CreateActivityRequest build(java.util.Map map) throws Exception { CreateActivityRequest self = new CreateActivityRequest(); return TeaModel.build(map, self); } public CreateActivityRequest setDetail(CreateActivityRequestDetail detail) { this.detail = detail; return this; } public CreateActivityRequestDetail getDetail() { return this.detail; } public static class CreateActivityRequestDetailAddress extends TeaModel { /** * example: *

重庆市重庆市

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

29.533939

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

106.561853

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

国际会议展览中心

*/ @NameInMap("name") public String name; public static CreateActivityRequestDetailAddress build(java.util.Map map) throws Exception { CreateActivityRequestDetailAddress self = new CreateActivityRequestDetailAddress(); return TeaModel.build(map, self); } public CreateActivityRequestDetailAddress setDistrict(String district) { this.district = district; return this; } public String getDistrict() { return this.district; } public CreateActivityRequestDetailAddress setLat(String lat) { this.lat = lat; return this; } public String getLat() { return this.lat; } public CreateActivityRequestDetailAddress setLng(String lng) { this.lng = lng; return this; } public String getLng() { return this.lng; } public CreateActivityRequestDetailAddress setName(String name) { this.name = name; return this; } public String getName() { return this.name; } } public static class CreateActivityRequestDetail extends TeaModel { @NameInMap("address") public CreateActivityRequestDetailAddress address; /** *

This parameter is required.

* * example: *

@mediaId

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

This parameter is required.

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

This parameter is required.

* * example: *

2OGnTRTcoH6OQ0209168

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

This parameter is required.

* * example: *

IT

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

This parameter is required.

* * example: *

CTO

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

This parameter is required.

* * example: *

hdx

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

This parameter is required.

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

This parameter is required.

* * example: *

钉峰会

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

This parameter is required.

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

This parameter is required.

* * example: *

https://www.dingtalk.com/

*/ @NameInMap("url") public String url; public static CreateActivityRequestDetail build(java.util.Map map) throws Exception { CreateActivityRequestDetail self = new CreateActivityRequestDetail(); return TeaModel.build(map, self); } public CreateActivityRequestDetail setAddress(CreateActivityRequestDetailAddress address) { this.address = address; return this; } public CreateActivityRequestDetailAddress getAddress() { return this.address; } public CreateActivityRequestDetail setBannerMediaId(String bannerMediaId) { this.bannerMediaId = bannerMediaId; return this; } public String getBannerMediaId() { return this.bannerMediaId; } public CreateActivityRequestDetail setEndTime(Long endTime) { this.endTime = endTime; return this; } public Long getEndTime() { return this.endTime; } public CreateActivityRequestDetail setForeignId(String foreignId) { this.foreignId = foreignId; return this; } public String getForeignId() { return this.foreignId; } public CreateActivityRequestDetail setIndustry(String industry) { this.industry = industry; return this; } public String getIndustry() { return this.industry; } public CreateActivityRequestDetail setRoleName(String roleName) { this.roleName = roleName; return this; } public String getRoleName() { return this.roleName; } public CreateActivityRequestDetail setSource(String source) { this.source = source; return this; } public String getSource() { return this.source; } public CreateActivityRequestDetail setStartTime(Long startTime) { this.startTime = startTime; return this; } public Long getStartTime() { return this.startTime; } public CreateActivityRequestDetail setTitle(String title) { this.title = title; return this; } public String getTitle() { return this.title; } public CreateActivityRequestDetail setType(Integer type) { this.type = type; return this; } public Integer getType() { return this.type; } public CreateActivityRequestDetail setUrl(String url) { this.url = url; return this; } public String getUrl() { return this.url; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy