alihealthmdeer

package
v1.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

医知鹿-视频 model

https://open.taobao.com/API.htm?docId=46849&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAlihealthMdeerScienceDeletearticleAPIResponse

type AlibabaAlihealthMdeerScienceDeletearticleAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthMdeerScienceDeletearticleResponse
}

文章删除 API返回值 alibaba.alihealth.mdeer.science.deletearticle

三方同步文章删除

type AlibabaAlihealthMdeerScienceDeletearticleRequest

type AlibabaAlihealthMdeerScienceDeletearticleRequest struct {
	model.Params
	// contains filtered or unexported fields
}

文章删除 API请求 alibaba.alihealth.mdeer.science.deletearticle

三方同步文章删除

func NewAlibabaAlihealthMdeerScienceDeletearticleRequest

func NewAlibabaAlihealthMdeerScienceDeletearticleRequest() *AlibabaAlihealthMdeerScienceDeletearticleRequest

初始化AlibabaAlihealthMdeerScienceDeletearticleRequest对象

func (AlibabaAlihealthMdeerScienceDeletearticleRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthMdeerScienceDeletearticleRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthMdeerScienceDeletearticleRequest) GetArticleId

ArticleId Getter

func (*AlibabaAlihealthMdeerScienceDeletearticleRequest) SetArticleId

ArticleId Setter 文章ID

type AlibabaAlihealthMdeerScienceDeletearticleResponse

type AlibabaAlihealthMdeerScienceDeletearticleResponse struct {
	XMLName xml.Name `xml:"alibaba_alihealth_mdeer_science_deletearticle_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 错误code
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 是否删除成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

文章删除 成功返回结果

type AlibabaAlihealthMdeerScienceSynVideoAPIResponse

type AlibabaAlihealthMdeerScienceSynVideoAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthMdeerScienceSynVideoResponse
}

视频同步【保存/更新】 API返回值 alibaba.alihealth.mdeer.science.synVideo

视频同步【保存/更新】

type AlibabaAlihealthMdeerScienceSynVideoRequest

type AlibabaAlihealthMdeerScienceSynVideoRequest struct {
	model.Params
	// contains filtered or unexported fields
}

视频同步【保存/更新】 API请求 alibaba.alihealth.mdeer.science.synVideo

视频同步【保存/更新】

func NewAlibabaAlihealthMdeerScienceSynVideoRequest

func NewAlibabaAlihealthMdeerScienceSynVideoRequest() *AlibabaAlihealthMdeerScienceSynVideoRequest

初始化AlibabaAlihealthMdeerScienceSynVideoRequest对象

func (AlibabaAlihealthMdeerScienceSynVideoRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthMdeerScienceSynVideoRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthMdeerScienceSynVideoRequest) GetSynVideoInfo

SynVideoInfo Getter

func (*AlibabaAlihealthMdeerScienceSynVideoRequest) SetSynVideoInfo

func (r *AlibabaAlihealthMdeerScienceSynVideoRequest) SetSynVideoInfo(synVideoInfo *SynVideoInfo) error

SynVideoInfo Setter 视频信息实体

type AlibabaAlihealthMdeerScienceSynVideoResponse

type AlibabaAlihealthMdeerScienceSynVideoResponse struct {
	XMLName xml.Name `xml:"alibaba_alihealth_mdeer_science_synVideo_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 调用结果描述
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 调用结果code
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 调用是否成功
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

视频同步【保存/更新】 成功返回结果

type AlibabaAlihealthMdeerScienceSynarticleAPIResponse

type AlibabaAlihealthMdeerScienceSynarticleAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthMdeerScienceSynarticleResponse
}

医知鹿文章同步【保存/更新】 API返回值 alibaba.alihealth.mdeer.science.synarticle

文章同步【保存/更新】

type AlibabaAlihealthMdeerScienceSynarticleRequest

type AlibabaAlihealthMdeerScienceSynarticleRequest struct {
	model.Params
	// contains filtered or unexported fields
}

医知鹿文章同步【保存/更新】 API请求 alibaba.alihealth.mdeer.science.synarticle

文章同步【保存/更新】

func NewAlibabaAlihealthMdeerScienceSynarticleRequest

func NewAlibabaAlihealthMdeerScienceSynarticleRequest() *AlibabaAlihealthMdeerScienceSynarticleRequest

初始化AlibabaAlihealthMdeerScienceSynarticleRequest对象

func (AlibabaAlihealthMdeerScienceSynarticleRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthMdeerScienceSynarticleRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthMdeerScienceSynarticleRequest) GetSynArticleInfo

SynArticleInfo Getter

func (*AlibabaAlihealthMdeerScienceSynarticleRequest) SetSynArticleInfo

