Documentation ¶
Index ¶
- Constants
- type AlignObjective
- type AlignObjectiveBuilder
- type BatchGetOkrReq
- type BatchGetOkrReqBuilder
- func (builder *BatchGetOkrReqBuilder) Build() *BatchGetOkrReq
- func (builder *BatchGetOkrReqBuilder) Lang(lang string) *BatchGetOkrReqBuilder
- func (builder *BatchGetOkrReqBuilder) OkrIds(okrIds []string) *BatchGetOkrReqBuilder
- func (builder *BatchGetOkrReqBuilder) UserIdType(userIdType string) *BatchGetOkrReqBuilder
- type BatchGetOkrResp
- type BatchGetOkrRespData
- type ContentBlock
- type ContentBlockBuilder
- type ContentBlockElement
- type ContentBlockElementBuilder
- func (builder *ContentBlockElementBuilder) Build() *ContentBlockElement
- func (builder *ContentBlockElementBuilder) Gallery(gallery *ContentGallery) *ContentBlockElementBuilder
- func (builder *ContentBlockElementBuilder) Paragraph(paragraph *ContentParagraph) *ContentBlockElementBuilder
- func (builder *ContentBlockElementBuilder) Type(type_ string) *ContentBlockElementBuilder
- type ContentColor
- type ContentColorBuilder
- func (builder *ContentColorBuilder) Alpha(alpha float64) *ContentColorBuilder
- func (builder *ContentColorBuilder) Blue(blue int) *ContentColorBuilder
- func (builder *ContentColorBuilder) Build() *ContentColor
- func (builder *ContentColorBuilder) Green(green int) *ContentColorBuilder
- func (builder *ContentColorBuilder) Red(red int) *ContentColorBuilder
- type ContentDocsLink
- type ContentDocsLinkBuilder
- type ContentGallery
- type ContentGalleryBuilder
- type ContentImageItem
- type ContentImageItemBuilder
- func (builder *ContentImageItemBuilder) Build() *ContentImageItem
- func (builder *ContentImageItemBuilder) FileToken(fileToken string) *ContentImageItemBuilder
- func (builder *ContentImageItemBuilder) Height(height float64) *ContentImageItemBuilder
- func (builder *ContentImageItemBuilder) Url(url string) *ContentImageItemBuilder
- func (builder *ContentImageItemBuilder) Width(width float64) *ContentImageItemBuilder
- type ContentLink
- type ContentLinkBuilder
- type ContentList
- type ContentListBuilder
- type ContentParagraph
- type ContentParagraphBuilder
- type ContentParagraphElement
- type ContentParagraphElementBuilder
- func (builder *ContentParagraphElementBuilder) Build() *ContentParagraphElement
- func (builder *ContentParagraphElementBuilder) DocsLink(docsLink *ContentDocsLink) *ContentParagraphElementBuilder
- func (builder *ContentParagraphElementBuilder) Person(person *ContentPerson) *ContentParagraphElementBuilder
- func (builder *ContentParagraphElementBuilder) TextRun(textRun *ContentTextRun) *ContentParagraphElementBuilder
- func (builder *ContentParagraphElementBuilder) Type(type_ string) *ContentParagraphElementBuilder
- type ContentParagraphStyle
- type ContentParagraphStyleBuilder
- type ContentPerson
- type ContentPersonBuilder
- type ContentTextRun
- type ContentTextRunBuilder
- type ContentTextStyle
- type ContentTextStyleBuilder
- func (builder *ContentTextStyleBuilder) BackColor(backColor *ContentColor) *ContentTextStyleBuilder
- func (builder *ContentTextStyleBuilder) Bold(bold bool) *ContentTextStyleBuilder
- func (builder *ContentTextStyleBuilder) Build() *ContentTextStyle
- func (builder *ContentTextStyleBuilder) Link(link *ContentLink) *ContentTextStyleBuilder
- func (builder *ContentTextStyleBuilder) StrikeThrough(strikeThrough bool) *ContentTextStyleBuilder
- func (builder *ContentTextStyleBuilder) TextColor(textColor *ContentColor) *ContentTextStyleBuilder
- type CreateProgressRecordPathReqBodyBuilder
- func (builder *CreateProgressRecordPathReqBodyBuilder) Build() (*CreateProgressRecordReqBody, error)
- func (builder *CreateProgressRecordPathReqBodyBuilder) Content(content *ContentBlock) *CreateProgressRecordPathReqBodyBuilder
- func (builder *CreateProgressRecordPathReqBodyBuilder) SourceTitle(sourceTitle string) *CreateProgressRecordPathReqBodyBuilder
- func (builder *CreateProgressRecordPathReqBodyBuilder) SourceUrl(sourceUrl string) *CreateProgressRecordPathReqBodyBuilder
- func (builder *CreateProgressRecordPathReqBodyBuilder) TargetId(targetId int64) *CreateProgressRecordPathReqBodyBuilder
- func (builder *CreateProgressRecordPathReqBodyBuilder) TargetType(targetType int) *CreateProgressRecordPathReqBodyBuilder
- type CreateProgressRecordReq
- type CreateProgressRecordReqBody
- type CreateProgressRecordReqBodyBuilder
- func (builder *CreateProgressRecordReqBodyBuilder) Build() *CreateProgressRecordReqBody
- func (builder *CreateProgressRecordReqBodyBuilder) Content(content *ContentBlock) *CreateProgressRecordReqBodyBuilder
- func (builder *CreateProgressRecordReqBodyBuilder) SourceTitle(sourceTitle string) *CreateProgressRecordReqBodyBuilder
- func (builder *CreateProgressRecordReqBodyBuilder) SourceUrl(sourceUrl string) *CreateProgressRecordReqBodyBuilder
- func (builder *CreateProgressRecordReqBodyBuilder) TargetId(targetId int64) *CreateProgressRecordReqBodyBuilder
- func (builder *CreateProgressRecordReqBodyBuilder) TargetType(targetType int) *CreateProgressRecordReqBodyBuilder
- type CreateProgressRecordReqBuilder
- type CreateProgressRecordResp
- type CreateProgressRecordRespData
- type CurrentOkrSimple
- type CurrentOkrSimpleBuilder
- type DeleteProgressRecordReq
- type DeleteProgressRecordReqBuilder
- type DeleteProgressRecordResp
- type Dummy
- type DummyBuilder
- type GetProgressRecordReq
- type GetProgressRecordReqBuilder
- type GetProgressRecordResp
- type GetProgressRecordRespData
- type ImageInfo
- type ImageInfoBuilder
- type Kr
- type KrBuilder
- func (builder *KrBuilder) Build() *Kr
- func (builder *KrBuilder) Content(content *KrContent) *KrBuilder
- func (builder *KrBuilder) CreateTime(createTime int) *KrBuilder
- func (builder *KrBuilder) Id(id int64) *KrBuilder
- func (builder *KrBuilder) ModifyTime(modifyTime int) *KrBuilder
- func (builder *KrBuilder) Pos(pos string) *KrBuilder
- func (builder *KrBuilder) Score(score string) *KrBuilder
- func (builder *KrBuilder) Weight(weight string) *KrBuilder
- type KrContent
- type KrContentBuilder
- type ListPeriodReq
- type ListPeriodReqBuilder
- type ListPeriodResp
- type ListPeriodRespData
- type ListUserOkrReq
- type ListUserOkrReqBuilder
- func (builder *ListUserOkrReqBuilder) Build() *ListUserOkrReq
- func (builder *ListUserOkrReqBuilder) Lang(lang string) *ListUserOkrReqBuilder
- func (builder *ListUserOkrReqBuilder) Limit(limit string) *ListUserOkrReqBuilder
- func (builder *ListUserOkrReqBuilder) Offset(offset string) *ListUserOkrReqBuilder
- func (builder *ListUserOkrReqBuilder) PeriodIds(periodIds []string) *ListUserOkrReqBuilder
- func (builder *ListUserOkrReqBuilder) UserId(userId string) *ListUserOkrReqBuilder
- func (builder *ListUserOkrReqBuilder) UserIdType(userIdType string) *ListUserOkrReqBuilder
- type ListUserOkrResp
- type ListUserOkrRespData
- type Objective
- type ObjectiveBuilder
- func (builder *ObjectiveBuilder) AlignedObjectiveList(alignedObjectiveList []*AlignObjective) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) AligningObjectiveList(aligningObjectiveList []*AlignObjective) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) Build() *Objective
- func (builder *ObjectiveBuilder) CreateTime(createTime int) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) Id(id string) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) KrList(krList []*Kr) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) ModifyTime(modifyTime int) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) Name(name *ObjectiveName) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) OkrId(okrId string) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) Pos(pos string) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) Progress(progress *ObjectiveProgress) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) Score(score string) *ObjectiveBuilder
- func (builder *ObjectiveBuilder) UserId(userId string) *ObjectiveBuilder
- type ObjectiveName
- type ObjectiveNameBuilder
- type ObjectiveProgress
- type ObjectiveProgressBuilder
- type Okr
- type OkrBatch
- type OkrBatchBuilder
- func (builder *OkrBatchBuilder) Build() *OkrBatch
- func (builder *OkrBatchBuilder) ConfirmStatus(confirmStatus int) *OkrBatchBuilder
- func (builder *OkrBatchBuilder) Id(id int64) *OkrBatchBuilder
- func (builder *OkrBatchBuilder) Name(name string) *OkrBatchBuilder
- func (builder *OkrBatchBuilder) ObjectiveList(objectiveList []*OkrObjective) *OkrBatchBuilder
- func (builder *OkrBatchBuilder) PeriodId(periodId int64) *OkrBatchBuilder
- func (builder *OkrBatchBuilder) Permission(permission int) *OkrBatchBuilder
- type OkrBuilder
- func (builder *OkrBuilder) Build() *Okr
- func (builder *OkrBuilder) CreateTime(createTime int) *OkrBuilder
- func (builder *OkrBuilder) ModifyTime(modifyTime int) *OkrBuilder
- func (builder *OkrBuilder) Name(name *OkrName) *OkrBuilder
- func (builder *OkrBuilder) ObjectiveList(objectiveList []*OkrDetailObjective) *OkrBuilder
- func (builder *OkrBuilder) OkrId(okrId int64) *OkrBuilder
- func (builder *OkrBuilder) OkrScore(okrScore int) *OkrBuilder
- func (builder *OkrBuilder) PeriodId(periodId int64) *OkrBuilder
- func (builder *OkrBuilder) PeriodType(periodType string) *OkrBuilder
- type OkrComment
- type OkrCommentBuilder
- func (builder *OkrCommentBuilder) Build() *OkrComment
- func (builder *OkrCommentBuilder) CommentTime(commentTime int) *OkrCommentBuilder
- func (builder *OkrCommentBuilder) Commentator(commentator *OkrObjectiveAlignedObjectiveOwner) *OkrCommentBuilder
- func (builder *OkrCommentBuilder) Content(content string) *OkrCommentBuilder
- func (builder *OkrCommentBuilder) ContentModifyTime(contentModifyTime int) *OkrCommentBuilder
- func (builder *OkrCommentBuilder) Id(id int64) *OkrCommentBuilder
- func (builder *OkrCommentBuilder) LastModifier(lastModifier *OkrObjectiveAlignedObjectiveOwner) *OkrCommentBuilder
- func (builder *OkrCommentBuilder) SolvedTime(solvedTime int) *OkrCommentBuilder
- type OkrDetail
- type OkrDetailBuilder
- func (builder *OkrDetailBuilder) Build() *OkrDetail
- func (builder *OkrDetailBuilder) CreateTime(createTime int) *OkrDetailBuilder
- func (builder *OkrDetailBuilder) ModifyTime(modifyTime int) *OkrDetailBuilder
- func (builder *OkrDetailBuilder) Name(name *OkrName) *OkrDetailBuilder
- func (builder *OkrDetailBuilder) ObjectiveList(objectiveList []*OkrDetailObjective) *OkrDetailBuilder
- func (builder *OkrDetailBuilder) OkrId(okrId string) *OkrDetailBuilder
- func (builder *OkrDetailBuilder) OkrScore(okrScore int) *OkrDetailBuilder
- func (builder *OkrDetailBuilder) PeriodId(periodId string) *OkrDetailBuilder
- func (builder *OkrDetailBuilder) PeriodType(periodType string) *OkrDetailBuilder
- type OkrDetailObjective
- type OkrDetailObjectiveAlign
- type OkrDetailObjectiveAlignBuilder
- func (builder *OkrDetailObjectiveAlignBuilder) Build() *OkrDetailObjectiveAlign
- func (builder *OkrDetailObjectiveAlignBuilder) Id(id int64) *OkrDetailObjectiveAlignBuilder
- func (builder *OkrDetailObjectiveAlignBuilder) OkrId(okrId int64) *OkrDetailObjectiveAlignBuilder
- func (builder *OkrDetailObjectiveAlignBuilder) UserId(userId string) *OkrDetailObjectiveAlignBuilder
- type OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) AlignedObjectiveList(alignedObjectiveList []*OkrDetailObjectiveAlign) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) AligningObjectiveList(aligningObjectiveList []*OkrDetailObjectiveAlign) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) Build() *OkrDetailObjective
- func (builder *OkrDetailObjectiveBuilder) CreateTime(createTime int) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) Id(id int64) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) KrList(krList []*OkrDetailObjectiveKr) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) ModifyTime(modifyTime int) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) Name(name *OkrName) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) OkrId(okrId int64) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) Pos(pos int) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) Progress(progress *OkrName) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) Score(score int) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) UserId(userId string) *OkrDetailObjectiveBuilder
- func (builder *OkrDetailObjectiveBuilder) Weight(weight float64) *OkrDetailObjectiveBuilder
- type OkrDetailObjectiveKr
- type OkrDetailObjectiveKrBuilder
- func (builder *OkrDetailObjectiveKrBuilder) Build() *OkrDetailObjectiveKr
- func (builder *OkrDetailObjectiveKrBuilder) Content(content *OkrName) *OkrDetailObjectiveKrBuilder
- func (builder *OkrDetailObjectiveKrBuilder) CreateTime(createTime int) *OkrDetailObjectiveKrBuilder
- func (builder *OkrDetailObjectiveKrBuilder) Id(id int64) *OkrDetailObjectiveKrBuilder
- func (builder *OkrDetailObjectiveKrBuilder) ModifyTime(modifyTime int) *OkrDetailObjectiveKrBuilder
- func (builder *OkrDetailObjectiveKrBuilder) Pos(pos int) *OkrDetailObjectiveKrBuilder
- func (builder *OkrDetailObjectiveKrBuilder) Score(score int) *OkrDetailObjectiveKrBuilder
- func (builder *OkrDetailObjectiveKrBuilder) Weight(weight float64) *OkrDetailObjectiveKrBuilder
- type OkrListInfo
- type OkrListInfoBuilder
- type OkrName
- type OkrNameBuilder
- type OkrObjective
- type OkrObjectiveAlignedObjective
- type OkrObjectiveAlignedObjectiveBuilder
- func (builder *OkrObjectiveAlignedObjectiveBuilder) Build() *OkrObjectiveAlignedObjective
- func (builder *OkrObjectiveAlignedObjectiveBuilder) Id(id int64) *OkrObjectiveAlignedObjectiveBuilder
- func (builder *OkrObjectiveAlignedObjectiveBuilder) OkrId(okrId int64) *OkrObjectiveAlignedObjectiveBuilder
- func (builder *OkrObjectiveAlignedObjectiveBuilder) Owner(owner *OkrObjectiveAlignedObjectiveOwner) *OkrObjectiveAlignedObjectiveBuilder
- type OkrObjectiveAlignedObjectiveOwner
- type OkrObjectiveAlignedObjectiveOwnerBuilder
- func (builder *OkrObjectiveAlignedObjectiveOwnerBuilder) Build() *OkrObjectiveAlignedObjectiveOwner
- func (builder *OkrObjectiveAlignedObjectiveOwnerBuilder) OpenId(openId string) *OkrObjectiveAlignedObjectiveOwnerBuilder
- func (builder *OkrObjectiveAlignedObjectiveOwnerBuilder) UserId(userId string) *OkrObjectiveAlignedObjectiveOwnerBuilder
- type OkrObjectiveAlignment
- type OkrObjectiveAlignmentBuilder
- func (builder *OkrObjectiveAlignmentBuilder) Build() *OkrObjectiveAlignment
- func (builder *OkrObjectiveAlignmentBuilder) Id(id int64) *OkrObjectiveAlignmentBuilder
- func (builder *OkrObjectiveAlignmentBuilder) ToId(toId int64) *OkrObjectiveAlignmentBuilder
- func (builder *OkrObjectiveAlignmentBuilder) ToType(toType int) *OkrObjectiveAlignmentBuilder
- type OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) AlignedObjectiveList(alignedObjectiveList []*OkrObjectiveAlignedObjective) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) AligningObjectiveList(aligningObjectiveList []*OkrObjectiveAlignedObjective) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) Build() *OkrObjective
- func (builder *OkrObjectiveBuilder) Content(content string) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) Deadline(deadline int64) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) Id(id int64) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) KrList(krList []*OkrObjectiveKr) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) MentionedUserList(mentionedUserList []*OkrObjectiveAlignedObjectiveOwner) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) Permission(permission int) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) ProgressRate(progressRate *OkrObjectiveProgressRate) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) ProgressRatePercentLastUpdatedTime(progressRatePercentLastUpdatedTime int64) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) ProgressRateStatusLastUpdatedTime(progressRateStatusLastUpdatedTime int64) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) ProgressRecordLastUpdatedTime(progressRecordLastUpdatedTime int64) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) ProgressRecordList(progressRecordList []*ProgressRecordSimplify) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) ProgressReport(progressReport string) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) ProgressReportLastUpdatedTime(progressReportLastUpdatedTime int64) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) Score(score int) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) ScoreLastUpdatedTime(scoreLastUpdatedTime int64) *OkrObjectiveBuilder
- func (builder *OkrObjectiveBuilder) Weight(weight float64) *OkrObjectiveBuilder
- type OkrObjectiveKr
- type OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) Build() *OkrObjectiveKr
- func (builder *OkrObjectiveKrBuilder) Content(content string) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) Deadline(deadline int64) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) Id(id int64) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) KrWeight(krWeight float64) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) MentionedUserList(mentionedUserList []*OkrObjectiveAlignedObjectiveOwner) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) ProgressRate(progressRate *OkrObjectiveProgressRate) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) ProgressRatePercentLastUpdatedTime(progressRatePercentLastUpdatedTime int64) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) ProgressRateStatusLastUpdatedTime(progressRateStatusLastUpdatedTime int64) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) ProgressRecordLastUpdatedTime(progressRecordLastUpdatedTime int64) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) ProgressRecordList(progressRecordList []*ProgressRecordSimplify) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) ProgressReportLastUpdatedTime(progressReportLastUpdatedTime int64) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) Score(score int) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) ScoreLastUpdatedTime(scoreLastUpdatedTime int64) *OkrObjectiveKrBuilder
- func (builder *OkrObjectiveKrBuilder) Weight(weight int) *OkrObjectiveKrBuilder
- type OkrObjectiveProgressRate
- type OkrObjectiveProgressRateBuilder
- type OkrReview
- type OkrReviewBuilder
- type OkrReviewPeriod
- type OkrReviewPeriodBuilder
- func (builder *OkrReviewPeriodBuilder) Build() *OkrReviewPeriod
- func (builder *OkrReviewPeriodBuilder) CycleReviewList(cycleReviewList []*OkrReviewPeriodUrl) *OkrReviewPeriodBuilder
- func (builder *OkrReviewPeriodBuilder) PeriodId(periodId int64) *OkrReviewPeriodBuilder
- func (builder *OkrReviewPeriodBuilder) ProgressReportList(progressReportList []*OkrReviewPeriodUrl) *OkrReviewPeriodBuilder
- type OkrReviewPeriodUrl
- type OkrReviewPeriodUrlBuilder
- type OkrService
- type OkrSimple
- type OkrSimpleBuilder
- func (builder *OkrSimpleBuilder) Build() *OkrSimple
- func (builder *OkrSimpleBuilder) Name(name *OkrName) *OkrSimpleBuilder
- func (builder *OkrSimpleBuilder) OkrId(okrId string) *OkrSimpleBuilder
- func (builder *OkrSimpleBuilder) PeriodId(periodId string) *OkrSimpleBuilder
- func (builder *OkrSimpleBuilder) PeriodType(periodType string) *OkrSimpleBuilder
- type Period
- type PeriodBuilder
- func (builder *PeriodBuilder) Build() *Period
- func (builder *PeriodBuilder) EnName(enName string) *PeriodBuilder
- func (builder *PeriodBuilder) Id(id int64) *PeriodBuilder
- func (builder *PeriodBuilder) Status(status int) *PeriodBuilder
- func (builder *PeriodBuilder) ZhName(zhName string) *PeriodBuilder
- type ProgressItem
- type ProgressItemBuilder
- func (builder *ProgressItemBuilder) Build() *ProgressItem
- func (builder *ProgressItemBuilder) Content(content string) *ProgressItemBuilder
- func (builder *ProgressItemBuilder) MentionList(mentionList []string) *ProgressItemBuilder
- func (builder *ProgressItemBuilder) Timestamp(timestamp int) *ProgressItemBuilder
- type ProgressRate
- type ProgressRateBuilder
- type ProgressRecord
- type ProgressRecordBuilder
- func (builder *ProgressRecordBuilder) Build() *ProgressRecord
- func (builder *ProgressRecordBuilder) Content(content *ContentBlock) *ProgressRecordBuilder
- func (builder *ProgressRecordBuilder) ModifyTime(modifyTime int64) *ProgressRecordBuilder
- func (builder *ProgressRecordBuilder) ProgressId(progressId int64) *ProgressRecordBuilder
- type ProgressRecordSimplify
- type ProgressRecordSimplifyBuilder
- type UpdateProgressRecordPathReqBodyBuilder
- type UpdateProgressRecordReq
- type UpdateProgressRecordReqBody
- type UpdateProgressRecordReqBodyBuilder
- type UpdateProgressRecordReqBuilder
- func (builder *UpdateProgressRecordReqBuilder) Body(body *UpdateProgressRecordReqBody) *UpdateProgressRecordReqBuilder
- func (builder *UpdateProgressRecordReqBuilder) Build() *UpdateProgressRecordReq
- func (builder *UpdateProgressRecordReqBuilder) ProgressId(progressId int64) *UpdateProgressRecordReqBuilder
- type UpdateProgressRecordResp
- type UpdateProgressRecordRespData
- type UploadImagePathReqBodyBuilder
- func (builder *UploadImagePathReqBodyBuilder) Build() (*UploadImageReqBody, error)
- func (builder *UploadImagePathReqBodyBuilder) DataPath(dataPath string) *UploadImagePathReqBodyBuilder
- func (builder *UploadImagePathReqBodyBuilder) TargetId(targetId int64) *UploadImagePathReqBodyBuilder
- func (builder *UploadImagePathReqBodyBuilder) TargetType(targetType int) *UploadImagePathReqBodyBuilder
- type UploadImageReq
- type UploadImageReqBody
- type UploadImageReqBodyBuilder
- func (builder *UploadImageReqBodyBuilder) Build() *UploadImageReqBody
- func (builder *UploadImageReqBodyBuilder) Data(data io.Reader) *UploadImageReqBodyBuilder
- func (builder *UploadImageReqBodyBuilder) TargetId(targetId int64) *UploadImageReqBodyBuilder
- func (builder *UploadImageReqBodyBuilder) TargetType(targetType int) *UploadImageReqBodyBuilder
- type UploadImageReqBuilder
- type UploadImageResp
- type UploadImageRespData
- type UpsertObjective
- type UpsertObjectiveBuilder
- func (builder *UpsertObjectiveBuilder) Build() *UpsertObjective
- func (builder *UpsertObjectiveBuilder) Content(content string) *UpsertObjectiveBuilder
- func (builder *UpsertObjectiveBuilder) KrList(krList []*UpsertObjectiveKr) *UpsertObjectiveBuilder
- func (builder *UpsertObjectiveBuilder) MentionList(mentionList []string) *UpsertObjectiveBuilder
- func (builder *UpsertObjectiveBuilder) ProgressList(progressList []*ProgressItem) *UpsertObjectiveBuilder
- func (builder *UpsertObjectiveBuilder) ProgressRate(progressRate *ProgressRate) *UpsertObjectiveBuilder
- func (builder *UpsertObjectiveBuilder) Weight(weight float64) *UpsertObjectiveBuilder
- type UpsertObjectiveKr
- type UpsertObjectiveKrBuilder
- func (builder *UpsertObjectiveKrBuilder) Build() *UpsertObjectiveKr
- func (builder *UpsertObjectiveKrBuilder) Content(content string) *UpsertObjectiveKrBuilder
- func (builder *UpsertObjectiveKrBuilder) MentionList(mentionList []string) *UpsertObjectiveKrBuilder
- func (builder *UpsertObjectiveKrBuilder) ProgressList(progressList []*ProgressItem) *UpsertObjectiveKrBuilder
- func (builder *UpsertObjectiveKrBuilder) ProgressRate(progressRate *ProgressRate) *UpsertObjectiveKrBuilder
- func (builder *UpsertObjectiveKrBuilder) Score(score int) *UpsertObjectiveKrBuilder
- func (builder *UpsertObjectiveKrBuilder) Weight(weight float64) *UpsertObjectiveKrBuilder
- type User
- type UserBuilder
- type UserOkr
- type UserOkrBuilder
- func (builder *UserOkrBuilder) Build() *UserOkr
- func (builder *UserOkrBuilder) Id(id int64) *UserOkrBuilder
- func (builder *UserOkrBuilder) Name(name string) *UserOkrBuilder
- func (builder *UserOkrBuilder) ObjectiveList(objectiveList []*UserOkrObjective) *UserOkrBuilder
- func (builder *UserOkrBuilder) Permission(permission int) *UserOkrBuilder
- type UserOkrObjective
- type UserOkrObjectiveAlignedObjective
- type UserOkrObjectiveAlignedObjectiveBuilder
- func (builder *UserOkrObjectiveAlignedObjectiveBuilder) Build() *UserOkrObjectiveAlignedObjective
- func (builder *UserOkrObjectiveAlignedObjectiveBuilder) Id(id string) *UserOkrObjectiveAlignedObjectiveBuilder
- func (builder *UserOkrObjectiveAlignedObjectiveBuilder) OkrId(okrId string) *UserOkrObjectiveAlignedObjectiveBuilder
- func (builder *UserOkrObjectiveAlignedObjectiveBuilder) Owner(owner *UserOkrObjectiveAlignedObjectiveOwner) *UserOkrObjectiveAlignedObjectiveBuilder
- type UserOkrObjectiveAlignedObjectiveOwner
- type UserOkrObjectiveAlignedObjectiveOwnerBuilder
- func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) Build() *UserOkrObjectiveAlignedObjectiveOwner
- func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) EmployeeId(employeeId string) *UserOkrObjectiveAlignedObjectiveOwnerBuilder
- func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) EmployeeNo(employeeNo string) *UserOkrObjectiveAlignedObjectiveOwnerBuilder
- func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) Name(name string) *UserOkrObjectiveAlignedObjectiveOwnerBuilder
- func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) OpenId(openId string) *UserOkrObjectiveAlignedObjectiveOwnerBuilder
- func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) UnionId(unionId string) *UserOkrObjectiveAlignedObjectiveOwnerBuilder
- type UserOkrObjectiveBuilder
- func (builder *UserOkrObjectiveBuilder) AlignedObjectiveList(alignedObjectiveList []*UserOkrObjectiveAlignedObjective) *UserOkrObjectiveBuilder
- func (builder *UserOkrObjectiveBuilder) AligningObjectiveList(aligningObjectiveList []*UserOkrObjectiveAlignedObjective) *UserOkrObjectiveBuilder
- func (builder *UserOkrObjectiveBuilder) Build() *UserOkrObjective
- func (builder *UserOkrObjectiveBuilder) Content(content string) *UserOkrObjectiveBuilder
- func (builder *UserOkrObjectiveBuilder) Id(id string) *UserOkrObjectiveBuilder
- func (builder *UserOkrObjectiveBuilder) KrList(krList []*UserOkrObjectiveKr) *UserOkrObjectiveBuilder
- func (builder *UserOkrObjectiveBuilder) Permission(permission int) *UserOkrObjectiveBuilder
- func (builder *UserOkrObjectiveBuilder) ProgressRate(progressRate *UserOkrObjectiveProgressRate) *UserOkrObjectiveBuilder
- func (builder *UserOkrObjectiveBuilder) ProgressReport(progressReport string) *UserOkrObjectiveBuilder
- func (builder *UserOkrObjectiveBuilder) Score(score string) *UserOkrObjectiveBuilder
- type UserOkrObjectiveKr
- type UserOkrObjectiveKrBuilder
- func (builder *UserOkrObjectiveKrBuilder) Build() *UserOkrObjectiveKr
- func (builder *UserOkrObjectiveKrBuilder) Content(content string) *UserOkrObjectiveKrBuilder
- func (builder *UserOkrObjectiveKrBuilder) Id(id string) *UserOkrObjectiveKrBuilder
- func (builder *UserOkrObjectiveKrBuilder) ProgressRate(progressRate *UserOkrObjectiveProgressRate) *UserOkrObjectiveKrBuilder
- func (builder *UserOkrObjectiveKrBuilder) Score(score int) *UserOkrObjectiveKrBuilder
- func (builder *UserOkrObjectiveKrBuilder) Weight(weight int) *UserOkrObjectiveKrBuilder
- type UserOkrObjectiveProgressRate
- type UserOkrObjectiveProgressRateBuilder
- func (builder *UserOkrObjectiveProgressRateBuilder) Build() *UserOkrObjectiveProgressRate
- func (builder *UserOkrObjectiveProgressRateBuilder) Percent(percent int) *UserOkrObjectiveProgressRateBuilder
- func (builder *UserOkrObjectiveProgressRateBuilder) Status(status string) *UserOkrObjectiveProgressRateBuilder
Constants ¶
const ( TargetTypeOkr的O = 2 TargetTypeOkr的KR = 3 )
const ( UserIdTypeUserId = "user_id" UserIdTypeUnionId = "union_id" UserIdTypeOpenId = "open_id" UserIdTypePeopleAdminId = "people_admin_id" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlignObjective ¶
type AlignObjectiveBuilder ¶
type AlignObjectiveBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewAlignObjectiveBuilder ¶
func NewAlignObjectiveBuilder() *AlignObjectiveBuilder
func (*AlignObjectiveBuilder) Build ¶
func (builder *AlignObjectiveBuilder) Build() *AlignObjective
func (*AlignObjectiveBuilder) Id ¶
func (builder *AlignObjectiveBuilder) Id(id int64) *AlignObjectiveBuilder
func (*AlignObjectiveBuilder) OkrId ¶
func (builder *AlignObjectiveBuilder) OkrId(okrId int64) *AlignObjectiveBuilder
func (*AlignObjectiveBuilder) UserId ¶
func (builder *AlignObjectiveBuilder) UserId(userId string) *AlignObjectiveBuilder
type BatchGetOkrReq ¶
type BatchGetOkrReq struct {
// contains filtered or unexported fields
}
type BatchGetOkrReqBuilder ¶
type BatchGetOkrReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func (*BatchGetOkrReqBuilder) Build ¶
func (builder *BatchGetOkrReqBuilder) Build() *BatchGetOkrReq
1.5 生成请求的builder的build方法
func (*BatchGetOkrReqBuilder) Lang ¶
func (builder *BatchGetOkrReqBuilder) Lang(lang string) *BatchGetOkrReqBuilder
func (*BatchGetOkrReqBuilder) OkrIds ¶
func (builder *BatchGetOkrReqBuilder) OkrIds(okrIds []string) *BatchGetOkrReqBuilder
func (*BatchGetOkrReqBuilder) UserIdType ¶
func (builder *BatchGetOkrReqBuilder) UserIdType(userIdType string) *BatchGetOkrReqBuilder
1.5 生成请求的builder属性方法
type BatchGetOkrResp ¶
type BatchGetOkrResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *BatchGetOkrRespData `json:"data"` }
func (*BatchGetOkrResp) Success ¶
func (resp *BatchGetOkrResp) Success() bool
type BatchGetOkrRespData ¶
type BatchGetOkrRespData struct {
OkrList []*OkrBatch `json:"okr_list,omitempty"`
}
type ContentBlock ¶
type ContentBlock struct {
Blocks []*ContentBlockElement `json:"blocks,omitempty"`
}
type ContentBlockBuilder ¶
type ContentBlockBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentBlockBuilder ¶
func NewContentBlockBuilder() *ContentBlockBuilder
func (*ContentBlockBuilder) Blocks ¶
func (builder *ContentBlockBuilder) Blocks(blocks []*ContentBlockElement) *ContentBlockBuilder
func (*ContentBlockBuilder) Build ¶
func (builder *ContentBlockBuilder) Build() *ContentBlock
type ContentBlockElement ¶
type ContentBlockElement struct { Type *string `json:"type,omitempty"` Paragraph *ContentParagraph `json:"paragraph,omitempty"` Gallery *ContentGallery `json:"gallery,omitempty"` }
type ContentBlockElementBuilder ¶
type ContentBlockElementBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentBlockElementBuilder ¶
func NewContentBlockElementBuilder() *ContentBlockElementBuilder
func (*ContentBlockElementBuilder) Build ¶
func (builder *ContentBlockElementBuilder) Build() *ContentBlockElement
func (*ContentBlockElementBuilder) Gallery ¶
func (builder *ContentBlockElementBuilder) Gallery(gallery *ContentGallery) *ContentBlockElementBuilder
func (*ContentBlockElementBuilder) Paragraph ¶
func (builder *ContentBlockElementBuilder) Paragraph(paragraph *ContentParagraph) *ContentBlockElementBuilder
func (*ContentBlockElementBuilder) Type ¶
func (builder *ContentBlockElementBuilder) Type(type_ string) *ContentBlockElementBuilder
type ContentColor ¶
type ContentColorBuilder ¶
type ContentColorBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentColorBuilder ¶
func NewContentColorBuilder() *ContentColorBuilder
func (*ContentColorBuilder) Alpha ¶
func (builder *ContentColorBuilder) Alpha(alpha float64) *ContentColorBuilder
func (*ContentColorBuilder) Blue ¶
func (builder *ContentColorBuilder) Blue(blue int) *ContentColorBuilder
func (*ContentColorBuilder) Build ¶
func (builder *ContentColorBuilder) Build() *ContentColor
func (*ContentColorBuilder) Green ¶
func (builder *ContentColorBuilder) Green(green int) *ContentColorBuilder
func (*ContentColorBuilder) Red ¶
func (builder *ContentColorBuilder) Red(red int) *ContentColorBuilder
type ContentDocsLink ¶
type ContentDocsLinkBuilder ¶
type ContentDocsLinkBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentDocsLinkBuilder ¶
func NewContentDocsLinkBuilder() *ContentDocsLinkBuilder
func (*ContentDocsLinkBuilder) Build ¶
func (builder *ContentDocsLinkBuilder) Build() *ContentDocsLink
func (*ContentDocsLinkBuilder) Title ¶
func (builder *ContentDocsLinkBuilder) Title(title string) *ContentDocsLinkBuilder
func (*ContentDocsLinkBuilder) Url ¶
func (builder *ContentDocsLinkBuilder) Url(url string) *ContentDocsLinkBuilder
type ContentGallery ¶
type ContentGallery struct {
ImageList []*ContentImageItem `json:"imageList,omitempty"`
}
type ContentGalleryBuilder ¶
type ContentGalleryBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentGalleryBuilder ¶
func NewContentGalleryBuilder() *ContentGalleryBuilder
func (*ContentGalleryBuilder) Build ¶
func (builder *ContentGalleryBuilder) Build() *ContentGallery
func (*ContentGalleryBuilder) ImageList ¶
func (builder *ContentGalleryBuilder) ImageList(imageList []*ContentImageItem) *ContentGalleryBuilder
type ContentImageItem ¶
type ContentImageItemBuilder ¶
type ContentImageItemBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentImageItemBuilder ¶
func NewContentImageItemBuilder() *ContentImageItemBuilder
func (*ContentImageItemBuilder) Build ¶
func (builder *ContentImageItemBuilder) Build() *ContentImageItem
func (*ContentImageItemBuilder) FileToken ¶
func (builder *ContentImageItemBuilder) FileToken(fileToken string) *ContentImageItemBuilder
func (*ContentImageItemBuilder) Height ¶
func (builder *ContentImageItemBuilder) Height(height float64) *ContentImageItemBuilder
func (*ContentImageItemBuilder) Url ¶
func (builder *ContentImageItemBuilder) Url(url string) *ContentImageItemBuilder
func (*ContentImageItemBuilder) Width ¶
func (builder *ContentImageItemBuilder) Width(width float64) *ContentImageItemBuilder
type ContentLink ¶
type ContentLink struct {
Url *string `json:"url,omitempty"`
}
type ContentLinkBuilder ¶
type ContentLinkBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentLinkBuilder ¶
func NewContentLinkBuilder() *ContentLinkBuilder
func (*ContentLinkBuilder) Build ¶
func (builder *ContentLinkBuilder) Build() *ContentLink
func (*ContentLinkBuilder) Url ¶
func (builder *ContentLinkBuilder) Url(url string) *ContentLinkBuilder
type ContentList ¶
type ContentListBuilder ¶
type ContentListBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentListBuilder ¶
func NewContentListBuilder() *ContentListBuilder
func (*ContentListBuilder) Build ¶
func (builder *ContentListBuilder) Build() *ContentList
func (*ContentListBuilder) IndentLevel ¶
func (builder *ContentListBuilder) IndentLevel(indentLevel int) *ContentListBuilder
func (*ContentListBuilder) Number ¶
func (builder *ContentListBuilder) Number(number int) *ContentListBuilder
func (*ContentListBuilder) Type ¶
func (builder *ContentListBuilder) Type(type_ string) *ContentListBuilder
type ContentParagraph ¶
type ContentParagraph struct { Style *ContentParagraphStyle `json:"style,omitempty"` Elements []*ContentParagraphElement `json:"elements,omitempty"` }
type ContentParagraphBuilder ¶
type ContentParagraphBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentParagraphBuilder ¶
func NewContentParagraphBuilder() *ContentParagraphBuilder
func (*ContentParagraphBuilder) Build ¶
func (builder *ContentParagraphBuilder) Build() *ContentParagraph
func (*ContentParagraphBuilder) Elements ¶
func (builder *ContentParagraphBuilder) Elements(elements []*ContentParagraphElement) *ContentParagraphBuilder
func (*ContentParagraphBuilder) Style ¶
func (builder *ContentParagraphBuilder) Style(style *ContentParagraphStyle) *ContentParagraphBuilder
type ContentParagraphElement ¶
type ContentParagraphElement struct { Type *string `json:"type,omitempty"` TextRun *ContentTextRun `json:"textRun,omitempty"` DocsLink *ContentDocsLink `json:"docsLink,omitempty"` Person *ContentPerson `json:"person,omitempty"` }
type ContentParagraphElementBuilder ¶
type ContentParagraphElementBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentParagraphElementBuilder ¶
func NewContentParagraphElementBuilder() *ContentParagraphElementBuilder
func (*ContentParagraphElementBuilder) Build ¶
func (builder *ContentParagraphElementBuilder) Build() *ContentParagraphElement
func (*ContentParagraphElementBuilder) DocsLink ¶
func (builder *ContentParagraphElementBuilder) DocsLink(docsLink *ContentDocsLink) *ContentParagraphElementBuilder
func (*ContentParagraphElementBuilder) Person ¶
func (builder *ContentParagraphElementBuilder) Person(person *ContentPerson) *ContentParagraphElementBuilder
func (*ContentParagraphElementBuilder) TextRun ¶
func (builder *ContentParagraphElementBuilder) TextRun(textRun *ContentTextRun) *ContentParagraphElementBuilder
func (*ContentParagraphElementBuilder) Type ¶
func (builder *ContentParagraphElementBuilder) Type(type_ string) *ContentParagraphElementBuilder
type ContentParagraphStyle ¶
type ContentParagraphStyle struct {
List []*ContentList `json:"list,omitempty"`
}
type ContentParagraphStyleBuilder ¶
type ContentParagraphStyleBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentParagraphStyleBuilder ¶
func NewContentParagraphStyleBuilder() *ContentParagraphStyleBuilder
func (*ContentParagraphStyleBuilder) Build ¶
func (builder *ContentParagraphStyleBuilder) Build() *ContentParagraphStyle
func (*ContentParagraphStyleBuilder) List ¶
func (builder *ContentParagraphStyleBuilder) List(list []*ContentList) *ContentParagraphStyleBuilder
type ContentPerson ¶
type ContentPerson struct {
OpenId *string `json:"openId,omitempty"`
}
type ContentPersonBuilder ¶
type ContentPersonBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentPersonBuilder ¶
func NewContentPersonBuilder() *ContentPersonBuilder
func (*ContentPersonBuilder) Build ¶
func (builder *ContentPersonBuilder) Build() *ContentPerson
func (*ContentPersonBuilder) OpenId ¶
func (builder *ContentPersonBuilder) OpenId(openId string) *ContentPersonBuilder
type ContentTextRun ¶
type ContentTextRun struct { Text *string `json:"text,omitempty"` Style *ContentTextStyle `json:"style,omitempty"` }
type ContentTextRunBuilder ¶
type ContentTextRunBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentTextRunBuilder ¶
func NewContentTextRunBuilder() *ContentTextRunBuilder
func (*ContentTextRunBuilder) Build ¶
func (builder *ContentTextRunBuilder) Build() *ContentTextRun
func (*ContentTextRunBuilder) Style ¶
func (builder *ContentTextRunBuilder) Style(style *ContentTextStyle) *ContentTextRunBuilder
func (*ContentTextRunBuilder) Text ¶
func (builder *ContentTextRunBuilder) Text(text string) *ContentTextRunBuilder
type ContentTextStyle ¶
type ContentTextStyle struct { Bold *bool `json:"bold,omitempty"` StrikeThrough *bool `json:"strikeThrough,omitempty"` BackColor *ContentColor `json:"backColor,omitempty"` TextColor *ContentColor `json:"textColor,omitempty"` Link *ContentLink `json:"link,omitempty"` }
type ContentTextStyleBuilder ¶
type ContentTextStyleBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewContentTextStyleBuilder ¶
func NewContentTextStyleBuilder() *ContentTextStyleBuilder
func (*ContentTextStyleBuilder) BackColor ¶
func (builder *ContentTextStyleBuilder) BackColor(backColor *ContentColor) *ContentTextStyleBuilder
func (*ContentTextStyleBuilder) Bold ¶
func (builder *ContentTextStyleBuilder) Bold(bold bool) *ContentTextStyleBuilder
func (*ContentTextStyleBuilder) Build ¶
func (builder *ContentTextStyleBuilder) Build() *ContentTextStyle
func (*ContentTextStyleBuilder) Link ¶
func (builder *ContentTextStyleBuilder) Link(link *ContentLink) *ContentTextStyleBuilder
func (*ContentTextStyleBuilder) StrikeThrough ¶
func (builder *ContentTextStyleBuilder) StrikeThrough(strikeThrough bool) *ContentTextStyleBuilder
func (*ContentTextStyleBuilder) TextColor ¶
func (builder *ContentTextStyleBuilder) TextColor(textColor *ContentColor) *ContentTextStyleBuilder
type CreateProgressRecordPathReqBodyBuilder ¶
type CreateProgressRecordPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
上传文件path开始
func NewCreateProgressRecordPathReqBodyBuilder ¶
func NewCreateProgressRecordPathReqBodyBuilder() *CreateProgressRecordPathReqBodyBuilder
func (*CreateProgressRecordPathReqBodyBuilder) Build ¶
func (builder *CreateProgressRecordPathReqBodyBuilder) Build() (*CreateProgressRecordReqBody, error)
func (*CreateProgressRecordPathReqBodyBuilder) Content ¶
func (builder *CreateProgressRecordPathReqBodyBuilder) Content(content *ContentBlock) *CreateProgressRecordPathReqBodyBuilder
func (*CreateProgressRecordPathReqBodyBuilder) SourceTitle ¶
func (builder *CreateProgressRecordPathReqBodyBuilder) SourceTitle(sourceTitle string) *CreateProgressRecordPathReqBodyBuilder
func (*CreateProgressRecordPathReqBodyBuilder) SourceUrl ¶
func (builder *CreateProgressRecordPathReqBodyBuilder) SourceUrl(sourceUrl string) *CreateProgressRecordPathReqBodyBuilder
func (*CreateProgressRecordPathReqBodyBuilder) TargetId ¶
func (builder *CreateProgressRecordPathReqBodyBuilder) TargetId(targetId int64) *CreateProgressRecordPathReqBodyBuilder
func (*CreateProgressRecordPathReqBodyBuilder) TargetType ¶
func (builder *CreateProgressRecordPathReqBodyBuilder) TargetType(targetType int) *CreateProgressRecordPathReqBodyBuilder
type CreateProgressRecordReq ¶
type CreateProgressRecordReq struct { Body *CreateProgressRecordReqBody `body:""` // contains filtered or unexported fields }
type CreateProgressRecordReqBody ¶
type CreateProgressRecordReqBody struct { SourceTitle *string `json:"source_title,omitempty"` SourceUrl *string `json:"source_url,omitempty"` TargetId *int64 `json:"target_id,omitempty,string"` TargetType *int `json:"target_type,omitempty"` Content *ContentBlock `json:"content,omitempty"` }
type CreateProgressRecordReqBodyBuilder ¶
type CreateProgressRecordReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewCreateProgressRecordReqBodyBuilder ¶
func NewCreateProgressRecordReqBodyBuilder() *CreateProgressRecordReqBodyBuilder
生成body的New构造器
func (*CreateProgressRecordReqBodyBuilder) Build ¶
func (builder *CreateProgressRecordReqBodyBuilder) Build() *CreateProgressRecordReqBody
1.3 生成body的build方法
func (*CreateProgressRecordReqBodyBuilder) Content ¶
func (builder *CreateProgressRecordReqBodyBuilder) Content(content *ContentBlock) *CreateProgressRecordReqBodyBuilder
func (*CreateProgressRecordReqBodyBuilder) SourceTitle ¶
func (builder *CreateProgressRecordReqBodyBuilder) SourceTitle(sourceTitle string) *CreateProgressRecordReqBodyBuilder
1.2 生成body的builder属性方法
func (*CreateProgressRecordReqBodyBuilder) SourceUrl ¶
func (builder *CreateProgressRecordReqBodyBuilder) SourceUrl(sourceUrl string) *CreateProgressRecordReqBodyBuilder
func (*CreateProgressRecordReqBodyBuilder) TargetId ¶
func (builder *CreateProgressRecordReqBodyBuilder) TargetId(targetId int64) *CreateProgressRecordReqBodyBuilder
func (*CreateProgressRecordReqBodyBuilder) TargetType ¶
func (builder *CreateProgressRecordReqBodyBuilder) TargetType(targetType int) *CreateProgressRecordReqBodyBuilder
type CreateProgressRecordReqBuilder ¶
type CreateProgressRecordReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewCreateProgressRecordReqBuilder ¶
func NewCreateProgressRecordReqBuilder() *CreateProgressRecordReqBuilder
生成请求的New构造器
func (*CreateProgressRecordReqBuilder) Body ¶
func (builder *CreateProgressRecordReqBuilder) Body(body *CreateProgressRecordReqBody) *CreateProgressRecordReqBuilder
1.5 生成请求的builder属性方法
func (*CreateProgressRecordReqBuilder) Build ¶
func (builder *CreateProgressRecordReqBuilder) Build() *CreateProgressRecordReq
1.5 生成请求的builder的build方法
type CreateProgressRecordResp ¶
type CreateProgressRecordResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateProgressRecordRespData `json:"data"` }
func (*CreateProgressRecordResp) Success ¶
func (resp *CreateProgressRecordResp) Success() bool
type CreateProgressRecordRespData ¶
type CreateProgressRecordRespData struct {
Data *ProgressRecord `json:"data,omitempty"`
}
type CurrentOkrSimple ¶
type CurrentOkrSimpleBuilder ¶
type CurrentOkrSimpleBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewCurrentOkrSimpleBuilder ¶
func NewCurrentOkrSimpleBuilder() *CurrentOkrSimpleBuilder
func (*CurrentOkrSimpleBuilder) Build ¶
func (builder *CurrentOkrSimpleBuilder) Build() *CurrentOkrSimple
func (*CurrentOkrSimpleBuilder) OkrId ¶
func (builder *CurrentOkrSimpleBuilder) OkrId(okrId string) *CurrentOkrSimpleBuilder
func (*CurrentOkrSimpleBuilder) PeriodId ¶
func (builder *CurrentOkrSimpleBuilder) PeriodId(periodId string) *CurrentOkrSimpleBuilder
type DeleteProgressRecordReq ¶
type DeleteProgressRecordReq struct {
// contains filtered or unexported fields
}
type DeleteProgressRecordReqBuilder ¶
type DeleteProgressRecordReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewDeleteProgressRecordReqBuilder ¶
func NewDeleteProgressRecordReqBuilder() *DeleteProgressRecordReqBuilder
生成请求的New构造器
func (*DeleteProgressRecordReqBuilder) Build ¶
func (builder *DeleteProgressRecordReqBuilder) Build() *DeleteProgressRecordReq
1.5 生成请求的builder的build方法
func (*DeleteProgressRecordReqBuilder) ProgressId ¶
func (builder *DeleteProgressRecordReqBuilder) ProgressId(progressId int64) *DeleteProgressRecordReqBuilder
1.5 生成请求的builder属性方法
type DeleteProgressRecordResp ¶
type DeleteProgressRecordResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteProgressRecordResp) Success ¶
func (resp *DeleteProgressRecordResp) Success() bool
type DummyBuilder ¶
type DummyBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewDummyBuilder ¶
func NewDummyBuilder() *DummyBuilder
func (*DummyBuilder) Build ¶
func (builder *DummyBuilder) Build() *Dummy
func (*DummyBuilder) Id ¶
func (builder *DummyBuilder) Id(id string) *DummyBuilder
type GetProgressRecordReq ¶
type GetProgressRecordReq struct {
// contains filtered or unexported fields
}
type GetProgressRecordReqBuilder ¶
type GetProgressRecordReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewGetProgressRecordReqBuilder ¶
func NewGetProgressRecordReqBuilder() *GetProgressRecordReqBuilder
生成请求的New构造器
func (*GetProgressRecordReqBuilder) Build ¶
func (builder *GetProgressRecordReqBuilder) Build() *GetProgressRecordReq
1.5 生成请求的builder的build方法
func (*GetProgressRecordReqBuilder) ProgressId ¶
func (builder *GetProgressRecordReqBuilder) ProgressId(progressId int64) *GetProgressRecordReqBuilder
1.5 生成请求的builder属性方法
type GetProgressRecordResp ¶
type GetProgressRecordResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetProgressRecordRespData `json:"data"` }
func (*GetProgressRecordResp) Success ¶
func (resp *GetProgressRecordResp) Success() bool
type GetProgressRecordRespData ¶
type GetProgressRecordRespData struct { ProgressId *int64 `json:"progress_id,omitempty,string"` ModifyTime *int64 `json:"modify_time,omitempty,string"` Content *ContentBlock `json:"content,omitempty"` }
type ImageInfoBuilder ¶
type ImageInfoBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewImageInfoBuilder ¶
func NewImageInfoBuilder() *ImageInfoBuilder
func (*ImageInfoBuilder) Build ¶
func (builder *ImageInfoBuilder) Build() *ImageInfo
func (*ImageInfoBuilder) FileToken ¶
func (builder *ImageInfoBuilder) FileToken(fileToken string) *ImageInfoBuilder
func (*ImageInfoBuilder) Url ¶
func (builder *ImageInfoBuilder) Url(url string) *ImageInfoBuilder
type Kr ¶
type Kr struct { Id *int64 `json:"id,omitempty,string"` Pos *string `json:"pos,omitempty"` Score *string `json:"score,omitempty"` Weight *string `json:"weight,omitempty"` Content *KrContent `json:"content,omitempty"` CreateTime *int `json:"create_time,omitempty"` ModifyTime *int `json:"modify_time,omitempty"` }
type KrBuilder ¶
type KrBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewKrBuilder ¶
func NewKrBuilder() *KrBuilder
func (*KrBuilder) CreateTime ¶
func (*KrBuilder) ModifyTime ¶
type KrContentBuilder ¶
type KrContentBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewKrContentBuilder ¶
func NewKrContentBuilder() *KrContentBuilder
func (*KrContentBuilder) Build ¶
func (builder *KrContentBuilder) Build() *KrContent
func (*KrContentBuilder) En ¶
func (builder *KrContentBuilder) En(en string) *KrContentBuilder
func (*KrContentBuilder) Zh ¶
func (builder *KrContentBuilder) Zh(zh string) *KrContentBuilder
type ListPeriodReq ¶
type ListPeriodReq struct {
// contains filtered or unexported fields
}
type ListPeriodReqBuilder ¶
type ListPeriodReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func (*ListPeriodReqBuilder) Build ¶
func (builder *ListPeriodReqBuilder) Build() *ListPeriodReq
1.5 生成请求的builder的build方法
func (*ListPeriodReqBuilder) PageSize ¶
func (builder *ListPeriodReqBuilder) PageSize(pageSize int) *ListPeriodReqBuilder
func (*ListPeriodReqBuilder) PageToken ¶
func (builder *ListPeriodReqBuilder) PageToken(pageToken string) *ListPeriodReqBuilder
1.5 生成请求的builder属性方法
type ListPeriodResp ¶
type ListPeriodResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListPeriodRespData `json:"data"` }
func (*ListPeriodResp) Success ¶
func (resp *ListPeriodResp) Success() bool
type ListPeriodRespData ¶
type ListUserOkrReq ¶
type ListUserOkrReq struct {
// contains filtered or unexported fields
}
type ListUserOkrReqBuilder ¶
type ListUserOkrReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func (*ListUserOkrReqBuilder) Build ¶
func (builder *ListUserOkrReqBuilder) Build() *ListUserOkrReq
1.5 生成请求的builder的build方法
func (*ListUserOkrReqBuilder) Lang ¶
func (builder *ListUserOkrReqBuilder) Lang(lang string) *ListUserOkrReqBuilder
func (*ListUserOkrReqBuilder) Limit ¶
func (builder *ListUserOkrReqBuilder) Limit(limit string) *ListUserOkrReqBuilder
func (*ListUserOkrReqBuilder) Offset ¶
func (builder *ListUserOkrReqBuilder) Offset(offset string) *ListUserOkrReqBuilder
func (*ListUserOkrReqBuilder) PeriodIds ¶
func (builder *ListUserOkrReqBuilder) PeriodIds(periodIds []string) *ListUserOkrReqBuilder
func (*ListUserOkrReqBuilder) UserId ¶
func (builder *ListUserOkrReqBuilder) UserId(userId string) *ListUserOkrReqBuilder
1.5 生成请求的builder属性方法
func (*ListUserOkrReqBuilder) UserIdType ¶
func (builder *ListUserOkrReqBuilder) UserIdType(userIdType string) *ListUserOkrReqBuilder
type ListUserOkrResp ¶
type ListUserOkrResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListUserOkrRespData `json:"data"` }
func (*ListUserOkrResp) Success ¶
func (resp *ListUserOkrResp) Success() bool
type ListUserOkrRespData ¶
type Objective ¶
type Objective struct { Id *string `json:"id,omitempty"` OkrId *string `json:"okr_id,omitempty"` UserId *string `json:"user_id,omitempty"` Pos *string `json:"pos,omitempty"` Score *string `json:"score,omitempty"` Name *ObjectiveName `json:"name,omitempty"` Progress *ObjectiveProgress `json:"progress,omitempty"` CreateTime *int `json:"create_time,omitempty"` ModifyTime *int `json:"modify_time,omitempty"` KrList []*Kr `json:"kr_list,omitempty"` AligningObjectiveList []*AlignObjective `json:"aligning_objective_list,omitempty"` AlignedObjectiveList []*AlignObjective `json:"aligned_objective_list,omitempty"` }
type ObjectiveBuilder ¶
type ObjectiveBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewObjectiveBuilder ¶
func NewObjectiveBuilder() *ObjectiveBuilder
func (*ObjectiveBuilder) AlignedObjectiveList ¶
func (builder *ObjectiveBuilder) AlignedObjectiveList(alignedObjectiveList []*AlignObjective) *ObjectiveBuilder
func (*ObjectiveBuilder) AligningObjectiveList ¶
func (builder *ObjectiveBuilder) AligningObjectiveList(aligningObjectiveList []*AlignObjective) *ObjectiveBuilder
func (*ObjectiveBuilder) Build ¶
func (builder *ObjectiveBuilder) Build() *Objective
func (*ObjectiveBuilder) CreateTime ¶
func (builder *ObjectiveBuilder) CreateTime(createTime int) *ObjectiveBuilder
func (*ObjectiveBuilder) Id ¶
func (builder *ObjectiveBuilder) Id(id string) *ObjectiveBuilder
func (*ObjectiveBuilder) KrList ¶
func (builder *ObjectiveBuilder) KrList(krList []*Kr) *ObjectiveBuilder
func (*ObjectiveBuilder) ModifyTime ¶
func (builder *ObjectiveBuilder) ModifyTime(modifyTime int) *ObjectiveBuilder
func (*ObjectiveBuilder) Name ¶
func (builder *ObjectiveBuilder) Name(name *ObjectiveName) *ObjectiveBuilder
func (*ObjectiveBuilder) OkrId ¶
func (builder *ObjectiveBuilder) OkrId(okrId string) *ObjectiveBuilder
func (*ObjectiveBuilder) Pos ¶
func (builder *ObjectiveBuilder) Pos(pos string) *ObjectiveBuilder
func (*ObjectiveBuilder) Progress ¶
func (builder *ObjectiveBuilder) Progress(progress *ObjectiveProgress) *ObjectiveBuilder
func (*ObjectiveBuilder) Score ¶
func (builder *ObjectiveBuilder) Score(score string) *ObjectiveBuilder
func (*ObjectiveBuilder) UserId ¶
func (builder *ObjectiveBuilder) UserId(userId string) *ObjectiveBuilder
type ObjectiveName ¶
type ObjectiveNameBuilder ¶
type ObjectiveNameBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewObjectiveNameBuilder ¶
func NewObjectiveNameBuilder() *ObjectiveNameBuilder
func (*ObjectiveNameBuilder) Build ¶
func (builder *ObjectiveNameBuilder) Build() *ObjectiveName
func (*ObjectiveNameBuilder) En ¶
func (builder *ObjectiveNameBuilder) En(en string) *ObjectiveNameBuilder
func (*ObjectiveNameBuilder) Zh ¶
func (builder *ObjectiveNameBuilder) Zh(zh string) *ObjectiveNameBuilder
type ObjectiveProgress ¶
type ObjectiveProgressBuilder ¶
type ObjectiveProgressBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewObjectiveProgressBuilder ¶
func NewObjectiveProgressBuilder() *ObjectiveProgressBuilder
func (*ObjectiveProgressBuilder) Build ¶
func (builder *ObjectiveProgressBuilder) Build() *ObjectiveProgress
func (*ObjectiveProgressBuilder) En ¶
func (builder *ObjectiveProgressBuilder) En(en string) *ObjectiveProgressBuilder
func (*ObjectiveProgressBuilder) Zh ¶
func (builder *ObjectiveProgressBuilder) Zh(zh string) *ObjectiveProgressBuilder
type Okr ¶
type Okr struct { OkrId *int64 `json:"okr_id,omitempty,string"` PeriodId *int64 `json:"period_id,omitempty,string"` PeriodType *string `json:"period_type,omitempty"` Name *OkrName `json:"name,omitempty"` CreateTime *int `json:"create_time,omitempty"` ModifyTime *int `json:"modify_time,omitempty"` ObjectiveList []*OkrDetailObjective `json:"objective_list,omitempty"` OkrScore *int `json:"okr_score,omitempty"` }
type OkrBatch ¶
type OkrBatch struct { Id *int64 `json:"id,omitempty,string"` Permission *int `json:"permission,omitempty"` PeriodId *int64 `json:"period_id,omitempty,string"` Name *string `json:"name,omitempty"` ObjectiveList []*OkrObjective `json:"objective_list,omitempty"` ConfirmStatus *int `json:"confirm_status,omitempty"` }
type OkrBatchBuilder ¶
type OkrBatchBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrBatchBuilder ¶
func NewOkrBatchBuilder() *OkrBatchBuilder
func (*OkrBatchBuilder) Build ¶
func (builder *OkrBatchBuilder) Build() *OkrBatch
func (*OkrBatchBuilder) ConfirmStatus ¶
func (builder *OkrBatchBuilder) ConfirmStatus(confirmStatus int) *OkrBatchBuilder
func (*OkrBatchBuilder) Id ¶
func (builder *OkrBatchBuilder) Id(id int64) *OkrBatchBuilder
func (*OkrBatchBuilder) Name ¶
func (builder *OkrBatchBuilder) Name(name string) *OkrBatchBuilder
func (*OkrBatchBuilder) ObjectiveList ¶
func (builder *OkrBatchBuilder) ObjectiveList(objectiveList []*OkrObjective) *OkrBatchBuilder
func (*OkrBatchBuilder) PeriodId ¶
func (builder *OkrBatchBuilder) PeriodId(periodId int64) *OkrBatchBuilder
func (*OkrBatchBuilder) Permission ¶
func (builder *OkrBatchBuilder) Permission(permission int) *OkrBatchBuilder
type OkrBuilder ¶
type OkrBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrBuilder ¶
func NewOkrBuilder() *OkrBuilder
func (*OkrBuilder) Build ¶
func (builder *OkrBuilder) Build() *Okr
func (*OkrBuilder) CreateTime ¶
func (builder *OkrBuilder) CreateTime(createTime int) *OkrBuilder
func (*OkrBuilder) ModifyTime ¶
func (builder *OkrBuilder) ModifyTime(modifyTime int) *OkrBuilder
func (*OkrBuilder) Name ¶
func (builder *OkrBuilder) Name(name *OkrName) *OkrBuilder
func (*OkrBuilder) ObjectiveList ¶
func (builder *OkrBuilder) ObjectiveList(objectiveList []*OkrDetailObjective) *OkrBuilder
func (*OkrBuilder) OkrId ¶
func (builder *OkrBuilder) OkrId(okrId int64) *OkrBuilder
func (*OkrBuilder) OkrScore ¶
func (builder *OkrBuilder) OkrScore(okrScore int) *OkrBuilder
func (*OkrBuilder) PeriodId ¶
func (builder *OkrBuilder) PeriodId(periodId int64) *OkrBuilder
func (*OkrBuilder) PeriodType ¶
func (builder *OkrBuilder) PeriodType(periodType string) *OkrBuilder
type OkrComment ¶
type OkrComment struct { Id *int64 `json:"id,omitempty,string"` Content *string `json:"content,omitempty"` CommentTime *int `json:"comment_time,omitempty"` Commentator *OkrObjectiveAlignedObjectiveOwner `json:"commentator,omitempty"` LastModifier *OkrObjectiveAlignedObjectiveOwner `json:"last_modifier,omitempty"` ContentModifyTime *int `json:"content_modify_time,omitempty"` SolvedTime *int `json:"solved_time,omitempty"` }
type OkrCommentBuilder ¶
type OkrCommentBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrCommentBuilder ¶
func NewOkrCommentBuilder() *OkrCommentBuilder
func (*OkrCommentBuilder) Build ¶
func (builder *OkrCommentBuilder) Build() *OkrComment
func (*OkrCommentBuilder) CommentTime ¶
func (builder *OkrCommentBuilder) CommentTime(commentTime int) *OkrCommentBuilder
func (*OkrCommentBuilder) Commentator ¶
func (builder *OkrCommentBuilder) Commentator(commentator *OkrObjectiveAlignedObjectiveOwner) *OkrCommentBuilder
func (*OkrCommentBuilder) Content ¶
func (builder *OkrCommentBuilder) Content(content string) *OkrCommentBuilder
func (*OkrCommentBuilder) ContentModifyTime ¶
func (builder *OkrCommentBuilder) ContentModifyTime(contentModifyTime int) *OkrCommentBuilder
func (*OkrCommentBuilder) Id ¶
func (builder *OkrCommentBuilder) Id(id int64) *OkrCommentBuilder
func (*OkrCommentBuilder) LastModifier ¶
func (builder *OkrCommentBuilder) LastModifier(lastModifier *OkrObjectiveAlignedObjectiveOwner) *OkrCommentBuilder
func (*OkrCommentBuilder) SolvedTime ¶
func (builder *OkrCommentBuilder) SolvedTime(solvedTime int) *OkrCommentBuilder
type OkrDetail ¶
type OkrDetail struct { OkrId *string `json:"okr_id,omitempty"` PeriodId *string `json:"period_id,omitempty"` PeriodType *string `json:"period_type,omitempty"` Name *OkrName `json:"name,omitempty"` CreateTime *int `json:"create_time,omitempty"` ModifyTime *int `json:"modify_time,omitempty"` ObjectiveList []*OkrDetailObjective `json:"objective_list,omitempty"` OkrScore *int `json:"okr_score,omitempty"` }
type OkrDetailBuilder ¶
type OkrDetailBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrDetailBuilder ¶
func NewOkrDetailBuilder() *OkrDetailBuilder
func (*OkrDetailBuilder) Build ¶
func (builder *OkrDetailBuilder) Build() *OkrDetail
func (*OkrDetailBuilder) CreateTime ¶
func (builder *OkrDetailBuilder) CreateTime(createTime int) *OkrDetailBuilder
func (*OkrDetailBuilder) ModifyTime ¶
func (builder *OkrDetailBuilder) ModifyTime(modifyTime int) *OkrDetailBuilder
func (*OkrDetailBuilder) Name ¶
func (builder *OkrDetailBuilder) Name(name *OkrName) *OkrDetailBuilder
func (*OkrDetailBuilder) ObjectiveList ¶
func (builder *OkrDetailBuilder) ObjectiveList(objectiveList []*OkrDetailObjective) *OkrDetailBuilder
func (*OkrDetailBuilder) OkrId ¶
func (builder *OkrDetailBuilder) OkrId(okrId string) *OkrDetailBuilder
func (*OkrDetailBuilder) OkrScore ¶
func (builder *OkrDetailBuilder) OkrScore(okrScore int) *OkrDetailBuilder
func (*OkrDetailBuilder) PeriodId ¶
func (builder *OkrDetailBuilder) PeriodId(periodId string) *OkrDetailBuilder
func (*OkrDetailBuilder) PeriodType ¶
func (builder *OkrDetailBuilder) PeriodType(periodType string) *OkrDetailBuilder
type OkrDetailObjective ¶
type OkrDetailObjective struct { Id *int64 `json:"id,omitempty,string"` OkrId *int64 `json:"okr_id,omitempty,string"` UserId *string `json:"user_id,omitempty"` Pos *int `json:"pos,omitempty"` Score *int `json:"score,omitempty"` Name *OkrName `json:"name,omitempty"` Progress *OkrName `json:"progress,omitempty"` CreateTime *int `json:"create_time,omitempty"` ModifyTime *int `json:"modify_time,omitempty"` KrList []*OkrDetailObjectiveKr `json:"kr_list,omitempty"` AligningObjectiveList []*OkrDetailObjectiveAlign `json:"aligning_objective_list,omitempty"` AlignedObjectiveList []*OkrDetailObjectiveAlign `json:"aligned_objective_list,omitempty"` Weight *float64 `json:"weight,omitempty"` }
type OkrDetailObjectiveAlign ¶
type OkrDetailObjectiveAlignBuilder ¶
type OkrDetailObjectiveAlignBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrDetailObjectiveAlignBuilder ¶
func NewOkrDetailObjectiveAlignBuilder() *OkrDetailObjectiveAlignBuilder
func (*OkrDetailObjectiveAlignBuilder) Build ¶
func (builder *OkrDetailObjectiveAlignBuilder) Build() *OkrDetailObjectiveAlign
func (*OkrDetailObjectiveAlignBuilder) Id ¶
func (builder *OkrDetailObjectiveAlignBuilder) Id(id int64) *OkrDetailObjectiveAlignBuilder
func (*OkrDetailObjectiveAlignBuilder) OkrId ¶
func (builder *OkrDetailObjectiveAlignBuilder) OkrId(okrId int64) *OkrDetailObjectiveAlignBuilder
func (*OkrDetailObjectiveAlignBuilder) UserId ¶
func (builder *OkrDetailObjectiveAlignBuilder) UserId(userId string) *OkrDetailObjectiveAlignBuilder
type OkrDetailObjectiveBuilder ¶
type OkrDetailObjectiveBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrDetailObjectiveBuilder ¶
func NewOkrDetailObjectiveBuilder() *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) AlignedObjectiveList ¶
func (builder *OkrDetailObjectiveBuilder) AlignedObjectiveList(alignedObjectiveList []*OkrDetailObjectiveAlign) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) AligningObjectiveList ¶
func (builder *OkrDetailObjectiveBuilder) AligningObjectiveList(aligningObjectiveList []*OkrDetailObjectiveAlign) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) Build ¶
func (builder *OkrDetailObjectiveBuilder) Build() *OkrDetailObjective
func (*OkrDetailObjectiveBuilder) CreateTime ¶
func (builder *OkrDetailObjectiveBuilder) CreateTime(createTime int) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) Id ¶
func (builder *OkrDetailObjectiveBuilder) Id(id int64) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) KrList ¶
func (builder *OkrDetailObjectiveBuilder) KrList(krList []*OkrDetailObjectiveKr) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) ModifyTime ¶
func (builder *OkrDetailObjectiveBuilder) ModifyTime(modifyTime int) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) Name ¶
func (builder *OkrDetailObjectiveBuilder) Name(name *OkrName) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) OkrId ¶
func (builder *OkrDetailObjectiveBuilder) OkrId(okrId int64) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) Pos ¶
func (builder *OkrDetailObjectiveBuilder) Pos(pos int) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) Progress ¶
func (builder *OkrDetailObjectiveBuilder) Progress(progress *OkrName) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) Score ¶
func (builder *OkrDetailObjectiveBuilder) Score(score int) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) UserId ¶
func (builder *OkrDetailObjectiveBuilder) UserId(userId string) *OkrDetailObjectiveBuilder
func (*OkrDetailObjectiveBuilder) Weight ¶
func (builder *OkrDetailObjectiveBuilder) Weight(weight float64) *OkrDetailObjectiveBuilder
type OkrDetailObjectiveKr ¶
type OkrDetailObjectiveKr struct { Id *int64 `json:"id,omitempty,string"` Pos *int `json:"pos,omitempty"` Score *int `json:"score,omitempty"` Weight *float64 `json:"weight,omitempty"` Content *OkrName `json:"content,omitempty"` CreateTime *int `json:"create_time,omitempty"` ModifyTime *int `json:"modify_time,omitempty"` }
type OkrDetailObjectiveKrBuilder ¶
type OkrDetailObjectiveKrBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrDetailObjectiveKrBuilder ¶
func NewOkrDetailObjectiveKrBuilder() *OkrDetailObjectiveKrBuilder
func (*OkrDetailObjectiveKrBuilder) Build ¶
func (builder *OkrDetailObjectiveKrBuilder) Build() *OkrDetailObjectiveKr
func (*OkrDetailObjectiveKrBuilder) Content ¶
func (builder *OkrDetailObjectiveKrBuilder) Content(content *OkrName) *OkrDetailObjectiveKrBuilder
func (*OkrDetailObjectiveKrBuilder) CreateTime ¶
func (builder *OkrDetailObjectiveKrBuilder) CreateTime(createTime int) *OkrDetailObjectiveKrBuilder
func (*OkrDetailObjectiveKrBuilder) Id ¶
func (builder *OkrDetailObjectiveKrBuilder) Id(id int64) *OkrDetailObjectiveKrBuilder
func (*OkrDetailObjectiveKrBuilder) ModifyTime ¶
func (builder *OkrDetailObjectiveKrBuilder) ModifyTime(modifyTime int) *OkrDetailObjectiveKrBuilder
func (*OkrDetailObjectiveKrBuilder) Pos ¶
func (builder *OkrDetailObjectiveKrBuilder) Pos(pos int) *OkrDetailObjectiveKrBuilder
func (*OkrDetailObjectiveKrBuilder) Score ¶
func (builder *OkrDetailObjectiveKrBuilder) Score(score int) *OkrDetailObjectiveKrBuilder
func (*OkrDetailObjectiveKrBuilder) Weight ¶
func (builder *OkrDetailObjectiveKrBuilder) Weight(weight float64) *OkrDetailObjectiveKrBuilder
type OkrListInfo ¶
type OkrListInfoBuilder ¶
type OkrListInfoBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrListInfoBuilder ¶
func NewOkrListInfoBuilder() *OkrListInfoBuilder
func (*OkrListInfoBuilder) Build ¶
func (builder *OkrListInfoBuilder) Build() *OkrListInfo
func (*OkrListInfoBuilder) CurrentOkr ¶
func (builder *OkrListInfoBuilder) CurrentOkr(currentOkr *Okr) *OkrListInfoBuilder
func (*OkrListInfoBuilder) OkrList ¶
func (builder *OkrListInfoBuilder) OkrList(okrList []*Okr) *OkrListInfoBuilder
type OkrNameBuilder ¶
type OkrNameBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrNameBuilder ¶
func NewOkrNameBuilder() *OkrNameBuilder
func (*OkrNameBuilder) Build ¶
func (builder *OkrNameBuilder) Build() *OkrName
func (*OkrNameBuilder) En ¶
func (builder *OkrNameBuilder) En(en string) *OkrNameBuilder
func (*OkrNameBuilder) Zh ¶
func (builder *OkrNameBuilder) Zh(zh string) *OkrNameBuilder
type OkrObjective ¶
type OkrObjective struct { Id *int64 `json:"id,omitempty,string"` Permission *int `json:"permission,omitempty"` Content *string `json:"content,omitempty"` ProgressReport *string `json:"progress_report,omitempty"` Score *int `json:"score,omitempty"` Weight *float64 `json:"weight,omitempty"` ProgressRate *OkrObjectiveProgressRate `json:"progress_rate,omitempty"` KrList []*OkrObjectiveKr `json:"kr_list,omitempty"` AlignedObjectiveList []*OkrObjectiveAlignedObjective `json:"aligned_objective_list,omitempty"` AligningObjectiveList []*OkrObjectiveAlignedObjective `json:"aligning_objective_list,omitempty"` ProgressRecordList []*ProgressRecordSimplify `json:"progress_record_list,omitempty"` ProgressRatePercentLastUpdatedTime *int64 `json:"progress_rate_percent_last_updated_time,omitempty,string"` ProgressRateStatusLastUpdatedTime *int64 `json:"progress_rate_status_last_updated_time,omitempty,string"` ProgressRecordLastUpdatedTime *int64 `json:"progress_record_last_updated_time,omitempty,string"` ProgressReportLastUpdatedTime *int64 `json:"progress_report_last_updated_time,omitempty,string"` ScoreLastUpdatedTime *int64 `json:"score_last_updated_time,omitempty,string"` Deadline *int64 `json:"deadline,omitempty,string"` MentionedUserList []*OkrObjectiveAlignedObjectiveOwner `json:"mentioned_user_list,omitempty"` }
type OkrObjectiveAlignedObjective ¶
type OkrObjectiveAlignedObjective struct { Id *int64 `json:"id,omitempty,string"` OkrId *int64 `json:"okr_id,omitempty,string"` Owner *OkrObjectiveAlignedObjectiveOwner `json:"owner,omitempty"` }
type OkrObjectiveAlignedObjectiveBuilder ¶
type OkrObjectiveAlignedObjectiveBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrObjectiveAlignedObjectiveBuilder ¶
func NewOkrObjectiveAlignedObjectiveBuilder() *OkrObjectiveAlignedObjectiveBuilder
func (*OkrObjectiveAlignedObjectiveBuilder) Build ¶
func (builder *OkrObjectiveAlignedObjectiveBuilder) Build() *OkrObjectiveAlignedObjective
func (*OkrObjectiveAlignedObjectiveBuilder) Id ¶
func (builder *OkrObjectiveAlignedObjectiveBuilder) Id(id int64) *OkrObjectiveAlignedObjectiveBuilder
func (*OkrObjectiveAlignedObjectiveBuilder) OkrId ¶
func (builder *OkrObjectiveAlignedObjectiveBuilder) OkrId(okrId int64) *OkrObjectiveAlignedObjectiveBuilder
func (*OkrObjectiveAlignedObjectiveBuilder) Owner ¶
func (builder *OkrObjectiveAlignedObjectiveBuilder) Owner(owner *OkrObjectiveAlignedObjectiveOwner) *OkrObjectiveAlignedObjectiveBuilder
type OkrObjectiveAlignedObjectiveOwnerBuilder ¶
type OkrObjectiveAlignedObjectiveOwnerBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrObjectiveAlignedObjectiveOwnerBuilder ¶
func NewOkrObjectiveAlignedObjectiveOwnerBuilder() *OkrObjectiveAlignedObjectiveOwnerBuilder
func (*OkrObjectiveAlignedObjectiveOwnerBuilder) Build ¶
func (builder *OkrObjectiveAlignedObjectiveOwnerBuilder) Build() *OkrObjectiveAlignedObjectiveOwner
func (*OkrObjectiveAlignedObjectiveOwnerBuilder) OpenId ¶
func (builder *OkrObjectiveAlignedObjectiveOwnerBuilder) OpenId(openId string) *OkrObjectiveAlignedObjectiveOwnerBuilder
func (*OkrObjectiveAlignedObjectiveOwnerBuilder) UserId ¶
func (builder *OkrObjectiveAlignedObjectiveOwnerBuilder) UserId(userId string) *OkrObjectiveAlignedObjectiveOwnerBuilder
type OkrObjectiveAlignment ¶
type OkrObjectiveAlignmentBuilder ¶
type OkrObjectiveAlignmentBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrObjectiveAlignmentBuilder ¶
func NewOkrObjectiveAlignmentBuilder() *OkrObjectiveAlignmentBuilder
func (*OkrObjectiveAlignmentBuilder) Build ¶
func (builder *OkrObjectiveAlignmentBuilder) Build() *OkrObjectiveAlignment
func (*OkrObjectiveAlignmentBuilder) Id ¶
func (builder *OkrObjectiveAlignmentBuilder) Id(id int64) *OkrObjectiveAlignmentBuilder
func (*OkrObjectiveAlignmentBuilder) ToId ¶
func (builder *OkrObjectiveAlignmentBuilder) ToId(toId int64) *OkrObjectiveAlignmentBuilder
func (*OkrObjectiveAlignmentBuilder) ToType ¶
func (builder *OkrObjectiveAlignmentBuilder) ToType(toType int) *OkrObjectiveAlignmentBuilder
type OkrObjectiveBuilder ¶
type OkrObjectiveBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrObjectiveBuilder ¶
func NewOkrObjectiveBuilder() *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) AlignedObjectiveList ¶
func (builder *OkrObjectiveBuilder) AlignedObjectiveList(alignedObjectiveList []*OkrObjectiveAlignedObjective) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) AligningObjectiveList ¶
func (builder *OkrObjectiveBuilder) AligningObjectiveList(aligningObjectiveList []*OkrObjectiveAlignedObjective) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) Build ¶
func (builder *OkrObjectiveBuilder) Build() *OkrObjective
func (*OkrObjectiveBuilder) Content ¶
func (builder *OkrObjectiveBuilder) Content(content string) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) Deadline ¶
func (builder *OkrObjectiveBuilder) Deadline(deadline int64) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) Id ¶
func (builder *OkrObjectiveBuilder) Id(id int64) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) KrList ¶
func (builder *OkrObjectiveBuilder) KrList(krList []*OkrObjectiveKr) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) MentionedUserList ¶
func (builder *OkrObjectiveBuilder) MentionedUserList(mentionedUserList []*OkrObjectiveAlignedObjectiveOwner) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) Permission ¶
func (builder *OkrObjectiveBuilder) Permission(permission int) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) ProgressRate ¶
func (builder *OkrObjectiveBuilder) ProgressRate(progressRate *OkrObjectiveProgressRate) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) ProgressRatePercentLastUpdatedTime ¶
func (builder *OkrObjectiveBuilder) ProgressRatePercentLastUpdatedTime(progressRatePercentLastUpdatedTime int64) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) ProgressRateStatusLastUpdatedTime ¶
func (builder *OkrObjectiveBuilder) ProgressRateStatusLastUpdatedTime(progressRateStatusLastUpdatedTime int64) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) ProgressRecordLastUpdatedTime ¶
func (builder *OkrObjectiveBuilder) ProgressRecordLastUpdatedTime(progressRecordLastUpdatedTime int64) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) ProgressRecordList ¶
func (builder *OkrObjectiveBuilder) ProgressRecordList(progressRecordList []*ProgressRecordSimplify) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) ProgressReport ¶
func (builder *OkrObjectiveBuilder) ProgressReport(progressReport string) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) ProgressReportLastUpdatedTime ¶
func (builder *OkrObjectiveBuilder) ProgressReportLastUpdatedTime(progressReportLastUpdatedTime int64) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) Score ¶
func (builder *OkrObjectiveBuilder) Score(score int) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) ScoreLastUpdatedTime ¶
func (builder *OkrObjectiveBuilder) ScoreLastUpdatedTime(scoreLastUpdatedTime int64) *OkrObjectiveBuilder
func (*OkrObjectiveBuilder) Weight ¶
func (builder *OkrObjectiveBuilder) Weight(weight float64) *OkrObjectiveBuilder
type OkrObjectiveKr ¶
type OkrObjectiveKr struct { Id *int64 `json:"id,omitempty,string"` Content *string `json:"content,omitempty"` Score *int `json:"score,omitempty"` Weight *int `json:"weight,omitempty"` KrWeight *float64 `json:"kr_weight,omitempty"` ProgressRate *OkrObjectiveProgressRate `json:"progress_rate,omitempty"` ProgressRecordList []*ProgressRecordSimplify `json:"progress_record_list,omitempty"` ProgressRatePercentLastUpdatedTime *int64 `json:"progress_rate_percent_last_updated_time,omitempty,string"` ProgressRateStatusLastUpdatedTime *int64 `json:"progress_rate_status_last_updated_time,omitempty,string"` ProgressRecordLastUpdatedTime *int64 `json:"progress_record_last_updated_time,omitempty,string"` ProgressReportLastUpdatedTime *int64 `json:"progress_report_last_updated_time,omitempty,string"` ScoreLastUpdatedTime *int64 `json:"score_last_updated_time,omitempty,string"` Deadline *int64 `json:"deadline,omitempty,string"` MentionedUserList []*OkrObjectiveAlignedObjectiveOwner `json:"mentioned_user_list,omitempty"` }
type OkrObjectiveKrBuilder ¶
type OkrObjectiveKrBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrObjectiveKrBuilder ¶
func NewOkrObjectiveKrBuilder() *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) Build ¶
func (builder *OkrObjectiveKrBuilder) Build() *OkrObjectiveKr
func (*OkrObjectiveKrBuilder) Content ¶
func (builder *OkrObjectiveKrBuilder) Content(content string) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) Deadline ¶
func (builder *OkrObjectiveKrBuilder) Deadline(deadline int64) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) Id ¶
func (builder *OkrObjectiveKrBuilder) Id(id int64) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) KrWeight ¶
func (builder *OkrObjectiveKrBuilder) KrWeight(krWeight float64) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) MentionedUserList ¶
func (builder *OkrObjectiveKrBuilder) MentionedUserList(mentionedUserList []*OkrObjectiveAlignedObjectiveOwner) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) ProgressRate ¶
func (builder *OkrObjectiveKrBuilder) ProgressRate(progressRate *OkrObjectiveProgressRate) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) ProgressRatePercentLastUpdatedTime ¶
func (builder *OkrObjectiveKrBuilder) ProgressRatePercentLastUpdatedTime(progressRatePercentLastUpdatedTime int64) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) ProgressRateStatusLastUpdatedTime ¶
func (builder *OkrObjectiveKrBuilder) ProgressRateStatusLastUpdatedTime(progressRateStatusLastUpdatedTime int64) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) ProgressRecordLastUpdatedTime ¶
func (builder *OkrObjectiveKrBuilder) ProgressRecordLastUpdatedTime(progressRecordLastUpdatedTime int64) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) ProgressRecordList ¶
func (builder *OkrObjectiveKrBuilder) ProgressRecordList(progressRecordList []*ProgressRecordSimplify) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) ProgressReportLastUpdatedTime ¶
func (builder *OkrObjectiveKrBuilder) ProgressReportLastUpdatedTime(progressReportLastUpdatedTime int64) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) Score ¶
func (builder *OkrObjectiveKrBuilder) Score(score int) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) ScoreLastUpdatedTime ¶
func (builder *OkrObjectiveKrBuilder) ScoreLastUpdatedTime(scoreLastUpdatedTime int64) *OkrObjectiveKrBuilder
func (*OkrObjectiveKrBuilder) Weight ¶
func (builder *OkrObjectiveKrBuilder) Weight(weight int) *OkrObjectiveKrBuilder
type OkrObjectiveProgressRateBuilder ¶
type OkrObjectiveProgressRateBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrObjectiveProgressRateBuilder ¶
func NewOkrObjectiveProgressRateBuilder() *OkrObjectiveProgressRateBuilder
func (*OkrObjectiveProgressRateBuilder) Build ¶
func (builder *OkrObjectiveProgressRateBuilder) Build() *OkrObjectiveProgressRate
func (*OkrObjectiveProgressRateBuilder) Percent ¶
func (builder *OkrObjectiveProgressRateBuilder) Percent(percent int) *OkrObjectiveProgressRateBuilder
func (*OkrObjectiveProgressRateBuilder) Status ¶
func (builder *OkrObjectiveProgressRateBuilder) Status(status string) *OkrObjectiveProgressRateBuilder
type OkrReview ¶
type OkrReview struct { UserId *OkrObjectiveAlignedObjectiveOwner `json:"user_id,omitempty"` ReviewPeriodList []*OkrReviewPeriod `json:"review_period_list,omitempty"` }
type OkrReviewBuilder ¶
type OkrReviewBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrReviewBuilder ¶
func NewOkrReviewBuilder() *OkrReviewBuilder
func (*OkrReviewBuilder) Build ¶
func (builder *OkrReviewBuilder) Build() *OkrReview
func (*OkrReviewBuilder) ReviewPeriodList ¶
func (builder *OkrReviewBuilder) ReviewPeriodList(reviewPeriodList []*OkrReviewPeriod) *OkrReviewBuilder
func (*OkrReviewBuilder) UserId ¶
func (builder *OkrReviewBuilder) UserId(userId *OkrObjectiveAlignedObjectiveOwner) *OkrReviewBuilder
type OkrReviewPeriod ¶
type OkrReviewPeriod struct { PeriodId *int64 `json:"period_id,omitempty,string"` CycleReviewList []*OkrReviewPeriodUrl `json:"cycle_review_list,omitempty"` ProgressReportList []*OkrReviewPeriodUrl `json:"progress_report_list,omitempty"` }
type OkrReviewPeriodBuilder ¶
type OkrReviewPeriodBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrReviewPeriodBuilder ¶
func NewOkrReviewPeriodBuilder() *OkrReviewPeriodBuilder
func (*OkrReviewPeriodBuilder) Build ¶
func (builder *OkrReviewPeriodBuilder) Build() *OkrReviewPeriod
func (*OkrReviewPeriodBuilder) CycleReviewList ¶
func (builder *OkrReviewPeriodBuilder) CycleReviewList(cycleReviewList []*OkrReviewPeriodUrl) *OkrReviewPeriodBuilder
func (*OkrReviewPeriodBuilder) PeriodId ¶
func (builder *OkrReviewPeriodBuilder) PeriodId(periodId int64) *OkrReviewPeriodBuilder
func (*OkrReviewPeriodBuilder) ProgressReportList ¶
func (builder *OkrReviewPeriodBuilder) ProgressReportList(progressReportList []*OkrReviewPeriodUrl) *OkrReviewPeriodBuilder
type OkrReviewPeriodUrl ¶
type OkrReviewPeriodUrlBuilder ¶
type OkrReviewPeriodUrlBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrReviewPeriodUrlBuilder ¶
func NewOkrReviewPeriodUrlBuilder() *OkrReviewPeriodUrlBuilder
func (*OkrReviewPeriodUrlBuilder) Build ¶
func (builder *OkrReviewPeriodUrlBuilder) Build() *OkrReviewPeriodUrl
func (*OkrReviewPeriodUrlBuilder) CreateTime ¶
func (builder *OkrReviewPeriodUrlBuilder) CreateTime(createTime int64) *OkrReviewPeriodUrlBuilder
func (*OkrReviewPeriodUrlBuilder) Url ¶
func (builder *OkrReviewPeriodUrlBuilder) Url(url string) *OkrReviewPeriodUrlBuilder
type OkrService ¶
type OkrService struct { Image *image Okr *okr Period *period ProgressRecord *progressRecord UserOkr *userOkr // contains filtered or unexported fields }
业务域服务定义
type OkrSimpleBuilder ¶
type OkrSimpleBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewOkrSimpleBuilder ¶
func NewOkrSimpleBuilder() *OkrSimpleBuilder
func (*OkrSimpleBuilder) Build ¶
func (builder *OkrSimpleBuilder) Build() *OkrSimple
func (*OkrSimpleBuilder) Name ¶
func (builder *OkrSimpleBuilder) Name(name *OkrName) *OkrSimpleBuilder
func (*OkrSimpleBuilder) OkrId ¶
func (builder *OkrSimpleBuilder) OkrId(okrId string) *OkrSimpleBuilder
func (*OkrSimpleBuilder) PeriodId ¶
func (builder *OkrSimpleBuilder) PeriodId(periodId string) *OkrSimpleBuilder
func (*OkrSimpleBuilder) PeriodType ¶
func (builder *OkrSimpleBuilder) PeriodType(periodType string) *OkrSimpleBuilder
type PeriodBuilder ¶
type PeriodBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewPeriodBuilder ¶
func NewPeriodBuilder() *PeriodBuilder
func (*PeriodBuilder) Build ¶
func (builder *PeriodBuilder) Build() *Period
func (*PeriodBuilder) EnName ¶
func (builder *PeriodBuilder) EnName(enName string) *PeriodBuilder
func (*PeriodBuilder) Id ¶
func (builder *PeriodBuilder) Id(id int64) *PeriodBuilder
func (*PeriodBuilder) Status ¶
func (builder *PeriodBuilder) Status(status int) *PeriodBuilder
func (*PeriodBuilder) ZhName ¶
func (builder *PeriodBuilder) ZhName(zhName string) *PeriodBuilder
type ProgressItem ¶
type ProgressItemBuilder ¶
type ProgressItemBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewProgressItemBuilder ¶
func NewProgressItemBuilder() *ProgressItemBuilder
func (*ProgressItemBuilder) Build ¶
func (builder *ProgressItemBuilder) Build() *ProgressItem
func (*ProgressItemBuilder) Content ¶
func (builder *ProgressItemBuilder) Content(content string) *ProgressItemBuilder
func (*ProgressItemBuilder) MentionList ¶
func (builder *ProgressItemBuilder) MentionList(mentionList []string) *ProgressItemBuilder
func (*ProgressItemBuilder) Timestamp ¶
func (builder *ProgressItemBuilder) Timestamp(timestamp int) *ProgressItemBuilder
type ProgressRate ¶
type ProgressRateBuilder ¶
type ProgressRateBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewProgressRateBuilder ¶
func NewProgressRateBuilder() *ProgressRateBuilder
func (*ProgressRateBuilder) Build ¶
func (builder *ProgressRateBuilder) Build() *ProgressRate
func (*ProgressRateBuilder) Percent ¶
func (builder *ProgressRateBuilder) Percent(percent int) *ProgressRateBuilder
func (*ProgressRateBuilder) Status ¶
func (builder *ProgressRateBuilder) Status(status int) *ProgressRateBuilder
type ProgressRecord ¶
type ProgressRecord struct { ProgressId *int64 `json:"progress_id,omitempty,string"` ModifyTime *int64 `json:"modify_time,omitempty,string"` Content *ContentBlock `json:"content,omitempty"` }
type ProgressRecordBuilder ¶
type ProgressRecordBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewProgressRecordBuilder ¶
func NewProgressRecordBuilder() *ProgressRecordBuilder
func (*ProgressRecordBuilder) Build ¶
func (builder *ProgressRecordBuilder) Build() *ProgressRecord
func (*ProgressRecordBuilder) Content ¶
func (builder *ProgressRecordBuilder) Content(content *ContentBlock) *ProgressRecordBuilder
func (*ProgressRecordBuilder) ModifyTime ¶
func (builder *ProgressRecordBuilder) ModifyTime(modifyTime int64) *ProgressRecordBuilder
func (*ProgressRecordBuilder) ProgressId ¶
func (builder *ProgressRecordBuilder) ProgressId(progressId int64) *ProgressRecordBuilder
type ProgressRecordSimplify ¶
type ProgressRecordSimplify struct {
Id *int64 `json:"id,omitempty,string"`
}
type ProgressRecordSimplifyBuilder ¶
type ProgressRecordSimplifyBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewProgressRecordSimplifyBuilder ¶
func NewProgressRecordSimplifyBuilder() *ProgressRecordSimplifyBuilder
func (*ProgressRecordSimplifyBuilder) Build ¶
func (builder *ProgressRecordSimplifyBuilder) Build() *ProgressRecordSimplify
func (*ProgressRecordSimplifyBuilder) Id ¶
func (builder *ProgressRecordSimplifyBuilder) Id(id int64) *ProgressRecordSimplifyBuilder
type UpdateProgressRecordPathReqBodyBuilder ¶
type UpdateProgressRecordPathReqBodyBuilder struct {
// contains filtered or unexported fields
}
上传文件path开始
func NewUpdateProgressRecordPathReqBodyBuilder ¶
func NewUpdateProgressRecordPathReqBodyBuilder() *UpdateProgressRecordPathReqBodyBuilder
func (*UpdateProgressRecordPathReqBodyBuilder) Build ¶
func (builder *UpdateProgressRecordPathReqBodyBuilder) Build() (*UpdateProgressRecordReqBody, error)
func (*UpdateProgressRecordPathReqBodyBuilder) Content ¶
func (builder *UpdateProgressRecordPathReqBodyBuilder) Content(content *ContentBlock) *UpdateProgressRecordPathReqBodyBuilder
type UpdateProgressRecordReq ¶
type UpdateProgressRecordReq struct { Body *UpdateProgressRecordReqBody `body:""` // contains filtered or unexported fields }
type UpdateProgressRecordReqBody ¶
type UpdateProgressRecordReqBody struct {
Content *ContentBlock `json:"content,omitempty"`
}
type UpdateProgressRecordReqBodyBuilder ¶
type UpdateProgressRecordReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateProgressRecordReqBodyBuilder ¶
func NewUpdateProgressRecordReqBodyBuilder() *UpdateProgressRecordReqBodyBuilder
生成body的New构造器
func (*UpdateProgressRecordReqBodyBuilder) Build ¶
func (builder *UpdateProgressRecordReqBodyBuilder) Build() *UpdateProgressRecordReqBody
1.3 生成body的build方法
func (*UpdateProgressRecordReqBodyBuilder) Content ¶
func (builder *UpdateProgressRecordReqBodyBuilder) Content(content *ContentBlock) *UpdateProgressRecordReqBodyBuilder
1.2 生成body的builder属性方法
type UpdateProgressRecordReqBuilder ¶
type UpdateProgressRecordReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func NewUpdateProgressRecordReqBuilder ¶
func NewUpdateProgressRecordReqBuilder() *UpdateProgressRecordReqBuilder
生成请求的New构造器
func (*UpdateProgressRecordReqBuilder) Body ¶
func (builder *UpdateProgressRecordReqBuilder) Body(body *UpdateProgressRecordReqBody) *UpdateProgressRecordReqBuilder
func (*UpdateProgressRecordReqBuilder) Build ¶
func (builder *UpdateProgressRecordReqBuilder) Build() *UpdateProgressRecordReq
1.5 生成请求的builder的build方法
func (*UpdateProgressRecordReqBuilder) ProgressId ¶
func (builder *UpdateProgressRecordReqBuilder) ProgressId(progressId int64) *UpdateProgressRecordReqBuilder
1.5 生成请求的builder属性方法
type UpdateProgressRecordResp ¶
type UpdateProgressRecordResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UpdateProgressRecordRespData `json:"data"` }
func (*UpdateProgressRecordResp) Success ¶
func (resp *UpdateProgressRecordResp) Success() bool
type UpdateProgressRecordRespData ¶
type UpdateProgressRecordRespData struct {
Data *ProgressRecord `json:"data,omitempty"`
}
type UploadImagePathReqBodyBuilder ¶
type UploadImagePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
上传文件path开始
func NewUploadImagePathReqBodyBuilder ¶
func NewUploadImagePathReqBodyBuilder() *UploadImagePathReqBodyBuilder
func (*UploadImagePathReqBodyBuilder) Build ¶
func (builder *UploadImagePathReqBodyBuilder) Build() (*UploadImageReqBody, error)
func (*UploadImagePathReqBodyBuilder) DataPath ¶
func (builder *UploadImagePathReqBodyBuilder) DataPath(dataPath string) *UploadImagePathReqBodyBuilder
func (*UploadImagePathReqBodyBuilder) TargetId ¶
func (builder *UploadImagePathReqBodyBuilder) TargetId(targetId int64) *UploadImagePathReqBodyBuilder
func (*UploadImagePathReqBodyBuilder) TargetType ¶
func (builder *UploadImagePathReqBodyBuilder) TargetType(targetType int) *UploadImagePathReqBodyBuilder
type UploadImageReq ¶
type UploadImageReq struct { Body *UploadImageReqBody `body:""` // contains filtered or unexported fields }
type UploadImageReqBody ¶
type UploadImageReqBodyBuilder ¶
type UploadImageReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewUploadImageReqBodyBuilder ¶
func NewUploadImageReqBodyBuilder() *UploadImageReqBodyBuilder
生成body的New构造器
func (*UploadImageReqBodyBuilder) Build ¶
func (builder *UploadImageReqBodyBuilder) Build() *UploadImageReqBody
1.3 生成body的build方法
func (*UploadImageReqBodyBuilder) Data ¶
func (builder *UploadImageReqBodyBuilder) Data(data io.Reader) *UploadImageReqBodyBuilder
1.2 生成body的builder属性方法
func (*UploadImageReqBodyBuilder) TargetId ¶
func (builder *UploadImageReqBodyBuilder) TargetId(targetId int64) *UploadImageReqBodyBuilder
func (*UploadImageReqBodyBuilder) TargetType ¶
func (builder *UploadImageReqBodyBuilder) TargetType(targetType int) *UploadImageReqBodyBuilder
type UploadImageReqBuilder ¶
type UploadImageReqBuilder struct {
// contains filtered or unexported fields
}
1.4 生成请求的builder结构体
func (*UploadImageReqBuilder) Body ¶
func (builder *UploadImageReqBuilder) Body(body *UploadImageReqBody) *UploadImageReqBuilder
1.5 生成请求的builder属性方法
func (*UploadImageReqBuilder) Build ¶
func (builder *UploadImageReqBuilder) Build() *UploadImageReq
1.5 生成请求的builder的build方法
type UploadImageResp ¶
type UploadImageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UploadImageRespData `json:"data"` }
func (*UploadImageResp) Success ¶
func (resp *UploadImageResp) Success() bool
type UploadImageRespData ¶
type UploadImageRespData struct {
Data *ImageInfo `json:"data,omitempty"`
}
type UpsertObjective ¶
type UpsertObjective struct { Content *string `json:"content,omitempty"` MentionList []string `json:"mention_list,omitempty"` KrList []*UpsertObjectiveKr `json:"kr_list,omitempty"` ProgressRate *ProgressRate `json:"progress_rate,omitempty"` ProgressList []*ProgressItem `json:"progress_list,omitempty"` Weight *float64 `json:"weight,omitempty"` }
type UpsertObjectiveBuilder ¶
type UpsertObjectiveBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUpsertObjectiveBuilder ¶
func NewUpsertObjectiveBuilder() *UpsertObjectiveBuilder
func (*UpsertObjectiveBuilder) Build ¶
func (builder *UpsertObjectiveBuilder) Build() *UpsertObjective
func (*UpsertObjectiveBuilder) Content ¶
func (builder *UpsertObjectiveBuilder) Content(content string) *UpsertObjectiveBuilder
func (*UpsertObjectiveBuilder) KrList ¶
func (builder *UpsertObjectiveBuilder) KrList(krList []*UpsertObjectiveKr) *UpsertObjectiveBuilder
func (*UpsertObjectiveBuilder) MentionList ¶
func (builder *UpsertObjectiveBuilder) MentionList(mentionList []string) *UpsertObjectiveBuilder
func (*UpsertObjectiveBuilder) ProgressList ¶
func (builder *UpsertObjectiveBuilder) ProgressList(progressList []*ProgressItem) *UpsertObjectiveBuilder
func (*UpsertObjectiveBuilder) ProgressRate ¶
func (builder *UpsertObjectiveBuilder) ProgressRate(progressRate *ProgressRate) *UpsertObjectiveBuilder
func (*UpsertObjectiveBuilder) Weight ¶
func (builder *UpsertObjectiveBuilder) Weight(weight float64) *UpsertObjectiveBuilder
type UpsertObjectiveKr ¶
type UpsertObjectiveKr struct { Content *string `json:"content,omitempty"` MentionList []string `json:"mention_list,omitempty"` Score *int `json:"score,omitempty"` ProgressRate *ProgressRate `json:"progress_rate,omitempty"` ProgressList []*ProgressItem `json:"progress_list,omitempty"` Weight *float64 `json:"weight,omitempty"` }
type UpsertObjectiveKrBuilder ¶
type UpsertObjectiveKrBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUpsertObjectiveKrBuilder ¶
func NewUpsertObjectiveKrBuilder() *UpsertObjectiveKrBuilder
func (*UpsertObjectiveKrBuilder) Build ¶
func (builder *UpsertObjectiveKrBuilder) Build() *UpsertObjectiveKr
func (*UpsertObjectiveKrBuilder) Content ¶
func (builder *UpsertObjectiveKrBuilder) Content(content string) *UpsertObjectiveKrBuilder
func (*UpsertObjectiveKrBuilder) MentionList ¶
func (builder *UpsertObjectiveKrBuilder) MentionList(mentionList []string) *UpsertObjectiveKrBuilder
func (*UpsertObjectiveKrBuilder) ProgressList ¶
func (builder *UpsertObjectiveKrBuilder) ProgressList(progressList []*ProgressItem) *UpsertObjectiveKrBuilder
func (*UpsertObjectiveKrBuilder) ProgressRate ¶
func (builder *UpsertObjectiveKrBuilder) ProgressRate(progressRate *ProgressRate) *UpsertObjectiveKrBuilder
func (*UpsertObjectiveKrBuilder) Score ¶
func (builder *UpsertObjectiveKrBuilder) Score(score int) *UpsertObjectiveKrBuilder
func (*UpsertObjectiveKrBuilder) Weight ¶
func (builder *UpsertObjectiveKrBuilder) Weight(weight float64) *UpsertObjectiveKrBuilder
type UserBuilder ¶
type UserBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUserBuilder ¶
func NewUserBuilder() *UserBuilder
func (*UserBuilder) Build ¶
func (builder *UserBuilder) Build() *User
func (*UserBuilder) Id ¶
func (builder *UserBuilder) Id(id string) *UserBuilder
type UserOkr ¶
type UserOkr struct { Id *int64 `json:"id,omitempty,string"` Name *string `json:"name,omitempty"` Permission *int `json:"permission,omitempty"` ObjectiveList []*UserOkrObjective `json:"objective_list,omitempty"` }
type UserOkrBuilder ¶
type UserOkrBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUserOkrBuilder ¶
func NewUserOkrBuilder() *UserOkrBuilder
func (*UserOkrBuilder) Build ¶
func (builder *UserOkrBuilder) Build() *UserOkr
func (*UserOkrBuilder) Id ¶
func (builder *UserOkrBuilder) Id(id int64) *UserOkrBuilder
func (*UserOkrBuilder) Name ¶
func (builder *UserOkrBuilder) Name(name string) *UserOkrBuilder
func (*UserOkrBuilder) ObjectiveList ¶
func (builder *UserOkrBuilder) ObjectiveList(objectiveList []*UserOkrObjective) *UserOkrBuilder
func (*UserOkrBuilder) Permission ¶
func (builder *UserOkrBuilder) Permission(permission int) *UserOkrBuilder
type UserOkrObjective ¶
type UserOkrObjective struct { Id *string `json:"id,omitempty"` Permission *int `json:"permission,omitempty"` Content *string `json:"content,omitempty"` ProgressReport *string `json:"progress_report,omitempty"` Score *string `json:"score,omitempty"` ProgressRate *UserOkrObjectiveProgressRate `json:"progress_rate,omitempty"` KrList []*UserOkrObjectiveKr `json:"kr_list,omitempty"` AlignedObjectiveList []*UserOkrObjectiveAlignedObjective `json:"aligned_objective_list,omitempty"` AligningObjectiveList []*UserOkrObjectiveAlignedObjective `json:"aligning_objective_list,omitempty"` }
type UserOkrObjectiveAlignedObjective ¶
type UserOkrObjectiveAlignedObjective struct { Id *string `json:"id,omitempty"` OkrId *string `json:"okr_id,omitempty"` Owner *UserOkrObjectiveAlignedObjectiveOwner `json:"owner,omitempty"` }
type UserOkrObjectiveAlignedObjectiveBuilder ¶
type UserOkrObjectiveAlignedObjectiveBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUserOkrObjectiveAlignedObjectiveBuilder ¶
func NewUserOkrObjectiveAlignedObjectiveBuilder() *UserOkrObjectiveAlignedObjectiveBuilder
func (*UserOkrObjectiveAlignedObjectiveBuilder) Build ¶
func (builder *UserOkrObjectiveAlignedObjectiveBuilder) Build() *UserOkrObjectiveAlignedObjective
func (*UserOkrObjectiveAlignedObjectiveBuilder) Id ¶
func (builder *UserOkrObjectiveAlignedObjectiveBuilder) Id(id string) *UserOkrObjectiveAlignedObjectiveBuilder
func (*UserOkrObjectiveAlignedObjectiveBuilder) OkrId ¶
func (builder *UserOkrObjectiveAlignedObjectiveBuilder) OkrId(okrId string) *UserOkrObjectiveAlignedObjectiveBuilder
func (*UserOkrObjectiveAlignedObjectiveBuilder) Owner ¶
func (builder *UserOkrObjectiveAlignedObjectiveBuilder) Owner(owner *UserOkrObjectiveAlignedObjectiveOwner) *UserOkrObjectiveAlignedObjectiveBuilder
type UserOkrObjectiveAlignedObjectiveOwnerBuilder ¶
type UserOkrObjectiveAlignedObjectiveOwnerBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUserOkrObjectiveAlignedObjectiveOwnerBuilder ¶
func NewUserOkrObjectiveAlignedObjectiveOwnerBuilder() *UserOkrObjectiveAlignedObjectiveOwnerBuilder
func (*UserOkrObjectiveAlignedObjectiveOwnerBuilder) Build ¶
func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) Build() *UserOkrObjectiveAlignedObjectiveOwner
func (*UserOkrObjectiveAlignedObjectiveOwnerBuilder) EmployeeId ¶
func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) EmployeeId(employeeId string) *UserOkrObjectiveAlignedObjectiveOwnerBuilder
func (*UserOkrObjectiveAlignedObjectiveOwnerBuilder) EmployeeNo ¶
func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) EmployeeNo(employeeNo string) *UserOkrObjectiveAlignedObjectiveOwnerBuilder
func (*UserOkrObjectiveAlignedObjectiveOwnerBuilder) Name ¶
func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) Name(name string) *UserOkrObjectiveAlignedObjectiveOwnerBuilder
func (*UserOkrObjectiveAlignedObjectiveOwnerBuilder) OpenId ¶
func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) OpenId(openId string) *UserOkrObjectiveAlignedObjectiveOwnerBuilder
func (*UserOkrObjectiveAlignedObjectiveOwnerBuilder) UnionId ¶
func (builder *UserOkrObjectiveAlignedObjectiveOwnerBuilder) UnionId(unionId string) *UserOkrObjectiveAlignedObjectiveOwnerBuilder
type UserOkrObjectiveBuilder ¶
type UserOkrObjectiveBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUserOkrObjectiveBuilder ¶
func NewUserOkrObjectiveBuilder() *UserOkrObjectiveBuilder
func (*UserOkrObjectiveBuilder) AlignedObjectiveList ¶
func (builder *UserOkrObjectiveBuilder) AlignedObjectiveList(alignedObjectiveList []*UserOkrObjectiveAlignedObjective) *UserOkrObjectiveBuilder
func (*UserOkrObjectiveBuilder) AligningObjectiveList ¶
func (builder *UserOkrObjectiveBuilder) AligningObjectiveList(aligningObjectiveList []*UserOkrObjectiveAlignedObjective) *UserOkrObjectiveBuilder
func (*UserOkrObjectiveBuilder) Build ¶
func (builder *UserOkrObjectiveBuilder) Build() *UserOkrObjective
func (*UserOkrObjectiveBuilder) Content ¶
func (builder *UserOkrObjectiveBuilder) Content(content string) *UserOkrObjectiveBuilder
func (*UserOkrObjectiveBuilder) Id ¶
func (builder *UserOkrObjectiveBuilder) Id(id string) *UserOkrObjectiveBuilder
func (*UserOkrObjectiveBuilder) KrList ¶
func (builder *UserOkrObjectiveBuilder) KrList(krList []*UserOkrObjectiveKr) *UserOkrObjectiveBuilder
func (*UserOkrObjectiveBuilder) Permission ¶
func (builder *UserOkrObjectiveBuilder) Permission(permission int) *UserOkrObjectiveBuilder
func (*UserOkrObjectiveBuilder) ProgressRate ¶
func (builder *UserOkrObjectiveBuilder) ProgressRate(progressRate *UserOkrObjectiveProgressRate) *UserOkrObjectiveBuilder
func (*UserOkrObjectiveBuilder) ProgressReport ¶
func (builder *UserOkrObjectiveBuilder) ProgressReport(progressReport string) *UserOkrObjectiveBuilder
func (*UserOkrObjectiveBuilder) Score ¶
func (builder *UserOkrObjectiveBuilder) Score(score string) *UserOkrObjectiveBuilder
type UserOkrObjectiveKr ¶
type UserOkrObjectiveKr struct { Id *string `json:"id,omitempty"` Content *string `json:"content,omitempty"` Score *int `json:"score,omitempty"` Weight *int `json:"weight,omitempty"` ProgressRate *UserOkrObjectiveProgressRate `json:"progress_rate,omitempty"` }
type UserOkrObjectiveKrBuilder ¶
type UserOkrObjectiveKrBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUserOkrObjectiveKrBuilder ¶
func NewUserOkrObjectiveKrBuilder() *UserOkrObjectiveKrBuilder
func (*UserOkrObjectiveKrBuilder) Build ¶
func (builder *UserOkrObjectiveKrBuilder) Build() *UserOkrObjectiveKr
func (*UserOkrObjectiveKrBuilder) Content ¶
func (builder *UserOkrObjectiveKrBuilder) Content(content string) *UserOkrObjectiveKrBuilder
func (*UserOkrObjectiveKrBuilder) Id ¶
func (builder *UserOkrObjectiveKrBuilder) Id(id string) *UserOkrObjectiveKrBuilder
func (*UserOkrObjectiveKrBuilder) ProgressRate ¶
func (builder *UserOkrObjectiveKrBuilder) ProgressRate(progressRate *UserOkrObjectiveProgressRate) *UserOkrObjectiveKrBuilder
func (*UserOkrObjectiveKrBuilder) Score ¶
func (builder *UserOkrObjectiveKrBuilder) Score(score int) *UserOkrObjectiveKrBuilder
func (*UserOkrObjectiveKrBuilder) Weight ¶
func (builder *UserOkrObjectiveKrBuilder) Weight(weight int) *UserOkrObjectiveKrBuilder
type UserOkrObjectiveProgressRateBuilder ¶
type UserOkrObjectiveProgressRateBuilder struct {
// contains filtered or unexported fields
}
builder开始
func NewUserOkrObjectiveProgressRateBuilder ¶
func NewUserOkrObjectiveProgressRateBuilder() *UserOkrObjectiveProgressRateBuilder
func (*UserOkrObjectiveProgressRateBuilder) Build ¶
func (builder *UserOkrObjectiveProgressRateBuilder) Build() *UserOkrObjectiveProgressRate
func (*UserOkrObjectiveProgressRateBuilder) Percent ¶
func (builder *UserOkrObjectiveProgressRateBuilder) Percent(percent int) *UserOkrObjectiveProgressRateBuilder
func (*UserOkrObjectiveProgressRateBuilder) Status ¶
func (builder *UserOkrObjectiveProgressRateBuilder) Status(status string) *UserOkrObjectiveProgressRateBuilder