func (r *AlibabaAlihealthMdeerScienceSynarticleRequest) SetSynArticleInfo(synArticleInfo *SynArticleInfo) error

SynArticleInfo Setter 同步文章对象

type AlibabaAlihealthMdeerScienceSynarticleResponse

type AlibabaAlihealthMdeerScienceSynarticleResponse struct {
	XMLName xml.Name `xml:"alibaba_alihealth_mdeer_science_synarticle_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回信息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 信息code
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 返回值
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

医知鹿文章同步【保存/更新】 成功返回结果

type AlibabaAlihealthMdeerVideoSyncAPIResponse

type AlibabaAlihealthMdeerVideoSyncAPIResponse struct {
	model.CommonResponse
	AlibabaAlihealthMdeerVideoSyncResponse
}

合作伙伴视频同步给医知鹿接口 API返回值 alibaba.alihealth.mdeer.video.sync

合伙做伴内容同步接口,用来视频同步

type AlibabaAlihealthMdeerVideoSyncRequest

type AlibabaAlihealthMdeerVideoSyncRequest struct {
	model.Params
	// contains filtered or unexported fields
}

合作伙伴视频同步给医知鹿接口 API请求 alibaba.alihealth.mdeer.video.sync

合伙做伴内容同步接口,用来视频同步

func NewAlibabaAlihealthMdeerVideoSyncRequest

func NewAlibabaAlihealthMdeerVideoSyncRequest() *AlibabaAlihealthMdeerVideoSyncRequest

初始化AlibabaAlihealthMdeerVideoSyncRequest对象

func (AlibabaAlihealthMdeerVideoSyncRequest) GetApiMethodName

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaAlihealthMdeerVideoSyncRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlibabaAlihealthMdeerVideoSyncRequest) GetAuthorDepartment

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetAuthorDepartment() string

AuthorDepartment Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetAuthorId

AuthorId Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetAuthorIntroduction

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetAuthorIntroduction() string

AuthorIntroduction Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetAuthorLevel

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetAuthorLevel() string

AuthorLevel Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetAuthorName

AuthorName Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetDisease

Disease Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetHospitalLevel

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetHospitalLevel() string

HospitalLevel Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetHospitalName

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetHospitalName() string

HospitalName Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetPartnerHomepage

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetPartnerHomepage() string

PartnerHomepage Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetPartnerName

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetPartnerName() string

PartnerName Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetPartnerPortraitUrl

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetPartnerPortraitUrl() string

PartnerPortraitUrl Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetPhoneNumber

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetPhoneNumber() string

PhoneNumber Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetPortraitUrl

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetPortraitUrl() string

PortraitUrl Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetPriviewUrl

PriviewUrl Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetReleaseDate

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetReleaseDate() string

ReleaseDate Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetVideoFileUrl

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetVideoFileUrl() string

VideoFileUrl Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetVideoId

VideoId Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetVideoIntroduction

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetVideoIntroduction() string

VideoIntroduction Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetVideoLength

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetVideoLength() string

VideoLength Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetVideoMobileUrl

func (r AlibabaAlihealthMdeerVideoSyncRequest) GetVideoMobileUrl() string

VideoMobileUrl Getter

func (AlibabaAlihealthMdeerVideoSyncRequest) GetVideoTitle

VideoTitle Getter

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetAuthorDepartment

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetAuthorDepartment(authorDepartment string) error

AuthorDepartment Setter 作者科室

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetAuthorId

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetAuthorId(authorId string) error

AuthorId Setter 作者id

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetAuthorIntroduction

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetAuthorIntroduction(authorIntroduction string) error

AuthorIntroduction Setter 作者简介

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetAuthorLevel

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetAuthorLevel(authorLevel string) error

AuthorLevel Setter 作者级别

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetAuthorName

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetAuthorName(authorName string) error

AuthorName Setter 作者名称

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetDisease

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetDisease(disease string) error

Disease Setter 视频所述疾病

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetHospitalLevel

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetHospitalLevel(hospitalLevel string) error

HospitalLevel Setter 医院级别

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetHospitalName

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetHospitalName(hospitalName string) error

HospitalName Setter 医院名称

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetPartnerHomepage

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetPartnerHomepage(partnerHomepage string) error

PartnerHomepage Setter 合作方主页

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetPartnerName

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetPartnerName(partnerName string) error

PartnerName Setter 合作方名称

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetPartnerPortraitUrl

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetPartnerPortraitUrl(partnerPortraitUrl string) error

PartnerPortraitUrl Setter 合作方头像url

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetPhoneNumber

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetPhoneNumber(phoneNumber string) error

PhoneNumber Setter 作者电话

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetPortraitUrl

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetPortraitUrl(portraitUrl string) error

PortraitUrl Setter 作者头像

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetPriviewUrl

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetPriviewUrl(priviewUrl string) error

PriviewUrl Setter 预览图url

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetReleaseDate

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetReleaseDate(releaseDate string) error

ReleaseDate Setter 发布日期

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetVideoFileUrl

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetVideoFileUrl(videoFileUrl string) error

VideoFileUrl Setter 视频文件url

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetVideoId

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetVideoId(videoId string) error

VideoId Setter 视频id

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetVideoIntroduction

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetVideoIntroduction(videoIntroduction string) error

VideoIntroduction Setter 视频简介

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetVideoLength

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetVideoLength(videoLength string) error

VideoLength Setter 视频长度

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetVideoMobileUrl

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetVideoMobileUrl(videoMobileUrl string) error

VideoMobileUrl Setter 视频落地页

func (*AlibabaAlihealthMdeerVideoSyncRequest) SetVideoTitle

func (r *AlibabaAlihealthMdeerVideoSyncRequest) SetVideoTitle(videoTitle string) error

VideoTitle Setter 视频标题

type AlibabaAlihealthMdeerVideoSyncResponse

type AlibabaAlihealthMdeerVideoSyncResponse struct {
	XMLName xml.Name `xml:"alibaba_alihealth_mdeer_video_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TopResultModel `json:"result,omitempty" xml:"result,omitempty"`
}

合作伙伴视频同步给医知鹿接口 成功返回结果

type SynArticleInfo

type SynArticleInfo struct {
	// 作者电话
	PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"`
	// 作者简介
	AuthorIntroduction string `json:"author_introduction,omitempty" xml:"author_introduction,omitempty"`
	// 作者科室
	AuthorDepartment string `json:"author_department,omitempty" xml:"author_department,omitempty"`
	// 作者级别
	AuthorLevel string `json:"author_level,omitempty" xml:"author_level,omitempty"`
	// 医院级别
	HospitalLevel string `json:"hospital_level,omitempty" xml:"hospital_level,omitempty"`
	// 医院名称
	HospitalName string `json:"hospital_name,omitempty" xml:"hospital_name,omitempty"`
	// 作者头图
	PortraitUrl string `json:"portrait_url,omitempty" xml:"portrait_url,omitempty"`
	// 文章作者名称
	AuthorName string `json:"author_name,omitempty" xml:"author_name,omitempty"`
	// 文章正文
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 原文链接
	OriginalArticleUrl string `json:"original_article_url,omitempty" xml:"original_article_url,omitempty"`
	// 文章头图
	TitleImage string `json:"title_image,omitempty" xml:"title_image,omitempty"`
	// 文章摘要
	ArticleAbstract string `json:"article_abstract,omitempty" xml:"article_abstract,omitempty"`
	// 文章标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 文章ID
	ArticleId int64 `json:"article_id,omitempty" xml:"article_id,omitempty"`
}

SynArticleInfo

type SynVideoInfo

type SynVideoInfo struct {
	// 作者电话
	PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"`
	// 作者简介
	AuthorIntroduction string `json:"author_introduction,omitempty" xml:"author_introduction,omitempty"`
	// 作者科室
	AuthorDepartment string `json:"author_department,omitempty" xml:"author_department,omitempty"`
	// 作者级别
	AuthorLevel string `json:"author_level,omitempty" xml:"author_level,omitempty"`
	// 医院级别
	HospitalLevel string `json:"hospital_level,omitempty" xml:"hospital_level,omitempty"`
	// 医院名称
	HospitalName string `json:"hospital_name,omitempty" xml:"hospital_name,omitempty"`
	// 作者头像
	PortraitUrl string `json:"portrait_url,omitempty" xml:"portrait_url,omitempty"`
	// 作者名称
	AuthorName string `json:"author_name,omitempty" xml:"author_name,omitempty"`
	// 视频原链接
	OriginalUrl string `json:"original_url,omitempty" xml:"original_url,omitempty"`
	// 视频简介
	VideoIntroduction string `json:"video_introduction,omitempty" xml:"video_introduction,omitempty"`
	// 视频文件地址
	VideoFileUrl string `json:"video_file_url,omitempty" xml:"video_file_url,omitempty"`
	// 视频预览图
	PreviewUrl string `json:"preview_url,omitempty" xml:"preview_url,omitempty"`
	// 视频标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 视频ID
	VideoId int64 `json:"video_id,omitempty" xml:"video_id,omitempty"`
}

SynVideoInfo

type TopResultModel

type TopResultModel struct {
	// 操作说明
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 操作码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// model
	Model bool `json:"model,omitempty" xml:"model,omitempty"`
}

TopResultModel

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL