Documentation ¶
Index ¶
- Constants
- type AddSheet
- type AddSheetBuilder
- type AlignmentStyle
- type AlignmentStyleBuilder
- type AppendDimension
- type AppendDimensionBuilder
- func (builder *AppendDimensionBuilder) Build() *AppendDimension
- func (builder *AppendDimensionBuilder) InheritFromBefore(inheritFromBefore bool) *AppendDimensionBuilder
- func (builder *AppendDimensionBuilder) Length(length int) *AppendDimensionBuilder
- func (builder *AppendDimensionBuilder) MajorDimension(majorDimension string) *AppendDimensionBuilder
- type BitableProperties
- type BitablePropertiesBuilder
- type BoolRuleValue
- type BoolRuleValueBuilder
- func (builder *BoolRuleValueBuilder) Build() *BoolRuleValue
- func (builder *BoolRuleValueBuilder) Number(number string) *BoolRuleValueBuilder
- func (builder *BoolRuleValueBuilder) Text(text string) *BoolRuleValueBuilder
- func (builder *BoolRuleValueBuilder) TimePeriod(timePeriod string) *BoolRuleValueBuilder
- func (builder *BoolRuleValueBuilder) Type(type_ string) *BoolRuleValueBuilder
- type BooleanRuleCondition
- type BooleanRuleConditionBuilder
- func (builder *BooleanRuleConditionBuilder) BooleanConditionalValues(booleanConditionalValues []*BoolRuleValue) *BooleanRuleConditionBuilder
- func (builder *BooleanRuleConditionBuilder) Build() *BooleanRuleCondition
- func (builder *BooleanRuleConditionBuilder) Type(type_ string) *BooleanRuleConditionBuilder
- type BorderStyle
- type BorderStyleBuilder
- func (builder *BorderStyleBuilder) Bottom(bottom *BottomBorderStyle) *BorderStyleBuilder
- func (builder *BorderStyleBuilder) Build() *BorderStyle
- func (builder *BorderStyleBuilder) Left(left *LeftBorderStyle) *BorderStyleBuilder
- func (builder *BorderStyleBuilder) Right(right *RightBorderStyle) *BorderStyleBuilder
- func (builder *BorderStyleBuilder) Top(top *TopBorderStyle) *BorderStyleBuilder
- type BottomBorderStyle
- type BottomBorderStyleBuilder
- type CellFontStyle
- type CellFontStyleBuilder
- func (builder *CellFontStyleBuilder) BackgroundColor(backgroundColor string) *CellFontStyleBuilder
- func (builder *CellFontStyleBuilder) Bold(bold bool) *CellFontStyleBuilder
- func (builder *CellFontStyleBuilder) Build() *CellFontStyle
- func (builder *CellFontStyleBuilder) ForegroundColor(foregroundColor string) *CellFontStyleBuilder
- func (builder *CellFontStyleBuilder) Italic(italic bool) *CellFontStyleBuilder
- func (builder *CellFontStyleBuilder) Strikethrough(strikethrough bool) *CellFontStyleBuilder
- func (builder *CellFontStyleBuilder) Underline(underline bool) *CellFontStyleBuilder
- type CellStyle
- type CellStyleBuilder
- func (builder *CellStyleBuilder) AlignmentStyle(alignmentStyle *AlignmentStyle) *CellStyleBuilder
- func (builder *CellStyleBuilder) BorderStyle(borderStyle *BorderStyle) *CellStyleBuilder
- func (builder *CellStyleBuilder) Build() *CellStyle
- func (builder *CellStyleBuilder) FontStyle(fontStyle *CellFontStyle) *CellStyleBuilder
- func (builder *CellStyleBuilder) Format(format string) *CellStyleBuilder
- func (builder *CellStyleBuilder) WrapStrategy(wrapStrategy string) *CellStyleBuilder
- type CellValue
- type CellValueBuilder
- func (builder *CellValueBuilder) Build() *CellValue
- func (builder *CellValueBuilder) DateTime(dateTime *DateTime) *CellValueBuilder
- func (builder *CellValueBuilder) File(file *File) *CellValueBuilder
- func (builder *CellValueBuilder) Formula(formula *Formula) *CellValueBuilder
- func (builder *CellValueBuilder) Image(image *Image) *CellValueBuilder
- func (builder *CellValueBuilder) Link(link *Link) *CellValueBuilder
- func (builder *CellValueBuilder) MentionDocument(mentionDocument *MentionDocument) *CellValueBuilder
- func (builder *CellValueBuilder) MentionUser(mentionUser *MentionUser) *CellValueBuilder
- func (builder *CellValueBuilder) Reminder(reminder *Reminder) *CellValueBuilder
- func (builder *CellValueBuilder) Text(text *Text) *CellValueBuilder
- func (builder *CellValueBuilder) Type(type_ string) *CellValueBuilder
- func (builder *CellValueBuilder) Value(value *ValueElement) *CellValueBuilder
- type Checkbox
- type CheckboxBuilder
- type ClearDataValidation
- type ClearDataValidationBuilder
- type ClearStyleMultiRange
- type ClearStyleMultiRangeBuilder
- type ClearStyleRanges
- type ClearStyleRangesBuilder
- type Condition
- type ConditionBuilder
- type ConditionalFormat
- type ConditionalFormatBuilder
- func (builder *ConditionalFormatBuilder) Build() *ConditionalFormat
- func (builder *ConditionalFormatBuilder) ConditionalFormatId(conditionalFormatId string) *ConditionalFormatBuilder
- func (builder *ConditionalFormatBuilder) ConditionalFormatRule(conditionalFormatRule *ConditionalFormatRule) *ConditionalFormatBuilder
- func (builder *ConditionalFormatBuilder) Index(index int) *ConditionalFormatBuilder
- func (builder *ConditionalFormatBuilder) Ranges(ranges *ConditionalFormatRange) *ConditionalFormatBuilder
- type ConditionalFormatRange
- type ConditionalFormatRangeBuilder
- func (builder *ConditionalFormatRangeBuilder) Build() *ConditionalFormatRange
- func (builder *ConditionalFormatRangeBuilder) EndColumnIndex(endColumnIndex int) *ConditionalFormatRangeBuilder
- func (builder *ConditionalFormatRangeBuilder) EndRowIndex(endRowIndex int) *ConditionalFormatRangeBuilder
- func (builder *ConditionalFormatRangeBuilder) SheetId(sheetId string) *ConditionalFormatRangeBuilder
- func (builder *ConditionalFormatRangeBuilder) StartColumnIndex(startColumnIndex int) *ConditionalFormatRangeBuilder
- func (builder *ConditionalFormatRangeBuilder) StartRowIndex(startRowIndex int) *ConditionalFormatRangeBuilder
- type ConditionalFormatRule
- type ConditionalFormatRuleBuilder
- type ConditionalFormatStyle
- type ConditionalFormatStyleBuilder
- func (builder *ConditionalFormatStyleBuilder) BackgroundColor(backgroundColor string) *ConditionalFormatStyleBuilder
- func (builder *ConditionalFormatStyleBuilder) Bold(bold bool) *ConditionalFormatStyleBuilder
- func (builder *ConditionalFormatStyleBuilder) Build() *ConditionalFormatStyle
- func (builder *ConditionalFormatStyleBuilder) ForegroundColor(foregroundColor string) *ConditionalFormatStyleBuilder
- func (builder *ConditionalFormatStyleBuilder) Italic(italic bool) *ConditionalFormatStyleBuilder
- func (builder *ConditionalFormatStyleBuilder) Strikethrough(strikethrough bool) *ConditionalFormatStyleBuilder
- func (builder *ConditionalFormatStyleBuilder) Underline(underline bool) *ConditionalFormatStyleBuilder
- type CreateDataValidation
- type CreateDataValidationBuilder
- type CreateSheetFilter
- type CreateSheetFilterBuilder
- func (builder *CreateSheetFilterBuilder) Build() *CreateSheetFilter
- func (builder *CreateSheetFilterBuilder) Col(col string) *CreateSheetFilterBuilder
- func (builder *CreateSheetFilterBuilder) Condition(condition *Condition) *CreateSheetFilterBuilder
- func (builder *CreateSheetFilterBuilder) Range(range_ string) *CreateSheetFilterBuilder
- type CreateSpreadsheetReq
- type CreateSpreadsheetReqBuilder
- type CreateSpreadsheetResp
- type CreateSpreadsheetRespData
- type CreateSpreadsheetSheetFilterReq
- type CreateSpreadsheetSheetFilterReqBuilder
- func (builder *CreateSpreadsheetSheetFilterReqBuilder) Build() *CreateSpreadsheetSheetFilterReq
- func (builder *CreateSpreadsheetSheetFilterReqBuilder) CreateSheetFilter(createSheetFilter *CreateSheetFilter) *CreateSpreadsheetSheetFilterReqBuilder
- func (builder *CreateSpreadsheetSheetFilterReqBuilder) SheetId(sheetId string) *CreateSpreadsheetSheetFilterReqBuilder
- func (builder *CreateSpreadsheetSheetFilterReqBuilder) SpreadsheetToken(spreadsheetToken string) *CreateSpreadsheetSheetFilterReqBuilder
- type CreateSpreadsheetSheetFilterResp
- type CreateSpreadsheetSheetFilterViewConditionReq
- type CreateSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *CreateSpreadsheetSheetFilterViewConditionReqBuilder) Build() *CreateSpreadsheetSheetFilterViewConditionReq
- func (builder *CreateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewCondition(filterViewCondition *FilterViewCondition) *CreateSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *CreateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId(filterViewId string) *CreateSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *CreateSpreadsheetSheetFilterViewConditionReqBuilder) SheetId(sheetId string) *CreateSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *CreateSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken(spreadsheetToken string) *CreateSpreadsheetSheetFilterViewConditionReqBuilder
- type CreateSpreadsheetSheetFilterViewConditionResp
- type CreateSpreadsheetSheetFilterViewConditionRespData
- type CreateSpreadsheetSheetFilterViewReq
- type CreateSpreadsheetSheetFilterViewReqBuilder
- func (builder *CreateSpreadsheetSheetFilterViewReqBuilder) Build() *CreateSpreadsheetSheetFilterViewReq
- func (builder *CreateSpreadsheetSheetFilterViewReqBuilder) FilterView(filterView *FilterView) *CreateSpreadsheetSheetFilterViewReqBuilder
- func (builder *CreateSpreadsheetSheetFilterViewReqBuilder) SheetId(sheetId string) *CreateSpreadsheetSheetFilterViewReqBuilder
- func (builder *CreateSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken(spreadsheetToken string) *CreateSpreadsheetSheetFilterViewReqBuilder
- type CreateSpreadsheetSheetFilterViewResp
- type CreateSpreadsheetSheetFilterViewRespData
- type CreateSpreadsheetSheetFloatImageReq
- type CreateSpreadsheetSheetFloatImageReqBuilder
- func (builder *CreateSpreadsheetSheetFloatImageReqBuilder) Build() *CreateSpreadsheetSheetFloatImageReq
- func (builder *CreateSpreadsheetSheetFloatImageReqBuilder) FloatImage(floatImage *FloatImage) *CreateSpreadsheetSheetFloatImageReqBuilder
- func (builder *CreateSpreadsheetSheetFloatImageReqBuilder) SheetId(sheetId string) *CreateSpreadsheetSheetFloatImageReqBuilder
- func (builder *CreateSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken(spreadsheetToken string) *CreateSpreadsheetSheetFloatImageReqBuilder
- type CreateSpreadsheetSheetFloatImageResp
- type CreateSpreadsheetSheetFloatImageRespData
- type DataValidation
- type DataValidationBuilder
- func (builder *DataValidationBuilder) Build() *DataValidation
- func (builder *DataValidationBuilder) DataValidationId(dataValidationId int) *DataValidationBuilder
- func (builder *DataValidationBuilder) DataValidationRule(dataValidationRule *DataValidationRule) *DataValidationBuilder
- func (builder *DataValidationBuilder) HelpText(helpText string) *DataValidationBuilder
- func (builder *DataValidationBuilder) Strict(strict string) *DataValidationBuilder
- type DataValidationRule
- type DataValidationRuleBuilder
- func (builder *DataValidationRuleBuilder) Build() *DataValidationRule
- func (builder *DataValidationRuleBuilder) MultipleOption(multipleOption *MultipleOption) *DataValidationRuleBuilder
- func (builder *DataValidationRuleBuilder) SingleOption(singleOption *SingleOption) *DataValidationRuleBuilder
- func (builder *DataValidationRuleBuilder) Type(type_ string) *DataValidationRuleBuilder
- type DataValidationValue
- type DataValidationValueBuilder
- type DateTime
- type DateTimeBuilder
- type DeleteSpreadsheetSheetFilterReq
- type DeleteSpreadsheetSheetFilterReqBuilder
- func (builder *DeleteSpreadsheetSheetFilterReqBuilder) Build() *DeleteSpreadsheetSheetFilterReq
- func (builder *DeleteSpreadsheetSheetFilterReqBuilder) SheetId(sheetId string) *DeleteSpreadsheetSheetFilterReqBuilder
- func (builder *DeleteSpreadsheetSheetFilterReqBuilder) SpreadsheetToken(spreadsheetToken string) *DeleteSpreadsheetSheetFilterReqBuilder
- type DeleteSpreadsheetSheetFilterResp
- type DeleteSpreadsheetSheetFilterViewConditionReq
- type DeleteSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *DeleteSpreadsheetSheetFilterViewConditionReqBuilder) Build() *DeleteSpreadsheetSheetFilterViewConditionReq
- func (builder *DeleteSpreadsheetSheetFilterViewConditionReqBuilder) ConditionId(conditionId string) *DeleteSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *DeleteSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId(filterViewId string) *DeleteSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *DeleteSpreadsheetSheetFilterViewConditionReqBuilder) SheetId(sheetId string) *DeleteSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *DeleteSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken(spreadsheetToken string) *DeleteSpreadsheetSheetFilterViewConditionReqBuilder
- type DeleteSpreadsheetSheetFilterViewConditionResp
- type DeleteSpreadsheetSheetFilterViewReq
- type DeleteSpreadsheetSheetFilterViewReqBuilder
- func (builder *DeleteSpreadsheetSheetFilterViewReqBuilder) Build() *DeleteSpreadsheetSheetFilterViewReq
- func (builder *DeleteSpreadsheetSheetFilterViewReqBuilder) FilterViewId(filterViewId string) *DeleteSpreadsheetSheetFilterViewReqBuilder
- func (builder *DeleteSpreadsheetSheetFilterViewReqBuilder) SheetId(sheetId string) *DeleteSpreadsheetSheetFilterViewReqBuilder
- func (builder *DeleteSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken(spreadsheetToken string) *DeleteSpreadsheetSheetFilterViewReqBuilder
- type DeleteSpreadsheetSheetFilterViewResp
- type DeleteSpreadsheetSheetFloatImageReq
- type DeleteSpreadsheetSheetFloatImageReqBuilder
- func (builder *DeleteSpreadsheetSheetFloatImageReqBuilder) Build() *DeleteSpreadsheetSheetFloatImageReq
- func (builder *DeleteSpreadsheetSheetFloatImageReqBuilder) FloatImageId(floatImageId string) *DeleteSpreadsheetSheetFloatImageReqBuilder
- func (builder *DeleteSpreadsheetSheetFloatImageReqBuilder) SheetId(sheetId string) *DeleteSpreadsheetSheetFloatImageReqBuilder
- func (builder *DeleteSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken(spreadsheetToken string) *DeleteSpreadsheetSheetFloatImageReqBuilder
- type DeleteSpreadsheetSheetFloatImageResp
- type DepartmentId
- type DepartmentIdBuilder
- type Dimension
- type DimensionBuilder
- type DimensionProperties
- type DimensionPropertiesBuilder
- type File
- type FileBuilder
- type FilterInfo
- type FilterInfoBuilder
- type FilterView
- type FilterViewBuilder
- func (builder *FilterViewBuilder) Build() *FilterView
- func (builder *FilterViewBuilder) FilterViewId(filterViewId string) *FilterViewBuilder
- func (builder *FilterViewBuilder) FilterViewName(filterViewName string) *FilterViewBuilder
- func (builder *FilterViewBuilder) Range(range_ string) *FilterViewBuilder
- type FilterViewCondition
- type FilterViewConditionBuilder
- func (builder *FilterViewConditionBuilder) Build() *FilterViewCondition
- func (builder *FilterViewConditionBuilder) CompareType(compareType string) *FilterViewConditionBuilder
- func (builder *FilterViewConditionBuilder) ConditionId(conditionId string) *FilterViewConditionBuilder
- func (builder *FilterViewConditionBuilder) Expected(expected []string) *FilterViewConditionBuilder
- func (builder *FilterViewConditionBuilder) FilterType(filterType string) *FilterViewConditionBuilder
- type Find
- type FindBuilder
- type FindCondition
- type FindConditionBuilder
- func (builder *FindConditionBuilder) Build() *FindCondition
- func (builder *FindConditionBuilder) IncludeFormulas(includeFormulas bool) *FindConditionBuilder
- func (builder *FindConditionBuilder) MatchCase(matchCase bool) *FindConditionBuilder
- func (builder *FindConditionBuilder) MatchEntireCell(matchEntireCell bool) *FindConditionBuilder
- func (builder *FindConditionBuilder) Range(range_ string) *FindConditionBuilder
- func (builder *FindConditionBuilder) SearchByRegex(searchByRegex bool) *FindConditionBuilder
- type FindReplaceResult
- type FindReplaceResultBuilder
- func (builder *FindReplaceResultBuilder) Build() *FindReplaceResult
- func (builder *FindReplaceResultBuilder) MatchedCells(matchedCells []string) *FindReplaceResultBuilder
- func (builder *FindReplaceResultBuilder) MatchedFormulaCells(matchedFormulaCells []string) *FindReplaceResultBuilder
- func (builder *FindReplaceResultBuilder) RowsCount(rowsCount int) *FindReplaceResultBuilder
- type FindSpreadsheetSheetReq
- type FindSpreadsheetSheetReqBuilder
- func (builder *FindSpreadsheetSheetReqBuilder) Build() *FindSpreadsheetSheetReq
- func (builder *FindSpreadsheetSheetReqBuilder) Find(find *Find) *FindSpreadsheetSheetReqBuilder
- func (builder *FindSpreadsheetSheetReqBuilder) SheetId(sheetId string) *FindSpreadsheetSheetReqBuilder
- func (builder *FindSpreadsheetSheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *FindSpreadsheetSheetReqBuilder
- type FindSpreadsheetSheetResp
- type FindSpreadsheetSheetRespData
- type FloatImage
- type FloatImageBuilder
- func (builder *FloatImageBuilder) Build() *FloatImage
- func (builder *FloatImageBuilder) FloatImageId(floatImageId string) *FloatImageBuilder
- func (builder *FloatImageBuilder) FloatImageToken(floatImageToken string) *FloatImageBuilder
- func (builder *FloatImageBuilder) Height(height float64) *FloatImageBuilder
- func (builder *FloatImageBuilder) OffsetX(offsetX float64) *FloatImageBuilder
- func (builder *FloatImageBuilder) OffsetY(offsetY float64) *FloatImageBuilder
- func (builder *FloatImageBuilder) Range(range_ string) *FloatImageBuilder
- func (builder *FloatImageBuilder) Width(width float64) *FloatImageBuilder
- type Formula
- type FormulaBuilder
- type GetSpreadsheet
- type GetSpreadsheetBuilder
- func (builder *GetSpreadsheetBuilder) Build() *GetSpreadsheet
- func (builder *GetSpreadsheetBuilder) OwnerId(ownerId string) *GetSpreadsheetBuilder
- func (builder *GetSpreadsheetBuilder) Title(title string) *GetSpreadsheetBuilder
- func (builder *GetSpreadsheetBuilder) Token(token string) *GetSpreadsheetBuilder
- func (builder *GetSpreadsheetBuilder) Url(url string) *GetSpreadsheetBuilder
- type GetSpreadsheetReq
- type GetSpreadsheetReqBuilder
- type GetSpreadsheetResp
- type GetSpreadsheetRespData
- type GetSpreadsheetSheetFilterReq
- type GetSpreadsheetSheetFilterReqBuilder
- func (builder *GetSpreadsheetSheetFilterReqBuilder) Build() *GetSpreadsheetSheetFilterReq
- func (builder *GetSpreadsheetSheetFilterReqBuilder) SheetId(sheetId string) *GetSpreadsheetSheetFilterReqBuilder
- func (builder *GetSpreadsheetSheetFilterReqBuilder) SpreadsheetToken(spreadsheetToken string) *GetSpreadsheetSheetFilterReqBuilder
- type GetSpreadsheetSheetFilterResp
- type GetSpreadsheetSheetFilterRespData
- type GetSpreadsheetSheetFilterViewConditionReq
- type GetSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *GetSpreadsheetSheetFilterViewConditionReqBuilder) Build() *GetSpreadsheetSheetFilterViewConditionReq
- func (builder *GetSpreadsheetSheetFilterViewConditionReqBuilder) ConditionId(conditionId string) *GetSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *GetSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId(filterViewId string) *GetSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *GetSpreadsheetSheetFilterViewConditionReqBuilder) SheetId(sheetId string) *GetSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *GetSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken(spreadsheetToken string) *GetSpreadsheetSheetFilterViewConditionReqBuilder
- type GetSpreadsheetSheetFilterViewConditionResp
- type GetSpreadsheetSheetFilterViewConditionRespData
- type GetSpreadsheetSheetFilterViewReq
- type GetSpreadsheetSheetFilterViewReqBuilder
- func (builder *GetSpreadsheetSheetFilterViewReqBuilder) Build() *GetSpreadsheetSheetFilterViewReq
- func (builder *GetSpreadsheetSheetFilterViewReqBuilder) FilterViewId(filterViewId string) *GetSpreadsheetSheetFilterViewReqBuilder
- func (builder *GetSpreadsheetSheetFilterViewReqBuilder) SheetId(sheetId string) *GetSpreadsheetSheetFilterViewReqBuilder
- func (builder *GetSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken(spreadsheetToken string) *GetSpreadsheetSheetFilterViewReqBuilder
- type GetSpreadsheetSheetFilterViewResp
- type GetSpreadsheetSheetFilterViewRespData
- type GetSpreadsheetSheetFloatImageReq
- type GetSpreadsheetSheetFloatImageReqBuilder
- func (builder *GetSpreadsheetSheetFloatImageReqBuilder) Build() *GetSpreadsheetSheetFloatImageReq
- func (builder *GetSpreadsheetSheetFloatImageReqBuilder) FloatImageId(floatImageId string) *GetSpreadsheetSheetFloatImageReqBuilder
- func (builder *GetSpreadsheetSheetFloatImageReqBuilder) SheetId(sheetId string) *GetSpreadsheetSheetFloatImageReqBuilder
- func (builder *GetSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken(spreadsheetToken string) *GetSpreadsheetSheetFloatImageReqBuilder
- type GetSpreadsheetSheetFloatImageResp
- type GetSpreadsheetSheetFloatImageRespData
- type GetSpreadsheetSheetReq
- type GetSpreadsheetSheetReqBuilder
- type GetSpreadsheetSheetResp
- type GetSpreadsheetSheetRespData
- type GridProperties
- type GridPropertiesBuilder
- func (builder *GridPropertiesBuilder) Build() *GridProperties
- func (builder *GridPropertiesBuilder) ColumnCount(columnCount int) *GridPropertiesBuilder
- func (builder *GridPropertiesBuilder) FrozenColumnCount(frozenColumnCount int) *GridPropertiesBuilder
- func (builder *GridPropertiesBuilder) FrozenRowCount(frozenRowCount int) *GridPropertiesBuilder
- func (builder *GridPropertiesBuilder) RowCount(rowCount int) *GridPropertiesBuilder
- type Image
- type ImageBuilder
- type InsertDimension
- type InsertDimensionBuilder
- type LeftBorderStyle
- type LeftBorderStyleBuilder
- type Link
- type LinkBuilder
- type MentionDocument
- type MentionDocumentBuilder
- func (builder *MentionDocumentBuilder) Build() *MentionDocument
- func (builder *MentionDocumentBuilder) ObjectType(objectType string) *MentionDocumentBuilder
- func (builder *MentionDocumentBuilder) SegmentStyle(segmentStyle *SegmentStyle) *MentionDocumentBuilder
- func (builder *MentionDocumentBuilder) Title(title string) *MentionDocumentBuilder
- func (builder *MentionDocumentBuilder) Token(token string) *MentionDocumentBuilder
- type MentionUser
- type MentionUserBuilder
- func (builder *MentionUserBuilder) Build() *MentionUser
- func (builder *MentionUserBuilder) Name(name string) *MentionUserBuilder
- func (builder *MentionUserBuilder) Notify(notify bool) *MentionUserBuilder
- func (builder *MentionUserBuilder) SegmentStyle(segmentStyle *SegmentStyle) *MentionUserBuilder
- func (builder *MentionUserBuilder) UserId(userId string) *MentionUserBuilder
- type MergeCell
- type MergeCellBuilder
- type MergeRange
- type MergeRangeBuilder
- func (builder *MergeRangeBuilder) Build() *MergeRange
- func (builder *MergeRangeBuilder) EndColumnIndex(endColumnIndex int) *MergeRangeBuilder
- func (builder *MergeRangeBuilder) EndRowIndex(endRowIndex int) *MergeRangeBuilder
- func (builder *MergeRangeBuilder) StartColumnIndex(startColumnIndex int) *MergeRangeBuilder
- func (builder *MergeRangeBuilder) StartRowIndex(startRowIndex int) *MergeRangeBuilder
- type MoveDimension
- type MoveDimensionBuilder
- type MoveDimensionSpreadsheetSheetReq
- type MoveDimensionSpreadsheetSheetReqBuilder
- func (builder *MoveDimensionSpreadsheetSheetReqBuilder) Build() *MoveDimensionSpreadsheetSheetReq
- func (builder *MoveDimensionSpreadsheetSheetReqBuilder) MoveDimension(moveDimension *MoveDimension) *MoveDimensionSpreadsheetSheetReqBuilder
- func (builder *MoveDimensionSpreadsheetSheetReqBuilder) SheetId(sheetId string) *MoveDimensionSpreadsheetSheetReqBuilder
- func (builder *MoveDimensionSpreadsheetSheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *MoveDimensionSpreadsheetSheetReqBuilder
- type MoveDimensionSpreadsheetSheetResp
- type MultiRange
- type MultiRangeBuilder
- type MultipleOption
- type MultipleOptionBuilder
- func (builder *MultipleOptionBuilder) Build() *MultipleOption
- func (builder *MultipleOptionBuilder) DataValidationValues(dataValidationValues []*DataValidationValue) *MultipleOptionBuilder
- func (builder *MultipleOptionBuilder) Properties(properties *OptionProperties) *MultipleOptionBuilder
- func (builder *MultipleOptionBuilder) Range(range_ string) *MultipleOptionBuilder
- func (builder *MultipleOptionBuilder) Type(type_ string) *MultipleOptionBuilder
- type OptionProperties
- type OptionPropertiesBuilder
- type PatchConditionalFormat
- type PatchConditionalFormatBuilder
- func (builder *PatchConditionalFormatBuilder) Build() *PatchConditionalFormat
- func (builder *PatchConditionalFormatBuilder) ConditionalFormatRule(conditionalFormatRule *ConditionalFormatRule) *PatchConditionalFormatBuilder
- func (builder *PatchConditionalFormatBuilder) Index(index int) *PatchConditionalFormatBuilder
- func (builder *PatchConditionalFormatBuilder) Ranges(ranges []*ConditionalFormatRange) *PatchConditionalFormatBuilder
- type PatchDataValidation
- type PatchDataValidationBuilder
- func (builder *PatchDataValidationBuilder) Build() *PatchDataValidation
- func (builder *PatchDataValidationBuilder) DataValidationRule(dataValidationRule *DataValidationRule) *PatchDataValidationBuilder
- func (builder *PatchDataValidationBuilder) HelpText(helpText string) *PatchDataValidationBuilder
- func (builder *PatchDataValidationBuilder) Strict(strict bool) *PatchDataValidationBuilder
- type PatchProtectedRange
- type PatchProtectedRangeBuilder
- func (builder *PatchProtectedRangeBuilder) Build() *PatchProtectedRange
- func (builder *PatchProtectedRangeBuilder) Description(description string) *PatchProtectedRangeBuilder
- func (builder *PatchProtectedRangeBuilder) ProtectedColumns(protectedColumns *ProtectedColumns) *PatchProtectedRangeBuilder
- func (builder *PatchProtectedRangeBuilder) ProtectedRows(protectedRows *ProtectedRows) *PatchProtectedRangeBuilder
- type PatchProtectedRangeEditors
- type PatchProtectedRangeEditorsBuilder
- func (builder *PatchProtectedRangeEditorsBuilder) AddEditors(addEditors *ProtectedRangeEditors) *PatchProtectedRangeEditorsBuilder
- func (builder *PatchProtectedRangeEditorsBuilder) Build() *PatchProtectedRangeEditors
- func (builder *PatchProtectedRangeEditorsBuilder) RemoveEditors(removeEditors *ProtectedRangeEditors) *PatchProtectedRangeEditorsBuilder
- func (builder *PatchProtectedRangeEditorsBuilder) Type(type_ string) *PatchProtectedRangeEditorsBuilder
- type PatchSpreadsheetReq
- type PatchSpreadsheetReqBuilder
- func (builder *PatchSpreadsheetReqBuilder) Build() *PatchSpreadsheetReq
- func (builder *PatchSpreadsheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *PatchSpreadsheetReqBuilder
- func (builder *PatchSpreadsheetReqBuilder) UpdateSpreadsheetProperties(updateSpreadsheetProperties *UpdateSpreadsheetProperties) *PatchSpreadsheetReqBuilder
- type PatchSpreadsheetResp
- type PatchSpreadsheetSheetFilterViewReq
- type PatchSpreadsheetSheetFilterViewReqBuilder
- func (builder *PatchSpreadsheetSheetFilterViewReqBuilder) Build() *PatchSpreadsheetSheetFilterViewReq
- func (builder *PatchSpreadsheetSheetFilterViewReqBuilder) FilterView(filterView *FilterView) *PatchSpreadsheetSheetFilterViewReqBuilder
- func (builder *PatchSpreadsheetSheetFilterViewReqBuilder) FilterViewId(filterViewId string) *PatchSpreadsheetSheetFilterViewReqBuilder
- func (builder *PatchSpreadsheetSheetFilterViewReqBuilder) SheetId(sheetId string) *PatchSpreadsheetSheetFilterViewReqBuilder
- func (builder *PatchSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken(spreadsheetToken string) *PatchSpreadsheetSheetFilterViewReqBuilder
- type PatchSpreadsheetSheetFilterViewResp
- type PatchSpreadsheetSheetFilterViewRespData
- type PatchSpreadsheetSheetFloatImageReq
- type PatchSpreadsheetSheetFloatImageReqBuilder
- func (builder *PatchSpreadsheetSheetFloatImageReqBuilder) Build() *PatchSpreadsheetSheetFloatImageReq
- func (builder *PatchSpreadsheetSheetFloatImageReqBuilder) FloatImage(floatImage *FloatImage) *PatchSpreadsheetSheetFloatImageReqBuilder
- func (builder *PatchSpreadsheetSheetFloatImageReqBuilder) FloatImageId(floatImageId string) *PatchSpreadsheetSheetFloatImageReqBuilder
- func (builder *PatchSpreadsheetSheetFloatImageReqBuilder) SheetId(sheetId string) *PatchSpreadsheetSheetFloatImageReqBuilder
- func (builder *PatchSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken(spreadsheetToken string) *PatchSpreadsheetSheetFloatImageReqBuilder
- type PatchSpreadsheetSheetFloatImageResp
- type PatchSpreadsheetSheetFloatImageRespData
- type PlainTextValueRange
- type PlainTextValueRangeBuilder
- type ProtectedColumns
- type ProtectedColumnsBuilder
- func (builder *ProtectedColumnsBuilder) Build() *ProtectedColumns
- func (builder *ProtectedColumnsBuilder) EndIndex(endIndex int) *ProtectedColumnsBuilder
- func (builder *ProtectedColumnsBuilder) SheetId(sheetId string) *ProtectedColumnsBuilder
- func (builder *ProtectedColumnsBuilder) StartIndex(startIndex int) *ProtectedColumnsBuilder
- type ProtectedRange
- type ProtectedRangeBuilder
- func (builder *ProtectedRangeBuilder) Build() *ProtectedRange
- func (builder *ProtectedRangeBuilder) Description(description string) *ProtectedRangeBuilder
- func (builder *ProtectedRangeBuilder) Editors(editors *ProtectedRangeEditors) *ProtectedRangeBuilder
- func (builder *ProtectedRangeBuilder) ProtectedColumns(protectedColumns *ProtectedColumns) *ProtectedRangeBuilder
- func (builder *ProtectedRangeBuilder) ProtectedDimension(protectedDimension string) *ProtectedRangeBuilder
- func (builder *ProtectedRangeBuilder) ProtectedId(protectedId string) *ProtectedRangeBuilder
- func (builder *ProtectedRangeBuilder) ProtectedRows(protectedRows *ProtectedRows) *ProtectedRangeBuilder
- func (builder *ProtectedRangeBuilder) ProtectedSheet(protectedSheet *ProtectedSheet) *ProtectedRangeBuilder
- type ProtectedRangeEditors
- type ProtectedRangeEditorsBuilder
- func (builder *ProtectedRangeEditorsBuilder) Build() *ProtectedRangeEditors
- func (builder *ProtectedRangeEditorsBuilder) Chats(chats []string) *ProtectedRangeEditorsBuilder
- func (builder *ProtectedRangeEditorsBuilder) Departments(departments []string) *ProtectedRangeEditorsBuilder
- func (builder *ProtectedRangeEditorsBuilder) Users(users []string) *ProtectedRangeEditorsBuilder
- type ProtectedRows
- type ProtectedRowsBuilder
- func (builder *ProtectedRowsBuilder) Build() *ProtectedRows
- func (builder *ProtectedRowsBuilder) EndIndex(endIndex int) *ProtectedRowsBuilder
- func (builder *ProtectedRowsBuilder) SheetId(sheetId string) *ProtectedRowsBuilder
- func (builder *ProtectedRowsBuilder) StartIndex(startIndex int) *ProtectedRowsBuilder
- type ProtectedSheet
- type ProtectedSheetBuilder
- type QuerySpreadsheetSheetFilterViewConditionReq
- type QuerySpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *QuerySpreadsheetSheetFilterViewConditionReqBuilder) Build() *QuerySpreadsheetSheetFilterViewConditionReq
- func (builder *QuerySpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId(filterViewId string) *QuerySpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *QuerySpreadsheetSheetFilterViewConditionReqBuilder) SheetId(sheetId string) *QuerySpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *QuerySpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken(spreadsheetToken string) *QuerySpreadsheetSheetFilterViewConditionReqBuilder
- type QuerySpreadsheetSheetFilterViewConditionResp
- type QuerySpreadsheetSheetFilterViewConditionRespData
- type QuerySpreadsheetSheetFilterViewReq
- type QuerySpreadsheetSheetFilterViewReqBuilder
- func (builder *QuerySpreadsheetSheetFilterViewReqBuilder) Build() *QuerySpreadsheetSheetFilterViewReq
- func (builder *QuerySpreadsheetSheetFilterViewReqBuilder) SheetId(sheetId string) *QuerySpreadsheetSheetFilterViewReqBuilder
- func (builder *QuerySpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken(spreadsheetToken string) *QuerySpreadsheetSheetFilterViewReqBuilder
- type QuerySpreadsheetSheetFilterViewResp
- type QuerySpreadsheetSheetFilterViewRespData
- type QuerySpreadsheetSheetFloatImageReq
- type QuerySpreadsheetSheetFloatImageReqBuilder
- func (builder *QuerySpreadsheetSheetFloatImageReqBuilder) Build() *QuerySpreadsheetSheetFloatImageReq
- func (builder *QuerySpreadsheetSheetFloatImageReqBuilder) SheetId(sheetId string) *QuerySpreadsheetSheetFloatImageReqBuilder
- func (builder *QuerySpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken(spreadsheetToken string) *QuerySpreadsheetSheetFloatImageReqBuilder
- type QuerySpreadsheetSheetFloatImageResp
- type QuerySpreadsheetSheetFloatImageRespData
- type QuerySpreadsheetSheetReq
- type QuerySpreadsheetSheetReqBuilder
- type QuerySpreadsheetSheetResp
- type QuerySpreadsheetSheetRespData
- type Reminder
- type ReminderBuilder
- func (builder *ReminderBuilder) Build() *Reminder
- func (builder *ReminderBuilder) NotifyDateTime(notifyDateTime string) *ReminderBuilder
- func (builder *ReminderBuilder) NotifyStrategy(notifyStrategy string) *ReminderBuilder
- func (builder *ReminderBuilder) NotifyText(notifyText string) *ReminderBuilder
- func (builder *ReminderBuilder) NotifyUserId(notifyUserId []string) *ReminderBuilder
- type Replace
- type ReplaceBuilder
- type ReplaceSpreadsheetSheetReq
- type ReplaceSpreadsheetSheetReqBuilder
- func (builder *ReplaceSpreadsheetSheetReqBuilder) Build() *ReplaceSpreadsheetSheetReq
- func (builder *ReplaceSpreadsheetSheetReqBuilder) Replace(replace *Replace) *ReplaceSpreadsheetSheetReqBuilder
- func (builder *ReplaceSpreadsheetSheetReqBuilder) SheetId(sheetId string) *ReplaceSpreadsheetSheetReqBuilder
- func (builder *ReplaceSpreadsheetSheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *ReplaceSpreadsheetSheetReqBuilder
- type ReplaceSpreadsheetSheetResp
- type ReplaceSpreadsheetSheetRespData
- type RichTextValueRange
- type RichTextValueRangeBuilder
- type RichValue
- type RichValueBuilder
- type RightBorderStyle
- type RightBorderStyleBuilder
- type SegmentStyle
- type SegmentStyleBuilder
- type SegmentStyleStyle
- type SegmentStyleStyleBuilder
- func (builder *SegmentStyleStyleBuilder) Bold(bold bool) *SegmentStyleStyleBuilder
- func (builder *SegmentStyleStyleBuilder) Build() *SegmentStyleStyle
- func (builder *SegmentStyleStyleBuilder) FontSize(fontSize int) *SegmentStyleStyleBuilder
- func (builder *SegmentStyleStyleBuilder) ForeColor(foreColor string) *SegmentStyleStyleBuilder
- func (builder *SegmentStyleStyleBuilder) Italic(italic bool) *SegmentStyleStyleBuilder
- func (builder *SegmentStyleStyleBuilder) StrikeThrough(strikeThrough bool) *SegmentStyleStyleBuilder
- func (builder *SegmentStyleStyleBuilder) Underline(underline bool) *SegmentStyleStyleBuilder
- type Sheet
- type SheetBuilder
- func (builder *SheetBuilder) Build() *Sheet
- func (builder *SheetBuilder) GridProperties(gridProperties *GridProperties) *SheetBuilder
- func (builder *SheetBuilder) Hidden(hidden bool) *SheetBuilder
- func (builder *SheetBuilder) Index(index int) *SheetBuilder
- func (builder *SheetBuilder) Merges(merges []*MergeRange) *SheetBuilder
- func (builder *SheetBuilder) ResourceType(resourceType string) *SheetBuilder
- func (builder *SheetBuilder) SheetId(sheetId string) *SheetBuilder
- func (builder *SheetBuilder) Title(title string) *SheetBuilder
- type SheetFilterInfo
- type SheetFilterInfoBuilder
- func (builder *SheetFilterInfoBuilder) Build() *SheetFilterInfo
- func (builder *SheetFilterInfoBuilder) FilterInfos(filterInfos []*FilterInfo) *SheetFilterInfoBuilder
- func (builder *SheetFilterInfoBuilder) FilteredOutRows(filteredOutRows []int) *SheetFilterInfoBuilder
- func (builder *SheetFilterInfoBuilder) Range(range_ string) *SheetFilterInfoBuilder
- type SheetProperties
- type SheetPropertiesBuilder
- func (builder *SheetPropertiesBuilder) Build() *SheetProperties
- func (builder *SheetPropertiesBuilder) ColumnCount(columnCount int) *SheetPropertiesBuilder
- func (builder *SheetPropertiesBuilder) FrozenColumnCount(frozenColumnCount int) *SheetPropertiesBuilder
- func (builder *SheetPropertiesBuilder) FrozenRowCount(frozenRowCount int) *SheetPropertiesBuilder
- func (builder *SheetPropertiesBuilder) RowCount(rowCount int) *SheetPropertiesBuilder
- type SingleOption
- type SingleOptionBuilder
- func (builder *SingleOptionBuilder) Build() *SingleOption
- func (builder *SingleOptionBuilder) DataValidationValues(dataValidationValues []*DataValidationValue) *SingleOptionBuilder
- func (builder *SingleOptionBuilder) Properties(properties *OptionProperties) *SingleOptionBuilder
- func (builder *SingleOptionBuilder) Range(range_ string) *SingleOptionBuilder
- func (builder *SingleOptionBuilder) Type(type_ string) *SingleOptionBuilder
- type Spreadsheet
- type SpreadsheetBuilder
- func (builder *SpreadsheetBuilder) Build() *Spreadsheet
- func (builder *SpreadsheetBuilder) FolderToken(folderToken string) *SpreadsheetBuilder
- func (builder *SpreadsheetBuilder) SpreadsheetToken(spreadsheetToken string) *SpreadsheetBuilder
- func (builder *SpreadsheetBuilder) Title(title string) *SpreadsheetBuilder
- func (builder *SpreadsheetBuilder) Url(url string) *SpreadsheetBuilder
- type Style
- type StyleBuilder
- type StyleRanges
- type StyleRangesBuilder
- type Text
- type TextBuilder
- type TopBorderStyle
- type TopBorderStyleBuilder
- type UpdateDimensionProperties
- type UpdateDimensionPropertiesBuilder
- func (builder *UpdateDimensionPropertiesBuilder) Build() *UpdateDimensionProperties
- func (builder *UpdateDimensionPropertiesBuilder) DimensionRange(dimensionRange *Dimension) *UpdateDimensionPropertiesBuilder
- func (builder *UpdateDimensionPropertiesBuilder) Properties(properties *DimensionProperties) *UpdateDimensionPropertiesBuilder
- type UpdateGridProperties
- type UpdateGridPropertiesBuilder
- type UpdateSheetFilter
- type UpdateSheetFilterBuilder
- type UpdateSpreadsheetProperties
- type UpdateSpreadsheetPropertiesBuilder
- type UpdateSpreadsheetSheetFilterReq
- type UpdateSpreadsheetSheetFilterReqBuilder
- func (builder *UpdateSpreadsheetSheetFilterReqBuilder) Build() *UpdateSpreadsheetSheetFilterReq
- func (builder *UpdateSpreadsheetSheetFilterReqBuilder) SheetId(sheetId string) *UpdateSpreadsheetSheetFilterReqBuilder
- func (builder *UpdateSpreadsheetSheetFilterReqBuilder) SpreadsheetToken(spreadsheetToken string) *UpdateSpreadsheetSheetFilterReqBuilder
- func (builder *UpdateSpreadsheetSheetFilterReqBuilder) UpdateSheetFilter(updateSheetFilter *UpdateSheetFilter) *UpdateSpreadsheetSheetFilterReqBuilder
- type UpdateSpreadsheetSheetFilterResp
- type UpdateSpreadsheetSheetFilterViewConditionReq
- type UpdateSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) Build() *UpdateSpreadsheetSheetFilterViewConditionReq
- func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) ConditionId(conditionId string) *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewCondition(filterViewCondition *FilterViewCondition) *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId(filterViewId string) *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) SheetId(sheetId string) *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
- func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken(spreadsheetToken string) *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
- type UpdateSpreadsheetSheetFilterViewConditionResp
- type UpdateSpreadsheetSheetFilterViewConditionRespData
- type V3
- type Value
- type ValueBuilder
- type ValueElement
- type ValueElementBuilder
- type ValueElementSingleOption
- type ValueElementSingleOptionBuilder
- func (builder *ValueElementSingleOptionBuilder) Build() *ValueElementSingleOption
- func (builder *ValueElementSingleOptionBuilder) DataValidationId(dataValidationId int) *ValueElementSingleOptionBuilder
- func (builder *ValueElementSingleOptionBuilder) DataValiditonValue(dataValiditonValue string) *ValueElementSingleOptionBuilder
Constants ¶
const ( UserIdTypeUserId = "user_id" // 以user_id来识别用户 UserIdTypeUnionId = "union_id" // 以union_id来识别用户 UserIdTypeOpenId = "open_id" // 以open_id来识别用户 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddSheetBuilder ¶
type AddSheetBuilder struct {
// contains filtered or unexported fields
}
func NewAddSheetBuilder ¶
func NewAddSheetBuilder() *AddSheetBuilder
func (*AddSheetBuilder) Build ¶
func (builder *AddSheetBuilder) Build() *AddSheet
func (*AddSheetBuilder) Index ¶
func (builder *AddSheetBuilder) Index(index int) *AddSheetBuilder
工作表位置
示例值:0
func (*AddSheetBuilder) Title ¶
func (builder *AddSheetBuilder) Title(title string) *AddSheetBuilder
工作表标题
示例值:abc
type AlignmentStyle ¶
type AlignmentStyleBuilder ¶
type AlignmentStyleBuilder struct {
// contains filtered or unexported fields
}
func NewAlignmentStyleBuilder ¶
func NewAlignmentStyleBuilder() *AlignmentStyleBuilder
func (*AlignmentStyleBuilder) Build ¶
func (builder *AlignmentStyleBuilder) Build() *AlignmentStyle
func (*AlignmentStyleBuilder) HorizontalAlignment ¶
func (builder *AlignmentStyleBuilder) HorizontalAlignment(horizontalAlignment string) *AlignmentStyleBuilder
水平对齐策略
示例值:Left
func (*AlignmentStyleBuilder) VerticalAlignment ¶
func (builder *AlignmentStyleBuilder) VerticalAlignment(verticalAlignment string) *AlignmentStyleBuilder
垂直对齐策略
示例值:Top
type AppendDimension ¶
type AppendDimensionBuilder ¶
type AppendDimensionBuilder struct {
// contains filtered or unexported fields
}
func NewAppendDimensionBuilder ¶
func NewAppendDimensionBuilder() *AppendDimensionBuilder
func (*AppendDimensionBuilder) Build ¶
func (builder *AppendDimensionBuilder) Build() *AppendDimension
func (*AppendDimensionBuilder) InheritFromBefore ¶
func (builder *AppendDimensionBuilder) InheritFromBefore(inheritFromBefore bool) *AppendDimensionBuilder
是否继承上一行/列的样式
示例值:false
func (*AppendDimensionBuilder) Length ¶
func (builder *AppendDimensionBuilder) Length(length int) *AppendDimensionBuilder
数量
示例值:10
func (*AppendDimensionBuilder) MajorDimension ¶
func (builder *AppendDimensionBuilder) MajorDimension(majorDimension string) *AppendDimensionBuilder
操作行还是列,取值:ROWS、COLUMNS
示例值:ROWS
type BitableProperties ¶
type BitablePropertiesBuilder ¶
type BitablePropertiesBuilder struct {
// contains filtered or unexported fields
}
func NewBitablePropertiesBuilder ¶
func NewBitablePropertiesBuilder() *BitablePropertiesBuilder
func (*BitablePropertiesBuilder) BitableToken ¶
func (builder *BitablePropertiesBuilder) BitableToken(bitableToken string) *BitablePropertiesBuilder
多维表格token
示例值:basxxxxxxxxxxxxxxxx
func (*BitablePropertiesBuilder) Build ¶
func (builder *BitablePropertiesBuilder) Build() *BitableProperties
func (*BitablePropertiesBuilder) TableId ¶
func (builder *BitablePropertiesBuilder) TableId(tableId string) *BitablePropertiesBuilder
数据表id
示例值:tblxxxxxxxxxx
type BoolRuleValue ¶
type BoolRuleValueBuilder ¶
type BoolRuleValueBuilder struct {
// contains filtered or unexported fields
}
func NewBoolRuleValueBuilder ¶
func NewBoolRuleValueBuilder() *BoolRuleValueBuilder
func (*BoolRuleValueBuilder) Build ¶
func (builder *BoolRuleValueBuilder) Build() *BoolRuleValue
func (*BoolRuleValueBuilder) Number ¶
func (builder *BoolRuleValueBuilder) Number(number string) *BoolRuleValueBuilder
数值,当type=Number时必须有
示例值:12
func (*BoolRuleValueBuilder) Text ¶
func (builder *BoolRuleValueBuilder) Text(text string) *BoolRuleValueBuilder
文本,当type=Text时必须有
示例值:abc
func (*BoolRuleValueBuilder) TimePeriod ¶
func (builder *BoolRuleValueBuilder) TimePeriod(timePeriod string) *BoolRuleValueBuilder
时间区间
示例值:Today
func (*BoolRuleValueBuilder) Type ¶
func (builder *BoolRuleValueBuilder) Type(type_ string) *BoolRuleValueBuilder
条件值类型
示例值:Number
type BooleanRuleCondition ¶
type BooleanRuleCondition struct { Type *string `json:"type,omitempty"` // 条件格式类型 BooleanConditionalValues []*BoolRuleValue `json:"boolean_conditional_values,omitempty"` // 条件格式值,根据条件格式类型传入相应的值 }
type BooleanRuleConditionBuilder ¶
type BooleanRuleConditionBuilder struct {
// contains filtered or unexported fields
}
func NewBooleanRuleConditionBuilder ¶
func NewBooleanRuleConditionBuilder() *BooleanRuleConditionBuilder
func (*BooleanRuleConditionBuilder) BooleanConditionalValues ¶
func (builder *BooleanRuleConditionBuilder) BooleanConditionalValues(booleanConditionalValues []*BoolRuleValue) *BooleanRuleConditionBuilder
条件格式值,根据条件格式类型传入相应的值
示例值:
func (*BooleanRuleConditionBuilder) Build ¶
func (builder *BooleanRuleConditionBuilder) Build() *BooleanRuleCondition
func (*BooleanRuleConditionBuilder) Type ¶
func (builder *BooleanRuleConditionBuilder) Type(type_ string) *BooleanRuleConditionBuilder
条件格式类型
示例值:CellEqual
type BorderStyle ¶
type BorderStyle struct { Top *TopBorderStyle `json:"top,omitempty"` // 上边框样式 Left *LeftBorderStyle `json:"left,omitempty"` // 左边框样式 Right *RightBorderStyle `json:"right,omitempty"` // 右边框样式 Bottom *BottomBorderStyle `json:"bottom,omitempty"` // 下边框样式 }
type BorderStyleBuilder ¶
type BorderStyleBuilder struct {
// contains filtered or unexported fields
}
func NewBorderStyleBuilder ¶
func NewBorderStyleBuilder() *BorderStyleBuilder
func (*BorderStyleBuilder) Bottom ¶
func (builder *BorderStyleBuilder) Bottom(bottom *BottomBorderStyle) *BorderStyleBuilder
下边框样式
示例值:
func (*BorderStyleBuilder) Build ¶
func (builder *BorderStyleBuilder) Build() *BorderStyle
func (*BorderStyleBuilder) Left ¶
func (builder *BorderStyleBuilder) Left(left *LeftBorderStyle) *BorderStyleBuilder
左边框样式
示例值:
func (*BorderStyleBuilder) Right ¶
func (builder *BorderStyleBuilder) Right(right *RightBorderStyle) *BorderStyleBuilder
右边框样式
示例值:
func (*BorderStyleBuilder) Top ¶
func (builder *BorderStyleBuilder) Top(top *TopBorderStyle) *BorderStyleBuilder
上边框样式
示例值:
type BottomBorderStyle ¶
type BottomBorderStyleBuilder ¶
type BottomBorderStyleBuilder struct {
// contains filtered or unexported fields
}
func NewBottomBorderStyleBuilder ¶
func NewBottomBorderStyleBuilder() *BottomBorderStyleBuilder
func (*BottomBorderStyleBuilder) Build ¶
func (builder *BottomBorderStyleBuilder) Build() *BottomBorderStyle
func (*BottomBorderStyleBuilder) Color ¶
func (builder *BottomBorderStyleBuilder) Color(color string) *BottomBorderStyleBuilder
边框颜色
示例值:#ff00ff
func (*BottomBorderStyleBuilder) Style ¶
func (builder *BottomBorderStyleBuilder) Style(style string) *BottomBorderStyleBuilder
边框样式
示例值:
type CellFontStyle ¶
type CellFontStyle struct { Bold *bool `json:"bold,omitempty"` // 是否加粗 Italic *bool `json:"italic,omitempty"` // 是否斜体 Strikethrough *bool `json:"strikethrough,omitempty"` // 是否设置删除线 Underline *bool `json:"underline,omitempty"` // 是否展示下划线 ForegroundColor *string `json:"foreground_color,omitempty"` // 字体颜色 BackgroundColor *string `json:"background_color,omitempty"` // 背景颜色 }
type CellFontStyleBuilder ¶
type CellFontStyleBuilder struct {
// contains filtered or unexported fields
}
func NewCellFontStyleBuilder ¶
func NewCellFontStyleBuilder() *CellFontStyleBuilder
func (*CellFontStyleBuilder) BackgroundColor ¶
func (builder *CellFontStyleBuilder) BackgroundColor(backgroundColor string) *CellFontStyleBuilder
背景颜色
示例值:#ff00ff
func (*CellFontStyleBuilder) Bold ¶
func (builder *CellFontStyleBuilder) Bold(bold bool) *CellFontStyleBuilder
是否加粗
示例值:true
func (*CellFontStyleBuilder) Build ¶
func (builder *CellFontStyleBuilder) Build() *CellFontStyle
func (*CellFontStyleBuilder) ForegroundColor ¶
func (builder *CellFontStyleBuilder) ForegroundColor(foregroundColor string) *CellFontStyleBuilder
字体颜色
示例值:#ff00ff
func (*CellFontStyleBuilder) Italic ¶
func (builder *CellFontStyleBuilder) Italic(italic bool) *CellFontStyleBuilder
是否斜体
示例值:true
func (*CellFontStyleBuilder) Strikethrough ¶
func (builder *CellFontStyleBuilder) Strikethrough(strikethrough bool) *CellFontStyleBuilder
是否设置删除线
示例值:true
func (*CellFontStyleBuilder) Underline ¶
func (builder *CellFontStyleBuilder) Underline(underline bool) *CellFontStyleBuilder
是否展示下划线
示例值:true
type CellStyle ¶
type CellStyle struct { FontStyle *CellFontStyle `json:"font_style,omitempty"` // 字体样式 BorderStyle *BorderStyle `json:"border_style,omitempty"` // 边框颜色 AlignmentStyle *AlignmentStyle `json:"alignment_style,omitempty"` // 对齐方式 WrapStrategy *string `json:"wrap_strategy,omitempty"` // 文本换行 Format *string `json:"format,omitempty"` // 数字格式 }
type CellStyleBuilder ¶
type CellStyleBuilder struct {
// contains filtered or unexported fields
}
func NewCellStyleBuilder ¶
func NewCellStyleBuilder() *CellStyleBuilder
func (*CellStyleBuilder) AlignmentStyle ¶
func (builder *CellStyleBuilder) AlignmentStyle(alignmentStyle *AlignmentStyle) *CellStyleBuilder
对齐方式
示例值:
func (*CellStyleBuilder) BorderStyle ¶
func (builder *CellStyleBuilder) BorderStyle(borderStyle *BorderStyle) *CellStyleBuilder
边框颜色
示例值:
func (*CellStyleBuilder) Build ¶
func (builder *CellStyleBuilder) Build() *CellStyle
func (*CellStyleBuilder) FontStyle ¶
func (builder *CellStyleBuilder) FontStyle(fontStyle *CellFontStyle) *CellStyleBuilder
字体样式
示例值:
func (*CellStyleBuilder) Format ¶
func (builder *CellStyleBuilder) Format(format string) *CellStyleBuilder
数字格式
示例值:yyyy/MM/dd
func (*CellStyleBuilder) WrapStrategy ¶
func (builder *CellStyleBuilder) WrapStrategy(wrapStrategy string) *CellStyleBuilder
文本换行
示例值:Overflow
type CellValue ¶
type CellValue struct { Type *string `json:"type,omitempty"` // 元素类型 Text *Text `json:"text,omitempty"` // MentionUser *MentionUser `json:"mention_user,omitempty"` // MentionDocument *MentionDocument `json:"mention_document,omitempty"` // Value *ValueElement `json:"value,omitempty"` // DateTime *DateTime `json:"date_time,omitempty"` // File *File `json:"file,omitempty"` // Image *Image `json:"image,omitempty"` // Link *Link `json:"link,omitempty"` // Reminder *Reminder `json:"reminder,omitempty"` // Formula *Formula `json:"formula,omitempty"` // }
type CellValueBuilder ¶
type CellValueBuilder struct {
// contains filtered or unexported fields
}
func NewCellValueBuilder ¶
func NewCellValueBuilder() *CellValueBuilder
func (*CellValueBuilder) Build ¶
func (builder *CellValueBuilder) Build() *CellValue
func (*CellValueBuilder) DateTime ¶
func (builder *CellValueBuilder) DateTime(dateTime *DateTime) *CellValueBuilder
示例值:
func (*CellValueBuilder) File ¶
func (builder *CellValueBuilder) File(file *File) *CellValueBuilder
示例值:
func (*CellValueBuilder) Formula ¶
func (builder *CellValueBuilder) Formula(formula *Formula) *CellValueBuilder
示例值:
func (*CellValueBuilder) Image ¶
func (builder *CellValueBuilder) Image(image *Image) *CellValueBuilder
示例值:
func (*CellValueBuilder) Link ¶
func (builder *CellValueBuilder) Link(link *Link) *CellValueBuilder
示例值:
func (*CellValueBuilder) MentionDocument ¶
func (builder *CellValueBuilder) MentionDocument(mentionDocument *MentionDocument) *CellValueBuilder
示例值:
func (*CellValueBuilder) MentionUser ¶
func (builder *CellValueBuilder) MentionUser(mentionUser *MentionUser) *CellValueBuilder
示例值:
func (*CellValueBuilder) Reminder ¶
func (builder *CellValueBuilder) Reminder(reminder *Reminder) *CellValueBuilder
示例值:
func (*CellValueBuilder) Text ¶
func (builder *CellValueBuilder) Text(text *Text) *CellValueBuilder
示例值:
func (*CellValueBuilder) Type ¶
func (builder *CellValueBuilder) Type(type_ string) *CellValueBuilder
元素类型
示例值:text
func (*CellValueBuilder) Value ¶
func (builder *CellValueBuilder) Value(value *ValueElement) *CellValueBuilder
示例值:
type CheckboxBuilder ¶
type CheckboxBuilder struct {
// contains filtered or unexported fields
}
func NewCheckboxBuilder ¶
func NewCheckboxBuilder() *CheckboxBuilder
func (*CheckboxBuilder) Build ¶
func (builder *CheckboxBuilder) Build() *Checkbox
func (*CheckboxBuilder) DataValidationId ¶
func (builder *CheckboxBuilder) DataValidationId(dataValidationId int) *CheckboxBuilder
数据校验ID
示例值:1
func (*CheckboxBuilder) DataValiditonValue ¶
func (builder *CheckboxBuilder) DataValiditonValue(dataValiditonValue string) *CheckboxBuilder
复选框值
示例值:TRUE
type ClearDataValidation ¶
type ClearDataValidation struct {
Ranges []string `json:"ranges,omitempty"` // 清除数据检验的范围
}
type ClearDataValidationBuilder ¶
type ClearDataValidationBuilder struct {
// contains filtered or unexported fields
}
func NewClearDataValidationBuilder ¶
func NewClearDataValidationBuilder() *ClearDataValidationBuilder
func (*ClearDataValidationBuilder) Build ¶
func (builder *ClearDataValidationBuilder) Build() *ClearDataValidation
func (*ClearDataValidationBuilder) Ranges ¶
func (builder *ClearDataValidationBuilder) Ranges(ranges []string) *ClearDataValidationBuilder
清除数据检验的范围
示例值:
type ClearStyleMultiRange ¶
type ClearStyleMultiRange struct {
Ranges []string `json:"ranges,omitempty"` // 范围
}
type ClearStyleMultiRangeBuilder ¶
type ClearStyleMultiRangeBuilder struct {
// contains filtered or unexported fields
}
func NewClearStyleMultiRangeBuilder ¶
func NewClearStyleMultiRangeBuilder() *ClearStyleMultiRangeBuilder
func (*ClearStyleMultiRangeBuilder) Build ¶
func (builder *ClearStyleMultiRangeBuilder) Build() *ClearStyleMultiRange
func (*ClearStyleMultiRangeBuilder) Ranges ¶
func (builder *ClearStyleMultiRangeBuilder) Ranges(ranges []string) *ClearStyleMultiRangeBuilder
范围
示例值:
type ClearStyleRanges ¶
type ClearStyleRanges struct {
Ranges []string `json:"ranges,omitempty"` // 范围
}
type ClearStyleRangesBuilder ¶
type ClearStyleRangesBuilder struct {
// contains filtered or unexported fields
}
func NewClearStyleRangesBuilder ¶
func NewClearStyleRangesBuilder() *ClearStyleRangesBuilder
func (*ClearStyleRangesBuilder) Build ¶
func (builder *ClearStyleRangesBuilder) Build() *ClearStyleRanges
func (*ClearStyleRangesBuilder) Ranges ¶
func (builder *ClearStyleRangesBuilder) Ranges(ranges []string) *ClearStyleRangesBuilder
范围
示例值:["sheet1!A1:A1"]
type ConditionBuilder ¶
type ConditionBuilder struct {
// contains filtered or unexported fields
}
func NewConditionBuilder ¶
func NewConditionBuilder() *ConditionBuilder
func (*ConditionBuilder) Build ¶
func (builder *ConditionBuilder) Build() *Condition
func (*ConditionBuilder) CompareType ¶
func (builder *ConditionBuilder) CompareType(compareType string) *ConditionBuilder
比较类型
示例值:less
func (*ConditionBuilder) Expected ¶
func (builder *ConditionBuilder) Expected(expected []string) *ConditionBuilder
筛选参数
示例值:6
func (*ConditionBuilder) FilterType ¶
func (builder *ConditionBuilder) FilterType(filterType string) *ConditionBuilder
筛选类型
示例值:number
type ConditionalFormat ¶
type ConditionalFormat struct { ConditionalFormatId *string `json:"conditional_format_id,omitempty"` // 条件格式ID ConditionalFormatRule *ConditionalFormatRule `json:"conditional_format_rule,omitempty"` // 条件格式 Index *int `json:"index,omitempty"` // 规则索引位置,默认为最后一个 Ranges *ConditionalFormatRange `json:"ranges,omitempty"` // 条件格式应用范围 }
type ConditionalFormatBuilder ¶
type ConditionalFormatBuilder struct {
// contains filtered or unexported fields
}
func NewConditionalFormatBuilder ¶
func NewConditionalFormatBuilder() *ConditionalFormatBuilder
func (*ConditionalFormatBuilder) Build ¶
func (builder *ConditionalFormatBuilder) Build() *ConditionalFormat
func (*ConditionalFormatBuilder) ConditionalFormatId ¶
func (builder *ConditionalFormatBuilder) ConditionalFormatId(conditionalFormatId string) *ConditionalFormatBuilder
条件格式ID
示例值:hKc9HDZhrJ
func (*ConditionalFormatBuilder) ConditionalFormatRule ¶
func (builder *ConditionalFormatBuilder) ConditionalFormatRule(conditionalFormatRule *ConditionalFormatRule) *ConditionalFormatBuilder
条件格式
示例值:
func (*ConditionalFormatBuilder) Index ¶
func (builder *ConditionalFormatBuilder) Index(index int) *ConditionalFormatBuilder
规则索引位置,默认为最后一个
示例值:
func (*ConditionalFormatBuilder) Ranges ¶
func (builder *ConditionalFormatBuilder) Ranges(ranges *ConditionalFormatRange) *ConditionalFormatBuilder
条件格式应用范围
示例值:
type ConditionalFormatRange ¶
type ConditionalFormatRange struct { SheetId *string `json:"sheet_id,omitempty"` // 工作表ID StartRowIndex *int `json:"start_row_index,omitempty"` // 起始行索引 EndRowIndex *int `json:"end_row_index,omitempty"` // 结束行索引 StartColumnIndex *int `json:"start_column_index,omitempty"` // 起始列索引 EndColumnIndex *int `json:"end_column_index,omitempty"` // 结束列索引 }
type ConditionalFormatRangeBuilder ¶
type ConditionalFormatRangeBuilder struct {
// contains filtered or unexported fields
}
func NewConditionalFormatRangeBuilder ¶
func NewConditionalFormatRangeBuilder() *ConditionalFormatRangeBuilder
func (*ConditionalFormatRangeBuilder) Build ¶
func (builder *ConditionalFormatRangeBuilder) Build() *ConditionalFormatRange
func (*ConditionalFormatRangeBuilder) EndColumnIndex ¶
func (builder *ConditionalFormatRangeBuilder) EndColumnIndex(endColumnIndex int) *ConditionalFormatRangeBuilder
结束列索引
示例值:0
func (*ConditionalFormatRangeBuilder) EndRowIndex ¶
func (builder *ConditionalFormatRangeBuilder) EndRowIndex(endRowIndex int) *ConditionalFormatRangeBuilder
结束行索引
示例值:0
func (*ConditionalFormatRangeBuilder) SheetId ¶
func (builder *ConditionalFormatRangeBuilder) SheetId(sheetId string) *ConditionalFormatRangeBuilder
工作表ID
示例值:
func (*ConditionalFormatRangeBuilder) StartColumnIndex ¶
func (builder *ConditionalFormatRangeBuilder) StartColumnIndex(startColumnIndex int) *ConditionalFormatRangeBuilder
起始列索引
示例值:0
func (*ConditionalFormatRangeBuilder) StartRowIndex ¶
func (builder *ConditionalFormatRangeBuilder) StartRowIndex(startRowIndex int) *ConditionalFormatRangeBuilder
起始行索引
示例值:0
type ConditionalFormatRule ¶
type ConditionalFormatRule struct { BooleanRule *BooleanRuleCondition `json:"boolean_rule,omitempty"` // 布尔类型条件格式 Type *string `json:"type,omitempty"` // 条件格式类型 }
type ConditionalFormatRuleBuilder ¶
type ConditionalFormatRuleBuilder struct {
// contains filtered or unexported fields
}
func NewConditionalFormatRuleBuilder ¶
func NewConditionalFormatRuleBuilder() *ConditionalFormatRuleBuilder
func (*ConditionalFormatRuleBuilder) BooleanRule ¶
func (builder *ConditionalFormatRuleBuilder) BooleanRule(booleanRule *BooleanRuleCondition) *ConditionalFormatRuleBuilder
布尔类型条件格式
示例值:
func (*ConditionalFormatRuleBuilder) Build ¶
func (builder *ConditionalFormatRuleBuilder) Build() *ConditionalFormatRule
func (*ConditionalFormatRuleBuilder) Type ¶
func (builder *ConditionalFormatRuleBuilder) Type(type_ string) *ConditionalFormatRuleBuilder
条件格式类型
示例值:BooleanRuleCondition
type ConditionalFormatStyle ¶
type ConditionalFormatStyle struct { BackgroundColor *string `json:"background_color,omitempty"` // 背景颜色 ForegroundColor *string `json:"foreground_color,omitempty"` // 字体颜色 Underline *bool `json:"underline,omitempty"` // 是否设置下划线 Bold *bool `json:"bold,omitempty"` // 是否加粗 Italic *bool `json:"italic,omitempty"` // 是否设置斜体 Strikethrough *bool `json:"strikethrough,omitempty"` // 是否设置删除线 }
type ConditionalFormatStyleBuilder ¶
type ConditionalFormatStyleBuilder struct {
// contains filtered or unexported fields
}
func NewConditionalFormatStyleBuilder ¶
func NewConditionalFormatStyleBuilder() *ConditionalFormatStyleBuilder
func (*ConditionalFormatStyleBuilder) BackgroundColor ¶
func (builder *ConditionalFormatStyleBuilder) BackgroundColor(backgroundColor string) *ConditionalFormatStyleBuilder
背景颜色
示例值:#ff00ff
func (*ConditionalFormatStyleBuilder) Bold ¶
func (builder *ConditionalFormatStyleBuilder) Bold(bold bool) *ConditionalFormatStyleBuilder
是否加粗
示例值:true
func (*ConditionalFormatStyleBuilder) Build ¶
func (builder *ConditionalFormatStyleBuilder) Build() *ConditionalFormatStyle
func (*ConditionalFormatStyleBuilder) ForegroundColor ¶
func (builder *ConditionalFormatStyleBuilder) ForegroundColor(foregroundColor string) *ConditionalFormatStyleBuilder
字体颜色
示例值:#ff00ff
func (*ConditionalFormatStyleBuilder) Italic ¶
func (builder *ConditionalFormatStyleBuilder) Italic(italic bool) *ConditionalFormatStyleBuilder
是否设置斜体
示例值:true
func (*ConditionalFormatStyleBuilder) Strikethrough ¶
func (builder *ConditionalFormatStyleBuilder) Strikethrough(strikethrough bool) *ConditionalFormatStyleBuilder
是否设置删除线
示例值:true
func (*ConditionalFormatStyleBuilder) Underline ¶
func (builder *ConditionalFormatStyleBuilder) Underline(underline bool) *ConditionalFormatStyleBuilder
是否设置下划线
示例值:true
type CreateDataValidation ¶
type CreateDataValidation struct { Range *string `json:"range,omitempty"` // 数据校验设置的范围 Rule *DataValidation `json:"rule,omitempty"` // 数据校验规则 }
type CreateDataValidationBuilder ¶
type CreateDataValidationBuilder struct {
// contains filtered or unexported fields
}
func NewCreateDataValidationBuilder ¶
func NewCreateDataValidationBuilder() *CreateDataValidationBuilder
func (*CreateDataValidationBuilder) Build ¶
func (builder *CreateDataValidationBuilder) Build() *CreateDataValidation
func (*CreateDataValidationBuilder) Range ¶
func (builder *CreateDataValidationBuilder) Range(range_ string) *CreateDataValidationBuilder
数据校验设置的范围
示例值:sjls29!A1:B2
func (*CreateDataValidationBuilder) Rule ¶
func (builder *CreateDataValidationBuilder) Rule(rule *DataValidation) *CreateDataValidationBuilder
数据校验规则
示例值:
type CreateSheetFilter ¶
type CreateSheetFilterBuilder ¶
type CreateSheetFilterBuilder struct {
// contains filtered or unexported fields
}
func NewCreateSheetFilterBuilder ¶
func NewCreateSheetFilterBuilder() *CreateSheetFilterBuilder
func (*CreateSheetFilterBuilder) Build ¶
func (builder *CreateSheetFilterBuilder) Build() *CreateSheetFilter
func (*CreateSheetFilterBuilder) Col ¶
func (builder *CreateSheetFilterBuilder) Col(col string) *CreateSheetFilterBuilder
设置筛选条件的列
示例值:E
func (*CreateSheetFilterBuilder) Condition ¶
func (builder *CreateSheetFilterBuilder) Condition(condition *Condition) *CreateSheetFilterBuilder
筛选的条件
示例值:
func (*CreateSheetFilterBuilder) Range ¶
func (builder *CreateSheetFilterBuilder) Range(range_ string) *CreateSheetFilterBuilder
筛选应用范围
示例值:xxxxxx!C1:H14
type CreateSpreadsheetReq ¶
type CreateSpreadsheetReq struct { Spreadsheet *Spreadsheet `body:""` // contains filtered or unexported fields }
type CreateSpreadsheetReqBuilder ¶
type CreateSpreadsheetReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateSpreadsheetReqBuilder ¶
func NewCreateSpreadsheetReqBuilder() *CreateSpreadsheetReqBuilder
func (*CreateSpreadsheetReqBuilder) Build ¶
func (builder *CreateSpreadsheetReqBuilder) Build() *CreateSpreadsheetReq
func (*CreateSpreadsheetReqBuilder) Spreadsheet ¶
func (builder *CreateSpreadsheetReqBuilder) Spreadsheet(spreadsheet *Spreadsheet) *CreateSpreadsheetReqBuilder
在指定目录下创建表格
type CreateSpreadsheetResp ¶
type CreateSpreadsheetResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateSpreadsheetRespData `json:"data"` // 业务数据 }
func (*CreateSpreadsheetResp) Success ¶
func (resp *CreateSpreadsheetResp) Success() bool
type CreateSpreadsheetRespData ¶
type CreateSpreadsheetRespData struct {
Spreadsheet *Spreadsheet `json:"spreadsheet,omitempty"` // 表格
}
type CreateSpreadsheetSheetFilterReq ¶
type CreateSpreadsheetSheetFilterReq struct { CreateSheetFilter *CreateSheetFilter `body:""` // contains filtered or unexported fields }
type CreateSpreadsheetSheetFilterReqBuilder ¶
type CreateSpreadsheetSheetFilterReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateSpreadsheetSheetFilterReqBuilder ¶
func NewCreateSpreadsheetSheetFilterReqBuilder() *CreateSpreadsheetSheetFilterReqBuilder
func (*CreateSpreadsheetSheetFilterReqBuilder) Build ¶
func (builder *CreateSpreadsheetSheetFilterReqBuilder) Build() *CreateSpreadsheetSheetFilterReq
func (*CreateSpreadsheetSheetFilterReqBuilder) CreateSheetFilter ¶
func (builder *CreateSpreadsheetSheetFilterReqBuilder) CreateSheetFilter(createSheetFilter *CreateSheetFilter) *CreateSpreadsheetSheetFilterReqBuilder
在子表内创建筛选。
func (*CreateSpreadsheetSheetFilterReqBuilder) SheetId ¶
func (builder *CreateSpreadsheetSheetFilterReqBuilder) SheetId(sheetId string) *CreateSpreadsheetSheetFilterReqBuilder
子表 id
示例值:0b\**12
func (*CreateSpreadsheetSheetFilterReqBuilder) SpreadsheetToken ¶
func (builder *CreateSpreadsheetSheetFilterReqBuilder) SpreadsheetToken(spreadsheetToken string) *CreateSpreadsheetSheetFilterReqBuilder
表格 token
示例值:shtcnmBA\*****yGehy8
type CreateSpreadsheetSheetFilterResp ¶
type CreateSpreadsheetSheetFilterResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*CreateSpreadsheetSheetFilterResp) Success ¶
func (resp *CreateSpreadsheetSheetFilterResp) Success() bool
type CreateSpreadsheetSheetFilterViewConditionReq ¶
type CreateSpreadsheetSheetFilterViewConditionReq struct { FilterViewCondition *FilterViewCondition `body:""` // contains filtered or unexported fields }
type CreateSpreadsheetSheetFilterViewConditionReqBuilder ¶
type CreateSpreadsheetSheetFilterViewConditionReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateSpreadsheetSheetFilterViewConditionReqBuilder ¶
func NewCreateSpreadsheetSheetFilterViewConditionReqBuilder() *CreateSpreadsheetSheetFilterViewConditionReqBuilder
func (*CreateSpreadsheetSheetFilterViewConditionReqBuilder) Build ¶
func (builder *CreateSpreadsheetSheetFilterViewConditionReqBuilder) Build() *CreateSpreadsheetSheetFilterViewConditionReq
func (*CreateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewCondition ¶
func (builder *CreateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewCondition(filterViewCondition *FilterViewCondition) *CreateSpreadsheetSheetFilterViewConditionReqBuilder
在筛选视图的筛选范围的某一列创建筛选条件。
func (*CreateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId ¶
func (builder *CreateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId(filterViewId string) *CreateSpreadsheetSheetFilterViewConditionReqBuilder
筛选视图 id
示例值:pH9hbVcCXA
func (*CreateSpreadsheetSheetFilterViewConditionReqBuilder) SheetId ¶
func (builder *CreateSpreadsheetSheetFilterViewConditionReqBuilder) SheetId(sheetId string) *CreateSpreadsheetSheetFilterViewConditionReqBuilder
子表 id
示例值:0b**12
func (*CreateSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken ¶
func (builder *CreateSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken(spreadsheetToken string) *CreateSpreadsheetSheetFilterViewConditionReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type CreateSpreadsheetSheetFilterViewConditionResp ¶
type CreateSpreadsheetSheetFilterViewConditionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateSpreadsheetSheetFilterViewConditionRespData `json:"data"` // 业务数据 }
func (*CreateSpreadsheetSheetFilterViewConditionResp) Success ¶
func (resp *CreateSpreadsheetSheetFilterViewConditionResp) Success() bool
type CreateSpreadsheetSheetFilterViewConditionRespData ¶
type CreateSpreadsheetSheetFilterViewConditionRespData struct {
Condition *FilterViewCondition `json:"condition,omitempty"` // 创建的筛选条件
}
type CreateSpreadsheetSheetFilterViewReq ¶
type CreateSpreadsheetSheetFilterViewReq struct { FilterView *FilterView `body:""` // contains filtered or unexported fields }
type CreateSpreadsheetSheetFilterViewReqBuilder ¶
type CreateSpreadsheetSheetFilterViewReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateSpreadsheetSheetFilterViewReqBuilder ¶
func NewCreateSpreadsheetSheetFilterViewReqBuilder() *CreateSpreadsheetSheetFilterViewReqBuilder
func (*CreateSpreadsheetSheetFilterViewReqBuilder) Build ¶
func (builder *CreateSpreadsheetSheetFilterViewReqBuilder) Build() *CreateSpreadsheetSheetFilterViewReq
func (*CreateSpreadsheetSheetFilterViewReqBuilder) FilterView ¶
func (builder *CreateSpreadsheetSheetFilterViewReqBuilder) FilterView(filterView *FilterView) *CreateSpreadsheetSheetFilterViewReqBuilder
根据传入的参数创建一个筛选视图。Id 和 名字可选,不填的话会默认生成;range 必填。Id 长度为10,由 0-9、a-z、A-Z 组合生成。名字长度不超过100。单个子表内的筛选视图个数不超过 150。
func (*CreateSpreadsheetSheetFilterViewReqBuilder) SheetId ¶
func (builder *CreateSpreadsheetSheetFilterViewReqBuilder) SheetId(sheetId string) *CreateSpreadsheetSheetFilterViewReqBuilder
子表 id
示例值:0b**12
func (*CreateSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken ¶
func (builder *CreateSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken(spreadsheetToken string) *CreateSpreadsheetSheetFilterViewReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type CreateSpreadsheetSheetFilterViewResp ¶
type CreateSpreadsheetSheetFilterViewResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateSpreadsheetSheetFilterViewRespData `json:"data"` // 业务数据 }
func (*CreateSpreadsheetSheetFilterViewResp) Success ¶
func (resp *CreateSpreadsheetSheetFilterViewResp) Success() bool
type CreateSpreadsheetSheetFilterViewRespData ¶
type CreateSpreadsheetSheetFilterViewRespData struct {
FilterView *FilterView `json:"filter_view,omitempty"` // 创建的筛选视图的 id 、name、range
}
type CreateSpreadsheetSheetFloatImageReq ¶
type CreateSpreadsheetSheetFloatImageReq struct { FloatImage *FloatImage `body:""` // contains filtered or unexported fields }
type CreateSpreadsheetSheetFloatImageReqBuilder ¶
type CreateSpreadsheetSheetFloatImageReqBuilder struct {
// contains filtered or unexported fields
}
func NewCreateSpreadsheetSheetFloatImageReqBuilder ¶
func NewCreateSpreadsheetSheetFloatImageReqBuilder() *CreateSpreadsheetSheetFloatImageReqBuilder
func (*CreateSpreadsheetSheetFloatImageReqBuilder) Build ¶
func (builder *CreateSpreadsheetSheetFloatImageReqBuilder) Build() *CreateSpreadsheetSheetFloatImageReq
func (*CreateSpreadsheetSheetFloatImageReqBuilder) FloatImage ¶
func (builder *CreateSpreadsheetSheetFloatImageReqBuilder) FloatImage(floatImage *FloatImage) *CreateSpreadsheetSheetFloatImageReqBuilder
根据传入的参数创建一张浮动图片。Float_image_token ([上传图片至表格后得到](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/drive-v1/media/upload_all))和range(只支持一个单元格) 必填。Float_image_id 可选,不填的话会默认生成,长度为10,由 0-9、a-z、A-Z 组合生成。表格内不重复的图片(浮动图片+单元格图片)总数不超过4000。width 和 height 为图片展示的宽高,可选,不填的话会使用图片的真实宽高。offset_x 和 offset_y 为图片左上角距离所在单元格左上角的偏移,可选,默认为 0。
func (*CreateSpreadsheetSheetFloatImageReqBuilder) SheetId ¶
func (builder *CreateSpreadsheetSheetFloatImageReqBuilder) SheetId(sheetId string) *CreateSpreadsheetSheetFloatImageReqBuilder
子表 id
示例值:0b**12
func (*CreateSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken ¶
func (builder *CreateSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken(spreadsheetToken string) *CreateSpreadsheetSheetFloatImageReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type CreateSpreadsheetSheetFloatImageResp ¶
type CreateSpreadsheetSheetFloatImageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *CreateSpreadsheetSheetFloatImageRespData `json:"data"` // 业务数据 }
func (*CreateSpreadsheetSheetFloatImageResp) Success ¶
func (resp *CreateSpreadsheetSheetFloatImageResp) Success() bool
type CreateSpreadsheetSheetFloatImageRespData ¶
type CreateSpreadsheetSheetFloatImageRespData struct {
FloatImage *FloatImage `json:"float_image,omitempty"` // 浮动图片返回值
}
type DataValidation ¶
type DataValidation struct { DataValidationId *int `json:"data_validation_id,omitempty"` // 数据校验ID DataValidationRule *DataValidationRule `json:"data_validation_rule,omitempty"` // 数据校验规则 Strict *string `json:"strict,omitempty"` // 校验模式,数据非法时是否拒绝输入 HelpText *string `json:"help_text,omitempty"` // 输入提示 }
type DataValidationBuilder ¶
type DataValidationBuilder struct {
// contains filtered or unexported fields
}
func NewDataValidationBuilder ¶
func NewDataValidationBuilder() *DataValidationBuilder
func (*DataValidationBuilder) Build ¶
func (builder *DataValidationBuilder) Build() *DataValidation
func (*DataValidationBuilder) DataValidationId ¶
func (builder *DataValidationBuilder) DataValidationId(dataValidationId int) *DataValidationBuilder
数据校验ID
示例值:1
func (*DataValidationBuilder) DataValidationRule ¶
func (builder *DataValidationBuilder) DataValidationRule(dataValidationRule *DataValidationRule) *DataValidationBuilder
数据校验规则
示例值:
func (*DataValidationBuilder) HelpText ¶
func (builder *DataValidationBuilder) HelpText(helpText string) *DataValidationBuilder
输入提示
示例值:number between 1 and 2
func (*DataValidationBuilder) Strict ¶
func (builder *DataValidationBuilder) Strict(strict string) *DataValidationBuilder
校验模式,数据非法时是否拒绝输入
示例值:true
type DataValidationRule ¶
type DataValidationRule struct { Type *string `json:"type,omitempty"` // 数据校验类型 SingleOption *SingleOption `json:"single_option,omitempty"` // 单选 MultipleOption *MultipleOption `json:"multiple_option,omitempty"` // 多选 }
type DataValidationRuleBuilder ¶
type DataValidationRuleBuilder struct {
// contains filtered or unexported fields
}
func NewDataValidationRuleBuilder ¶
func NewDataValidationRuleBuilder() *DataValidationRuleBuilder
func (*DataValidationRuleBuilder) Build ¶
func (builder *DataValidationRuleBuilder) Build() *DataValidationRule
func (*DataValidationRuleBuilder) MultipleOption ¶
func (builder *DataValidationRuleBuilder) MultipleOption(multipleOption *MultipleOption) *DataValidationRuleBuilder
多选
示例值:
func (*DataValidationRuleBuilder) SingleOption ¶
func (builder *DataValidationRuleBuilder) SingleOption(singleOption *SingleOption) *DataValidationRuleBuilder
单选
示例值:
func (*DataValidationRuleBuilder) Type ¶
func (builder *DataValidationRuleBuilder) Type(type_ string) *DataValidationRuleBuilder
数据校验类型
示例值:SingleOption
type DataValidationValue ¶
type DataValidationValueBuilder ¶
type DataValidationValueBuilder struct {
// contains filtered or unexported fields
}
func NewDataValidationValueBuilder ¶
func NewDataValidationValueBuilder() *DataValidationValueBuilder
func (*DataValidationValueBuilder) Build ¶
func (builder *DataValidationValueBuilder) Build() *DataValidationValue
func (*DataValidationValueBuilder) OptionColor ¶
func (builder *DataValidationValueBuilder) OptionColor(optionColor string) *DataValidationValueBuilder
选项颜色
示例值:#ff00ff
func (*DataValidationValueBuilder) OptionValue ¶
func (builder *DataValidationValueBuilder) OptionValue(optionValue string) *DataValidationValueBuilder
选项值
示例值:Option1
type DateTimeBuilder ¶
type DateTimeBuilder struct {
// contains filtered or unexported fields
}
func NewDateTimeBuilder ¶
func NewDateTimeBuilder() *DateTimeBuilder
func (*DateTimeBuilder) Build ¶
func (builder *DateTimeBuilder) Build() *DateTime
func (*DateTimeBuilder) DateTime ¶
func (builder *DateTimeBuilder) DateTime(dateTime string) *DateTimeBuilder
时间日期
示例值:2022/02/22
type DeleteSpreadsheetSheetFilterReq ¶
type DeleteSpreadsheetSheetFilterReq struct {
// contains filtered or unexported fields
}
type DeleteSpreadsheetSheetFilterReqBuilder ¶
type DeleteSpreadsheetSheetFilterReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteSpreadsheetSheetFilterReqBuilder ¶
func NewDeleteSpreadsheetSheetFilterReqBuilder() *DeleteSpreadsheetSheetFilterReqBuilder
func (*DeleteSpreadsheetSheetFilterReqBuilder) Build ¶
func (builder *DeleteSpreadsheetSheetFilterReqBuilder) Build() *DeleteSpreadsheetSheetFilterReq
func (*DeleteSpreadsheetSheetFilterReqBuilder) SheetId ¶
func (builder *DeleteSpreadsheetSheetFilterReqBuilder) SheetId(sheetId string) *DeleteSpreadsheetSheetFilterReqBuilder
子表 id
示例值:0b\**12
func (*DeleteSpreadsheetSheetFilterReqBuilder) SpreadsheetToken ¶
func (builder *DeleteSpreadsheetSheetFilterReqBuilder) SpreadsheetToken(spreadsheetToken string) *DeleteSpreadsheetSheetFilterReqBuilder
表格 token
示例值:shtcnmBA\*****yGehy8
type DeleteSpreadsheetSheetFilterResp ¶
type DeleteSpreadsheetSheetFilterResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteSpreadsheetSheetFilterResp) Success ¶
func (resp *DeleteSpreadsheetSheetFilterResp) Success() bool
type DeleteSpreadsheetSheetFilterViewConditionReq ¶
type DeleteSpreadsheetSheetFilterViewConditionReq struct {
// contains filtered or unexported fields
}
type DeleteSpreadsheetSheetFilterViewConditionReqBuilder ¶
type DeleteSpreadsheetSheetFilterViewConditionReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteSpreadsheetSheetFilterViewConditionReqBuilder ¶
func NewDeleteSpreadsheetSheetFilterViewConditionReqBuilder() *DeleteSpreadsheetSheetFilterViewConditionReqBuilder
func (*DeleteSpreadsheetSheetFilterViewConditionReqBuilder) Build ¶
func (builder *DeleteSpreadsheetSheetFilterViewConditionReqBuilder) Build() *DeleteSpreadsheetSheetFilterViewConditionReq
func (*DeleteSpreadsheetSheetFilterViewConditionReqBuilder) ConditionId ¶
func (builder *DeleteSpreadsheetSheetFilterViewConditionReqBuilder) ConditionId(conditionId string) *DeleteSpreadsheetSheetFilterViewConditionReqBuilder
筛选范围内的某列字母号
示例值:E
func (*DeleteSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId ¶
func (builder *DeleteSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId(filterViewId string) *DeleteSpreadsheetSheetFilterViewConditionReqBuilder
筛选视图 id
示例值:pH9hbVcCXA
func (*DeleteSpreadsheetSheetFilterViewConditionReqBuilder) SheetId ¶
func (builder *DeleteSpreadsheetSheetFilterViewConditionReqBuilder) SheetId(sheetId string) *DeleteSpreadsheetSheetFilterViewConditionReqBuilder
子表 id
示例值:0b**12
func (*DeleteSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken ¶
func (builder *DeleteSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken(spreadsheetToken string) *DeleteSpreadsheetSheetFilterViewConditionReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type DeleteSpreadsheetSheetFilterViewConditionResp ¶
type DeleteSpreadsheetSheetFilterViewConditionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteSpreadsheetSheetFilterViewConditionResp) Success ¶
func (resp *DeleteSpreadsheetSheetFilterViewConditionResp) Success() bool
type DeleteSpreadsheetSheetFilterViewReq ¶
type DeleteSpreadsheetSheetFilterViewReq struct {
// contains filtered or unexported fields
}
type DeleteSpreadsheetSheetFilterViewReqBuilder ¶
type DeleteSpreadsheetSheetFilterViewReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteSpreadsheetSheetFilterViewReqBuilder ¶
func NewDeleteSpreadsheetSheetFilterViewReqBuilder() *DeleteSpreadsheetSheetFilterViewReqBuilder
func (*DeleteSpreadsheetSheetFilterViewReqBuilder) Build ¶
func (builder *DeleteSpreadsheetSheetFilterViewReqBuilder) Build() *DeleteSpreadsheetSheetFilterViewReq
func (*DeleteSpreadsheetSheetFilterViewReqBuilder) FilterViewId ¶
func (builder *DeleteSpreadsheetSheetFilterViewReqBuilder) FilterViewId(filterViewId string) *DeleteSpreadsheetSheetFilterViewReqBuilder
筛选视图 id
示例值:pH9hbVcCXA
func (*DeleteSpreadsheetSheetFilterViewReqBuilder) SheetId ¶
func (builder *DeleteSpreadsheetSheetFilterViewReqBuilder) SheetId(sheetId string) *DeleteSpreadsheetSheetFilterViewReqBuilder
子表 id
示例值:0b**12
func (*DeleteSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken ¶
func (builder *DeleteSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken(spreadsheetToken string) *DeleteSpreadsheetSheetFilterViewReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type DeleteSpreadsheetSheetFilterViewResp ¶
type DeleteSpreadsheetSheetFilterViewResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteSpreadsheetSheetFilterViewResp) Success ¶
func (resp *DeleteSpreadsheetSheetFilterViewResp) Success() bool
type DeleteSpreadsheetSheetFloatImageReq ¶
type DeleteSpreadsheetSheetFloatImageReq struct {
// contains filtered or unexported fields
}
type DeleteSpreadsheetSheetFloatImageReqBuilder ¶
type DeleteSpreadsheetSheetFloatImageReqBuilder struct {
// contains filtered or unexported fields
}
func NewDeleteSpreadsheetSheetFloatImageReqBuilder ¶
func NewDeleteSpreadsheetSheetFloatImageReqBuilder() *DeleteSpreadsheetSheetFloatImageReqBuilder
func (*DeleteSpreadsheetSheetFloatImageReqBuilder) Build ¶
func (builder *DeleteSpreadsheetSheetFloatImageReqBuilder) Build() *DeleteSpreadsheetSheetFloatImageReq
func (*DeleteSpreadsheetSheetFloatImageReqBuilder) FloatImageId ¶
func (builder *DeleteSpreadsheetSheetFloatImageReqBuilder) FloatImageId(floatImageId string) *DeleteSpreadsheetSheetFloatImageReqBuilder
浮动图片 id
示例值:ye06SS14ph
func (*DeleteSpreadsheetSheetFloatImageReqBuilder) SheetId ¶
func (builder *DeleteSpreadsheetSheetFloatImageReqBuilder) SheetId(sheetId string) *DeleteSpreadsheetSheetFloatImageReqBuilder
子表 id
示例值:0b**12
func (*DeleteSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken ¶
func (builder *DeleteSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken(spreadsheetToken string) *DeleteSpreadsheetSheetFloatImageReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type DeleteSpreadsheetSheetFloatImageResp ¶
type DeleteSpreadsheetSheetFloatImageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*DeleteSpreadsheetSheetFloatImageResp) Success ¶
func (resp *DeleteSpreadsheetSheetFloatImageResp) Success() bool
type DepartmentId ¶
type DepartmentIdBuilder ¶
type DepartmentIdBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentIdBuilder ¶
func NewDepartmentIdBuilder() *DepartmentIdBuilder
func (*DepartmentIdBuilder) Build ¶
func (builder *DepartmentIdBuilder) Build() *DepartmentId
func (*DepartmentIdBuilder) DepartmentId ¶
func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder
示例值:
func (*DepartmentIdBuilder) OpenDepartmentId ¶
func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder
示例值:
type DimensionBuilder ¶
type DimensionBuilder struct {
// contains filtered or unexported fields
}
func NewDimensionBuilder ¶
func NewDimensionBuilder() *DimensionBuilder
func (*DimensionBuilder) Build ¶
func (builder *DimensionBuilder) Build() *Dimension
func (*DimensionBuilder) EndIndex ¶
func (builder *DimensionBuilder) EndIndex(endIndex int) *DimensionBuilder
结束行或者列号
示例值:1
func (*DimensionBuilder) MajorDimension ¶
func (builder *DimensionBuilder) MajorDimension(majorDimension string) *DimensionBuilder
操作行还是列,取值:ROWS、COLUMNS
示例值:ROWS
func (*DimensionBuilder) StartIndex ¶
func (builder *DimensionBuilder) StartIndex(startIndex int) *DimensionBuilder
起始行或者列号
示例值:0
type DimensionProperties ¶
type DimensionPropertiesBuilder ¶
type DimensionPropertiesBuilder struct {
// contains filtered or unexported fields
}
func NewDimensionPropertiesBuilder ¶
func NewDimensionPropertiesBuilder() *DimensionPropertiesBuilder
func (*DimensionPropertiesBuilder) Build ¶
func (builder *DimensionPropertiesBuilder) Build() *DimensionProperties
func (*DimensionPropertiesBuilder) Hidden ¶
func (builder *DimensionPropertiesBuilder) Hidden(hidden bool) *DimensionPropertiesBuilder
是否隐藏
示例值:false
func (*DimensionPropertiesBuilder) PixelSize ¶
func (builder *DimensionPropertiesBuilder) PixelSize(pixelSize int) *DimensionPropertiesBuilder
行/列像素大小
示例值:100
type File ¶
type File struct { FileToken *string `json:"file_token,omitempty"` // 附件token Name *string `json:"name,omitempty"` // 附件名称 SegmentStyle *SegmentStyle `json:"segment_style,omitempty"` // }
type FileBuilder ¶
type FileBuilder struct {
// contains filtered or unexported fields
}
func NewFileBuilder ¶
func NewFileBuilder() *FileBuilder
func (*FileBuilder) Build ¶
func (builder *FileBuilder) Build() *File
func (*FileBuilder) FileToken ¶
func (builder *FileBuilder) FileToken(fileToken string) *FileBuilder
附件token
示例值:boxxxxxxx
func (*FileBuilder) Name ¶
func (builder *FileBuilder) Name(name string) *FileBuilder
附件名称
示例值:a.png
func (*FileBuilder) SegmentStyle ¶
func (builder *FileBuilder) SegmentStyle(segmentStyle *SegmentStyle) *FileBuilder
示例值:
type FilterInfo ¶
type FilterInfoBuilder ¶
type FilterInfoBuilder struct {
// contains filtered or unexported fields
}
func NewFilterInfoBuilder ¶
func NewFilterInfoBuilder() *FilterInfoBuilder
func (*FilterInfoBuilder) Build ¶
func (builder *FilterInfoBuilder) Build() *FilterInfo
func (*FilterInfoBuilder) Col ¶
func (builder *FilterInfoBuilder) Col(col string) *FilterInfoBuilder
设置了筛选条件的列
示例值:E
func (*FilterInfoBuilder) Conditions ¶
func (builder *FilterInfoBuilder) Conditions(conditions []*Condition) *FilterInfoBuilder
筛选条件
示例值:
type FilterView ¶
type FilterViewBuilder ¶
type FilterViewBuilder struct {
// contains filtered or unexported fields
}
func NewFilterViewBuilder ¶
func NewFilterViewBuilder() *FilterViewBuilder
func (*FilterViewBuilder) Build ¶
func (builder *FilterViewBuilder) Build() *FilterView
func (*FilterViewBuilder) FilterViewId ¶
func (builder *FilterViewBuilder) FilterViewId(filterViewId string) *FilterViewBuilder
筛选视图 id
示例值:pH9hbVcCXA
func (*FilterViewBuilder) FilterViewName ¶
func (builder *FilterViewBuilder) FilterViewName(filterViewName string) *FilterViewBuilder
筛选视图名字
示例值:筛选视图 1
func (*FilterViewBuilder) Range ¶
func (builder *FilterViewBuilder) Range(range_ string) *FilterViewBuilder
筛选视图的筛选范围
示例值:0b**12!C1:H14
type FilterViewCondition ¶
type FilterViewConditionBuilder ¶
type FilterViewConditionBuilder struct {
// contains filtered or unexported fields
}
func NewFilterViewConditionBuilder ¶
func NewFilterViewConditionBuilder() *FilterViewConditionBuilder
func (*FilterViewConditionBuilder) Build ¶
func (builder *FilterViewConditionBuilder) Build() *FilterViewCondition
func (*FilterViewConditionBuilder) CompareType ¶
func (builder *FilterViewConditionBuilder) CompareType(compareType string) *FilterViewConditionBuilder
比较类型
示例值:less
func (*FilterViewConditionBuilder) ConditionId ¶
func (builder *FilterViewConditionBuilder) ConditionId(conditionId string) *FilterViewConditionBuilder
设置筛选条件的列,使用字母号
示例值:E
func (*FilterViewConditionBuilder) Expected ¶
func (builder *FilterViewConditionBuilder) Expected(expected []string) *FilterViewConditionBuilder
筛选参数
示例值:6
func (*FilterViewConditionBuilder) FilterType ¶
func (builder *FilterViewConditionBuilder) FilterType(filterType string) *FilterViewConditionBuilder
筛选类型
示例值:number
type Find ¶
type Find struct { FindCondition *FindCondition `json:"find_condition,omitempty"` // 查找条件 Find *string `json:"find,omitempty"` // 查找的字符串,当`search_by_regex`字段为 true 时,该字段为正则表达式 }
type FindBuilder ¶
type FindBuilder struct {
// contains filtered or unexported fields
}
func NewFindBuilder ¶
func NewFindBuilder() *FindBuilder
func (*FindBuilder) Build ¶
func (builder *FindBuilder) Build() *Find
func (*FindBuilder) Find ¶
func (builder *FindBuilder) Find(find string) *FindBuilder
查找的字符串,当`search_by_regex`字段为 true 时,该字段为正则表达式
示例值:如下;;- 普通查找示例: "hello";- 正则查找示例: "[A-Z]\w+"
func (*FindBuilder) FindCondition ¶
func (builder *FindBuilder) FindCondition(findCondition *FindCondition) *FindBuilder
查找条件
示例值:
type FindCondition ¶
type FindCondition struct { Range *string `json:"range,omitempty"` // 查找范围,参考 [名词解释 Range](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview) MatchCase *bool `json:"match_case,omitempty"` // 是否忽略大小写,默认为 false;- `true`:表示忽略字符串中字母大小写差异;- `false`:表示区分字符串中字母大小写 MatchEntireCell *bool `json:"match_entire_cell,omitempty"` // 是否完全匹配整个单元格,默认值为 false;- `true`:表示完全匹配单元格,比如 find 取值为 "hello",则单元格中的内容必须为 "hello";- `false`:表示允许部分匹配单元格,比如 find 取值为 "hello",则单元格中的内容包含 "hello" 即可 SearchByRegex *bool `json:"search_by_regex,omitempty"` // 是否为正则匹配,默认值为 false;- `true`:表示使用正则匹配;- `false`:表示不使用正则匹配 IncludeFormulas *bool `json:"include_formulas,omitempty"` // 是否仅搜索单元格公式,默认值为 false;- `true`:表示仅搜索单元格公式;- `false`:表示仅搜索单元格内容 }
type FindConditionBuilder ¶
type FindConditionBuilder struct {
// contains filtered or unexported fields
}
func NewFindConditionBuilder ¶
func NewFindConditionBuilder() *FindConditionBuilder
func (*FindConditionBuilder) Build ¶
func (builder *FindConditionBuilder) Build() *FindCondition
func (*FindConditionBuilder) IncludeFormulas ¶
func (builder *FindConditionBuilder) IncludeFormulas(includeFormulas bool) *FindConditionBuilder
是否仅搜索单元格公式,默认值为 false;- `true`:表示仅搜索单元格公式;- `false`:表示仅搜索单元格内容
示例值:false
func (*FindConditionBuilder) MatchCase ¶
func (builder *FindConditionBuilder) MatchCase(matchCase bool) *FindConditionBuilder
是否忽略大小写,默认为 false;- `true`:表示忽略字符串中字母大小写差异;- `false`:表示区分字符串中字母大小写
示例值:true
func (*FindConditionBuilder) MatchEntireCell ¶
func (builder *FindConditionBuilder) MatchEntireCell(matchEntireCell bool) *FindConditionBuilder
是否完全匹配整个单元格,默认值为 false;- `true`:表示完全匹配单元格,比如 find 取值为 "hello",则单元格中的内容必须为 "hello";- `false`:表示允许部分匹配单元格,比如 find 取值为 "hello",则单元格中的内容包含 "hello" 即可
示例值:false
func (*FindConditionBuilder) Range ¶
func (builder *FindConditionBuilder) Range(range_ string) *FindConditionBuilder
查找范围,参考 [名词解释 Range](https://open.feishu.cn/document/ukTMukTMukTM/uATMzUjLwEzM14CMxMTN/overview)
示例值:PNIfrm!A1:C5
func (*FindConditionBuilder) SearchByRegex ¶
func (builder *FindConditionBuilder) SearchByRegex(searchByRegex bool) *FindConditionBuilder
是否为正则匹配,默认值为 false;- `true`:表示使用正则匹配;- `false`:表示不使用正则匹配
示例值:false
type FindReplaceResult ¶
type FindReplaceResultBuilder ¶
type FindReplaceResultBuilder struct {
// contains filtered or unexported fields
}
func NewFindReplaceResultBuilder ¶
func NewFindReplaceResultBuilder() *FindReplaceResultBuilder
func (*FindReplaceResultBuilder) Build ¶
func (builder *FindReplaceResultBuilder) Build() *FindReplaceResult
func (*FindReplaceResultBuilder) MatchedCells ¶
func (builder *FindReplaceResultBuilder) MatchedCells(matchedCells []string) *FindReplaceResultBuilder
符合查找条件的单元格数组,不包含公式,例如["A1", "A2"...]
示例值:
func (*FindReplaceResultBuilder) MatchedFormulaCells ¶
func (builder *FindReplaceResultBuilder) MatchedFormulaCells(matchedFormulaCells []string) *FindReplaceResultBuilder
符合查找条件的含有公式的单元格数组,例如["B3", "H7"...]
示例值:
func (*FindReplaceResultBuilder) RowsCount ¶
func (builder *FindReplaceResultBuilder) RowsCount(rowsCount int) *FindReplaceResultBuilder
符合查找条件的总行数
示例值:2
type FindSpreadsheetSheetReq ¶
type FindSpreadsheetSheetReq struct { Find *Find `body:""` // contains filtered or unexported fields }
type FindSpreadsheetSheetReqBuilder ¶
type FindSpreadsheetSheetReqBuilder struct {
// contains filtered or unexported fields
}
func NewFindSpreadsheetSheetReqBuilder ¶
func NewFindSpreadsheetSheetReqBuilder() *FindSpreadsheetSheetReqBuilder
func (*FindSpreadsheetSheetReqBuilder) Build ¶
func (builder *FindSpreadsheetSheetReqBuilder) Build() *FindSpreadsheetSheetReq
func (*FindSpreadsheetSheetReqBuilder) Find ¶
func (builder *FindSpreadsheetSheetReqBuilder) Find(find *Find) *FindSpreadsheetSheetReqBuilder
在指定范围内查找符合查找条件的单元格。
func (*FindSpreadsheetSheetReqBuilder) SheetId ¶
func (builder *FindSpreadsheetSheetReqBuilder) SheetId(sheetId string) *FindSpreadsheetSheetReqBuilder
工作表的id,获取方式见[获取工作表](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet/query)
示例值:0b**12
func (*FindSpreadsheetSheetReqBuilder) SpreadsheetToken ¶
func (builder *FindSpreadsheetSheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *FindSpreadsheetSheetReqBuilder
表格的token,获取方式见[如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)
示例值:shtcnmBA*****yGehy8
type FindSpreadsheetSheetResp ¶
type FindSpreadsheetSheetResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *FindSpreadsheetSheetRespData `json:"data"` // 业务数据 }
func (*FindSpreadsheetSheetResp) Success ¶
func (resp *FindSpreadsheetSheetResp) Success() bool
type FindSpreadsheetSheetRespData ¶
type FindSpreadsheetSheetRespData struct {
FindResult *FindReplaceResult `json:"find_result,omitempty"` // 符合条件的信息
}
type FloatImage ¶
type FloatImage struct { FloatImageId *string `json:"float_image_id,omitempty"` // 浮动图片 id FloatImageToken *string `json:"float_image_token,omitempty"` // 【更新时不用传,创建需要】浮动图片 token,需要先上传图片到表格获得此 token 之后再进行浮动图片的相关操作 Range *string `json:"range,omitempty"` // 浮动图片的左上角单元格定位,只支持一个单元格 Width *float64 `json:"width,omitempty"` // 浮动图片的宽度,大于等于 20px Height *float64 `json:"height,omitempty"` // 浮动图片的高度,大于等于 20px OffsetX *float64 `json:"offset_x,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的横向偏移,大于等于0且小于所在单元格的宽度 OffsetY *float64 `json:"offset_y,omitempty"` // 浮动图片左上角所在位置相对于所在单元格左上角的纵向偏移,大于等于0且小于所在单元格的高度 }
type FloatImageBuilder ¶
type FloatImageBuilder struct {
// contains filtered or unexported fields
}
func NewFloatImageBuilder ¶
func NewFloatImageBuilder() *FloatImageBuilder
func (*FloatImageBuilder) Build ¶
func (builder *FloatImageBuilder) Build() *FloatImage
func (*FloatImageBuilder) FloatImageId ¶
func (builder *FloatImageBuilder) FloatImageId(floatImageId string) *FloatImageBuilder
浮动图片 id
示例值:ye06SS14ph
func (*FloatImageBuilder) FloatImageToken ¶
func (builder *FloatImageBuilder) FloatImageToken(floatImageToken string) *FloatImageBuilder
【更新时不用传,创建需要】浮动图片 token,需要先上传图片到表格获得此 token 之后再进行浮动图片的相关操作
示例值:boxbcbQsaSqIXsxxxxx1HCPJFbh
func (*FloatImageBuilder) Height ¶
func (builder *FloatImageBuilder) Height(height float64) *FloatImageBuilder
浮动图片的高度,大于等于 20px
示例值:100
func (*FloatImageBuilder) OffsetX ¶
func (builder *FloatImageBuilder) OffsetX(offsetX float64) *FloatImageBuilder
浮动图片左上角所在位置相对于所在单元格左上角的横向偏移,大于等于0且小于所在单元格的宽度
示例值:0
func (*FloatImageBuilder) OffsetY ¶
func (builder *FloatImageBuilder) OffsetY(offsetY float64) *FloatImageBuilder
浮动图片左上角所在位置相对于所在单元格左上角的纵向偏移,大于等于0且小于所在单元格的高度
示例值:0
func (*FloatImageBuilder) Range ¶
func (builder *FloatImageBuilder) Range(range_ string) *FloatImageBuilder
浮动图片的左上角单元格定位,只支持一个单元格
示例值:0b**12!A1:A1
func (*FloatImageBuilder) Width ¶
func (builder *FloatImageBuilder) Width(width float64) *FloatImageBuilder
浮动图片的宽度,大于等于 20px
示例值:100
type FormulaBuilder ¶
type FormulaBuilder struct {
// contains filtered or unexported fields
}
func NewFormulaBuilder ¶
func NewFormulaBuilder() *FormulaBuilder
func (*FormulaBuilder) AffectedRange ¶
func (builder *FormulaBuilder) AffectedRange(affectedRange string) *FormulaBuilder
公式影响的范围
示例值:Xkhr2d!A1:B2
func (*FormulaBuilder) Build ¶
func (builder *FormulaBuilder) Build() *Formula
func (*FormulaBuilder) Formula ¶
func (builder *FormulaBuilder) Formula(formula string) *FormulaBuilder
公式
示例值:=SUM(A:A)
func (*FormulaBuilder) FormulaValue ¶
func (builder *FormulaBuilder) FormulaValue(formulaValue string) *FormulaBuilder
公式结果
示例值:123
type GetSpreadsheet ¶
type GetSpreadsheetBuilder ¶
type GetSpreadsheetBuilder struct {
// contains filtered or unexported fields
}
func NewGetSpreadsheetBuilder ¶
func NewGetSpreadsheetBuilder() *GetSpreadsheetBuilder
func (*GetSpreadsheetBuilder) Build ¶
func (builder *GetSpreadsheetBuilder) Build() *GetSpreadsheet
func (*GetSpreadsheetBuilder) OwnerId ¶
func (builder *GetSpreadsheetBuilder) OwnerId(ownerId string) *GetSpreadsheetBuilder
电子表格owner
示例值:ou_xxxxxxxxxxxx
func (*GetSpreadsheetBuilder) Title ¶
func (builder *GetSpreadsheetBuilder) Title(title string) *GetSpreadsheetBuilder
电子表格标题
示例值:title
func (*GetSpreadsheetBuilder) Token ¶
func (builder *GetSpreadsheetBuilder) Token(token string) *GetSpreadsheetBuilder
电子表格token
示例值:shtxxxxxxxxxxxxxx
func (*GetSpreadsheetBuilder) Url ¶
func (builder *GetSpreadsheetBuilder) Url(url string) *GetSpreadsheetBuilder
电子表格url
type GetSpreadsheetReq ¶
type GetSpreadsheetReq struct {
// contains filtered or unexported fields
}
type GetSpreadsheetReqBuilder ¶
type GetSpreadsheetReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetSpreadsheetReqBuilder ¶
func NewGetSpreadsheetReqBuilder() *GetSpreadsheetReqBuilder
func (*GetSpreadsheetReqBuilder) Build ¶
func (builder *GetSpreadsheetReqBuilder) Build() *GetSpreadsheetReq
func (*GetSpreadsheetReqBuilder) SpreadsheetToken ¶
func (builder *GetSpreadsheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *GetSpreadsheetReqBuilder
表格的token
示例值:shtxxxxxxxxxxxxxxx
func (*GetSpreadsheetReqBuilder) UserIdType ¶
func (builder *GetSpreadsheetReqBuilder) UserIdType(userIdType string) *GetSpreadsheetReqBuilder
此次调用中使用的用户ID的类型
示例值:
type GetSpreadsheetResp ¶
type GetSpreadsheetResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetSpreadsheetRespData `json:"data"` // 业务数据 }
func (*GetSpreadsheetResp) Success ¶
func (resp *GetSpreadsheetResp) Success() bool
type GetSpreadsheetRespData ¶
type GetSpreadsheetRespData struct {
Spreadsheet *GetSpreadsheet `json:"spreadsheet,omitempty"` // 电子表格属性
}
type GetSpreadsheetSheetFilterReq ¶
type GetSpreadsheetSheetFilterReq struct {
// contains filtered or unexported fields
}
type GetSpreadsheetSheetFilterReqBuilder ¶
type GetSpreadsheetSheetFilterReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetSpreadsheetSheetFilterReqBuilder ¶
func NewGetSpreadsheetSheetFilterReqBuilder() *GetSpreadsheetSheetFilterReqBuilder
func (*GetSpreadsheetSheetFilterReqBuilder) Build ¶
func (builder *GetSpreadsheetSheetFilterReqBuilder) Build() *GetSpreadsheetSheetFilterReq
func (*GetSpreadsheetSheetFilterReqBuilder) SheetId ¶
func (builder *GetSpreadsheetSheetFilterReqBuilder) SheetId(sheetId string) *GetSpreadsheetSheetFilterReqBuilder
子表 id
示例值:0b\**12
func (*GetSpreadsheetSheetFilterReqBuilder) SpreadsheetToken ¶
func (builder *GetSpreadsheetSheetFilterReqBuilder) SpreadsheetToken(spreadsheetToken string) *GetSpreadsheetSheetFilterReqBuilder
表格 token
示例值:shtcnmBA\*****yGehy8
type GetSpreadsheetSheetFilterResp ¶
type GetSpreadsheetSheetFilterResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetSpreadsheetSheetFilterRespData `json:"data"` // 业务数据 }
func (*GetSpreadsheetSheetFilterResp) Success ¶
func (resp *GetSpreadsheetSheetFilterResp) Success() bool
type GetSpreadsheetSheetFilterRespData ¶
type GetSpreadsheetSheetFilterRespData struct {
SheetFilterInfo *SheetFilterInfo `json:"sheet_filter_info,omitempty"` // 筛选信息
}
type GetSpreadsheetSheetFilterViewConditionReq ¶
type GetSpreadsheetSheetFilterViewConditionReq struct {
// contains filtered or unexported fields
}
type GetSpreadsheetSheetFilterViewConditionReqBuilder ¶
type GetSpreadsheetSheetFilterViewConditionReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetSpreadsheetSheetFilterViewConditionReqBuilder ¶
func NewGetSpreadsheetSheetFilterViewConditionReqBuilder() *GetSpreadsheetSheetFilterViewConditionReqBuilder
func (*GetSpreadsheetSheetFilterViewConditionReqBuilder) Build ¶
func (builder *GetSpreadsheetSheetFilterViewConditionReqBuilder) Build() *GetSpreadsheetSheetFilterViewConditionReq
func (*GetSpreadsheetSheetFilterViewConditionReqBuilder) ConditionId ¶
func (builder *GetSpreadsheetSheetFilterViewConditionReqBuilder) ConditionId(conditionId string) *GetSpreadsheetSheetFilterViewConditionReqBuilder
需要查询筛选条件的列字母号
示例值:E
func (*GetSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId ¶
func (builder *GetSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId(filterViewId string) *GetSpreadsheetSheetFilterViewConditionReqBuilder
筛选视图 id
示例值:pH9hbVcCXA
func (*GetSpreadsheetSheetFilterViewConditionReqBuilder) SheetId ¶
func (builder *GetSpreadsheetSheetFilterViewConditionReqBuilder) SheetId(sheetId string) *GetSpreadsheetSheetFilterViewConditionReqBuilder
子表 id
示例值:0b**12
func (*GetSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken ¶
func (builder *GetSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken(spreadsheetToken string) *GetSpreadsheetSheetFilterViewConditionReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type GetSpreadsheetSheetFilterViewConditionResp ¶
type GetSpreadsheetSheetFilterViewConditionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetSpreadsheetSheetFilterViewConditionRespData `json:"data"` // 业务数据 }
func (*GetSpreadsheetSheetFilterViewConditionResp) Success ¶
func (resp *GetSpreadsheetSheetFilterViewConditionResp) Success() bool
type GetSpreadsheetSheetFilterViewConditionRespData ¶
type GetSpreadsheetSheetFilterViewConditionRespData struct {
Condition *FilterViewCondition `json:"condition,omitempty"` // 筛选的条件
}
type GetSpreadsheetSheetFilterViewReq ¶
type GetSpreadsheetSheetFilterViewReq struct {
// contains filtered or unexported fields
}
type GetSpreadsheetSheetFilterViewReqBuilder ¶
type GetSpreadsheetSheetFilterViewReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetSpreadsheetSheetFilterViewReqBuilder ¶
func NewGetSpreadsheetSheetFilterViewReqBuilder() *GetSpreadsheetSheetFilterViewReqBuilder
func (*GetSpreadsheetSheetFilterViewReqBuilder) Build ¶
func (builder *GetSpreadsheetSheetFilterViewReqBuilder) Build() *GetSpreadsheetSheetFilterViewReq
func (*GetSpreadsheetSheetFilterViewReqBuilder) FilterViewId ¶
func (builder *GetSpreadsheetSheetFilterViewReqBuilder) FilterViewId(filterViewId string) *GetSpreadsheetSheetFilterViewReqBuilder
筛选视图 id
示例值:pH9hbVcCXA
func (*GetSpreadsheetSheetFilterViewReqBuilder) SheetId ¶
func (builder *GetSpreadsheetSheetFilterViewReqBuilder) SheetId(sheetId string) *GetSpreadsheetSheetFilterViewReqBuilder
子表 id
示例值:0b**12
func (*GetSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken ¶
func (builder *GetSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken(spreadsheetToken string) *GetSpreadsheetSheetFilterViewReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type GetSpreadsheetSheetFilterViewResp ¶
type GetSpreadsheetSheetFilterViewResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetSpreadsheetSheetFilterViewRespData `json:"data"` // 业务数据 }
func (*GetSpreadsheetSheetFilterViewResp) Success ¶
func (resp *GetSpreadsheetSheetFilterViewResp) Success() bool
type GetSpreadsheetSheetFilterViewRespData ¶
type GetSpreadsheetSheetFilterViewRespData struct {
FilterView *FilterView `json:"filter_view,omitempty"` // 筛选视图信息,包括 id、name、range
}
type GetSpreadsheetSheetFloatImageReq ¶
type GetSpreadsheetSheetFloatImageReq struct {
// contains filtered or unexported fields
}
type GetSpreadsheetSheetFloatImageReqBuilder ¶
type GetSpreadsheetSheetFloatImageReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetSpreadsheetSheetFloatImageReqBuilder ¶
func NewGetSpreadsheetSheetFloatImageReqBuilder() *GetSpreadsheetSheetFloatImageReqBuilder
func (*GetSpreadsheetSheetFloatImageReqBuilder) Build ¶
func (builder *GetSpreadsheetSheetFloatImageReqBuilder) Build() *GetSpreadsheetSheetFloatImageReq
func (*GetSpreadsheetSheetFloatImageReqBuilder) FloatImageId ¶
func (builder *GetSpreadsheetSheetFloatImageReqBuilder) FloatImageId(floatImageId string) *GetSpreadsheetSheetFloatImageReqBuilder
浮动图片 id
示例值:ye06SS14ph
func (*GetSpreadsheetSheetFloatImageReqBuilder) SheetId ¶
func (builder *GetSpreadsheetSheetFloatImageReqBuilder) SheetId(sheetId string) *GetSpreadsheetSheetFloatImageReqBuilder
子表 id
示例值:0b**12
func (*GetSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken ¶
func (builder *GetSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken(spreadsheetToken string) *GetSpreadsheetSheetFloatImageReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type GetSpreadsheetSheetFloatImageResp ¶
type GetSpreadsheetSheetFloatImageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetSpreadsheetSheetFloatImageRespData `json:"data"` // 业务数据 }
func (*GetSpreadsheetSheetFloatImageResp) Success ¶
func (resp *GetSpreadsheetSheetFloatImageResp) Success() bool
type GetSpreadsheetSheetFloatImageRespData ¶
type GetSpreadsheetSheetFloatImageRespData struct {
FloatImage *FloatImage `json:"float_image,omitempty"` // 浮动图片信息
}
type GetSpreadsheetSheetReq ¶
type GetSpreadsheetSheetReq struct {
// contains filtered or unexported fields
}
type GetSpreadsheetSheetReqBuilder ¶
type GetSpreadsheetSheetReqBuilder struct {
// contains filtered or unexported fields
}
func NewGetSpreadsheetSheetReqBuilder ¶
func NewGetSpreadsheetSheetReqBuilder() *GetSpreadsheetSheetReqBuilder
func (*GetSpreadsheetSheetReqBuilder) Build ¶
func (builder *GetSpreadsheetSheetReqBuilder) Build() *GetSpreadsheetSheetReq
func (*GetSpreadsheetSheetReqBuilder) SheetId ¶
func (builder *GetSpreadsheetSheetReqBuilder) SheetId(sheetId string) *GetSpreadsheetSheetReqBuilder
工作表的id,获取方式见[获取工作表](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet/query)
示例值:giDk9k
func (*GetSpreadsheetSheetReqBuilder) SpreadsheetToken ¶
func (builder *GetSpreadsheetSheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *GetSpreadsheetSheetReqBuilder
表格的token,获取方式见[如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)
示例值:shtxxxxxxxxxxxxxxx
type GetSpreadsheetSheetResp ¶
type GetSpreadsheetSheetResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *GetSpreadsheetSheetRespData `json:"data"` // 业务数据 }
func (*GetSpreadsheetSheetResp) Success ¶
func (resp *GetSpreadsheetSheetResp) Success() bool
type GetSpreadsheetSheetRespData ¶
type GetSpreadsheetSheetRespData struct {
Sheet *Sheet `json:"sheet,omitempty"` // 工作表
}
type GridProperties ¶
type GridPropertiesBuilder ¶
type GridPropertiesBuilder struct {
// contains filtered or unexported fields
}
func NewGridPropertiesBuilder ¶
func NewGridPropertiesBuilder() *GridPropertiesBuilder
func (*GridPropertiesBuilder) Build ¶
func (builder *GridPropertiesBuilder) Build() *GridProperties
func (*GridPropertiesBuilder) ColumnCount ¶
func (builder *GridPropertiesBuilder) ColumnCount(columnCount int) *GridPropertiesBuilder
工作表的列数量
示例值:20
func (*GridPropertiesBuilder) FrozenColumnCount ¶
func (builder *GridPropertiesBuilder) FrozenColumnCount(frozenColumnCount int) *GridPropertiesBuilder
冻结的列数量
示例值:0
func (*GridPropertiesBuilder) FrozenRowCount ¶
func (builder *GridPropertiesBuilder) FrozenRowCount(frozenRowCount int) *GridPropertiesBuilder
冻结的行数量
示例值:0
func (*GridPropertiesBuilder) RowCount ¶
func (builder *GridPropertiesBuilder) RowCount(rowCount int) *GridPropertiesBuilder
工作表的行数
示例值:200
type ImageBuilder ¶
type ImageBuilder struct {
// contains filtered or unexported fields
}
func NewImageBuilder ¶
func NewImageBuilder() *ImageBuilder
func (*ImageBuilder) Build ¶
func (builder *ImageBuilder) Build() *Image
func (*ImageBuilder) ImageToken ¶
func (builder *ImageBuilder) ImageToken(imageToken string) *ImageBuilder
图片token
示例值:boxxxxxxxxxx
type InsertDimension ¶
type InsertDimensionBuilder ¶
type InsertDimensionBuilder struct {
// contains filtered or unexported fields
}
func NewInsertDimensionBuilder ¶
func NewInsertDimensionBuilder() *InsertDimensionBuilder
func (*InsertDimensionBuilder) Build ¶
func (builder *InsertDimensionBuilder) Build() *InsertDimension
func (*InsertDimensionBuilder) DimensionRange ¶
func (builder *InsertDimensionBuilder) DimensionRange(dimensionRange *Dimension) *InsertDimensionBuilder
行列操作的维度
示例值:
func (*InsertDimensionBuilder) InheritFrom ¶
func (builder *InsertDimensionBuilder) InheritFrom(inheritFrom string) *InsertDimensionBuilder
是否继承上/下一行/列样式
示例值:Before
type LeftBorderStyle ¶
type LeftBorderStyleBuilder ¶
type LeftBorderStyleBuilder struct {
// contains filtered or unexported fields
}
func NewLeftBorderStyleBuilder ¶
func NewLeftBorderStyleBuilder() *LeftBorderStyleBuilder
func (*LeftBorderStyleBuilder) Build ¶
func (builder *LeftBorderStyleBuilder) Build() *LeftBorderStyle
func (*LeftBorderStyleBuilder) Color ¶
func (builder *LeftBorderStyleBuilder) Color(color string) *LeftBorderStyleBuilder
边框颜色
示例值:#ff00ff
func (*LeftBorderStyleBuilder) Style ¶
func (builder *LeftBorderStyleBuilder) Style(style string) *LeftBorderStyleBuilder
边框样式
示例值:
type Link ¶
type Link struct { Text *string `json:"text,omitempty"` // 文本 Link *string `json:"link,omitempty"` // 链接 SegmentStyles []*SegmentStyle `json:"segment_styles,omitempty"` // }
type LinkBuilder ¶
type LinkBuilder struct {
// contains filtered or unexported fields
}
func NewLinkBuilder ¶
func NewLinkBuilder() *LinkBuilder
func (*LinkBuilder) Build ¶
func (builder *LinkBuilder) Build() *Link
func (*LinkBuilder) Link ¶
func (builder *LinkBuilder) Link(link string) *LinkBuilder
链接
示例值:www.xxxx.cn
func (*LinkBuilder) SegmentStyles ¶
func (builder *LinkBuilder) SegmentStyles(segmentStyles []*SegmentStyle) *LinkBuilder
示例值:
type MentionDocument ¶
type MentionDocument struct { Title *string `json:"title,omitempty"` // 文档标题 ObjectType *string `json:"object_type,omitempty"` // 文档类型 Token *string `json:"token,omitempty"` // 文档token SegmentStyle *SegmentStyle `json:"segment_style,omitempty"` // }
type MentionDocumentBuilder ¶
type MentionDocumentBuilder struct {
// contains filtered or unexported fields
}
func NewMentionDocumentBuilder ¶
func NewMentionDocumentBuilder() *MentionDocumentBuilder
func (*MentionDocumentBuilder) Build ¶
func (builder *MentionDocumentBuilder) Build() *MentionDocument
func (*MentionDocumentBuilder) ObjectType ¶
func (builder *MentionDocumentBuilder) ObjectType(objectType string) *MentionDocumentBuilder
文档类型
示例值:sheet
func (*MentionDocumentBuilder) SegmentStyle ¶
func (builder *MentionDocumentBuilder) SegmentStyle(segmentStyle *SegmentStyle) *MentionDocumentBuilder
示例值:
func (*MentionDocumentBuilder) Title ¶
func (builder *MentionDocumentBuilder) Title(title string) *MentionDocumentBuilder
文档标题
示例值:abc
func (*MentionDocumentBuilder) Token ¶
func (builder *MentionDocumentBuilder) Token(token string) *MentionDocumentBuilder
文档token
示例值:shtxxxxxxxxx
type MentionUser ¶
type MentionUser struct { Name *string `json:"name,omitempty"` // 用户名 UserId *string `json:"user_id,omitempty"` // 用户id Notify *bool `json:"notify,omitempty"` // 是否通知用户 SegmentStyle *SegmentStyle `json:"segment_style,omitempty"` // 局部样式 }
type MentionUserBuilder ¶
type MentionUserBuilder struct {
// contains filtered or unexported fields
}
func NewMentionUserBuilder ¶
func NewMentionUserBuilder() *MentionUserBuilder
func (*MentionUserBuilder) Build ¶
func (builder *MentionUserBuilder) Build() *MentionUser
func (*MentionUserBuilder) Name ¶
func (builder *MentionUserBuilder) Name(name string) *MentionUserBuilder
用户名
示例值:李四
func (*MentionUserBuilder) Notify ¶
func (builder *MentionUserBuilder) Notify(notify bool) *MentionUserBuilder
是否通知用户
示例值:true
func (*MentionUserBuilder) SegmentStyle ¶
func (builder *MentionUserBuilder) SegmentStyle(segmentStyle *SegmentStyle) *MentionUserBuilder
局部样式
示例值:
func (*MentionUserBuilder) UserId ¶
func (builder *MentionUserBuilder) UserId(userId string) *MentionUserBuilder
用户id
示例值:ou_xxxxxxx
type MergeCell ¶
type MergeCell struct { Range *MergeRange `json:"range,omitempty"` // 合并单元格的范围 MergeType *string `json:"merge_type,omitempty"` // 合并单元格类型 }
type MergeCellBuilder ¶
type MergeCellBuilder struct {
// contains filtered or unexported fields
}
func NewMergeCellBuilder ¶
func NewMergeCellBuilder() *MergeCellBuilder
func (*MergeCellBuilder) Build ¶
func (builder *MergeCellBuilder) Build() *MergeCell
func (*MergeCellBuilder) MergeType ¶
func (builder *MergeCellBuilder) MergeType(mergeType string) *MergeCellBuilder
合并单元格类型
示例值:MergeAll
func (*MergeCellBuilder) Range ¶
func (builder *MergeCellBuilder) Range(range_ *MergeRange) *MergeCellBuilder
合并单元格的范围
示例值:Zj2ts!A1:B2
type MergeRange ¶
type MergeRangeBuilder ¶
type MergeRangeBuilder struct {
// contains filtered or unexported fields
}
func NewMergeRangeBuilder ¶
func NewMergeRangeBuilder() *MergeRangeBuilder
func (*MergeRangeBuilder) Build ¶
func (builder *MergeRangeBuilder) Build() *MergeRange
func (*MergeRangeBuilder) EndColumnIndex ¶
func (builder *MergeRangeBuilder) EndColumnIndex(endColumnIndex int) *MergeRangeBuilder
结束列
示例值:0
func (*MergeRangeBuilder) EndRowIndex ¶
func (builder *MergeRangeBuilder) EndRowIndex(endRowIndex int) *MergeRangeBuilder
结束行
示例值:0
func (*MergeRangeBuilder) StartColumnIndex ¶
func (builder *MergeRangeBuilder) StartColumnIndex(startColumnIndex int) *MergeRangeBuilder
起始列
示例值:0
func (*MergeRangeBuilder) StartRowIndex ¶
func (builder *MergeRangeBuilder) StartRowIndex(startRowIndex int) *MergeRangeBuilder
起始行
示例值:0
type MoveDimension ¶
type MoveDimensionBuilder ¶
type MoveDimensionBuilder struct {
// contains filtered or unexported fields
}
func NewMoveDimensionBuilder ¶
func NewMoveDimensionBuilder() *MoveDimensionBuilder
func (*MoveDimensionBuilder) Build ¶
func (builder *MoveDimensionBuilder) Build() *MoveDimension
func (*MoveDimensionBuilder) DestinationIndex ¶
func (builder *MoveDimensionBuilder) DestinationIndex(destinationIndex int) *MoveDimensionBuilder
移动的目标位置行或者列号
示例值:4
func (*MoveDimensionBuilder) Source ¶
func (builder *MoveDimensionBuilder) Source(source *Dimension) *MoveDimensionBuilder
移动源位置参数
示例值:
type MoveDimensionSpreadsheetSheetReq ¶
type MoveDimensionSpreadsheetSheetReq struct { MoveDimension *MoveDimension `body:""` // contains filtered or unexported fields }
type MoveDimensionSpreadsheetSheetReqBuilder ¶
type MoveDimensionSpreadsheetSheetReqBuilder struct {
// contains filtered or unexported fields
}
func NewMoveDimensionSpreadsheetSheetReqBuilder ¶
func NewMoveDimensionSpreadsheetSheetReqBuilder() *MoveDimensionSpreadsheetSheetReqBuilder
func (*MoveDimensionSpreadsheetSheetReqBuilder) Build ¶
func (builder *MoveDimensionSpreadsheetSheetReqBuilder) Build() *MoveDimensionSpreadsheetSheetReq
func (*MoveDimensionSpreadsheetSheetReqBuilder) MoveDimension ¶
func (builder *MoveDimensionSpreadsheetSheetReqBuilder) MoveDimension(moveDimension *MoveDimension) *MoveDimensionSpreadsheetSheetReqBuilder
该接口用于移动行列,行列被移动到目标位置后,原本在目标位置的行列会对应右移或下移。
func (*MoveDimensionSpreadsheetSheetReqBuilder) SheetId ¶
func (builder *MoveDimensionSpreadsheetSheetReqBuilder) SheetId(sheetId string) *MoveDimensionSpreadsheetSheetReqBuilder
子表 id
示例值:0b\**12
func (*MoveDimensionSpreadsheetSheetReqBuilder) SpreadsheetToken ¶
func (builder *MoveDimensionSpreadsheetSheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *MoveDimensionSpreadsheetSheetReqBuilder
表格 token
示例值:shtcnmBA\*****yGehy8
type MoveDimensionSpreadsheetSheetResp ¶
type MoveDimensionSpreadsheetSheetResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*MoveDimensionSpreadsheetSheetResp) Success ¶
func (resp *MoveDimensionSpreadsheetSheetResp) Success() bool
type MultiRange ¶
type MultiRange struct {
Ranges []string `json:"ranges,omitempty"` // 同一个工作表的多个范围
}
type MultiRangeBuilder ¶
type MultiRangeBuilder struct {
// contains filtered or unexported fields
}
func NewMultiRangeBuilder ¶
func NewMultiRangeBuilder() *MultiRangeBuilder
func (*MultiRangeBuilder) Build ¶
func (builder *MultiRangeBuilder) Build() *MultiRange
func (*MultiRangeBuilder) Ranges ¶
func (builder *MultiRangeBuilder) Ranges(ranges []string) *MultiRangeBuilder
同一个工作表的多个范围
示例值:Sheet1!A1:B2
type MultipleOption ¶
type MultipleOption struct { Type *string `json:"type,omitempty"` // 多选类型 Range *string `json:"range,omitempty"` // 数据引用范围,当type=MultipleOfRange时必须有 DataValidationValues []*DataValidationValue `json:"data_validation_values,omitempty"` // 多选列表,当type=MultipleOfList时必须有 Properties *OptionProperties `json:"properties,omitempty"` // 属性 }
type MultipleOptionBuilder ¶
type MultipleOptionBuilder struct {
// contains filtered or unexported fields
}
func NewMultipleOptionBuilder ¶
func NewMultipleOptionBuilder() *MultipleOptionBuilder
func (*MultipleOptionBuilder) Build ¶
func (builder *MultipleOptionBuilder) Build() *MultipleOption
func (*MultipleOptionBuilder) DataValidationValues ¶
func (builder *MultipleOptionBuilder) DataValidationValues(dataValidationValues []*DataValidationValue) *MultipleOptionBuilder
多选列表,当type=MultipleOfList时必须有
示例值:
func (*MultipleOptionBuilder) Properties ¶
func (builder *MultipleOptionBuilder) Properties(properties *OptionProperties) *MultipleOptionBuilder
属性
示例值:
func (*MultipleOptionBuilder) Range ¶
func (builder *MultipleOptionBuilder) Range(range_ string) *MultipleOptionBuilder
数据引用范围,当type=MultipleOfRange时必须有
示例值:a8KL0B!A2:B3
func (*MultipleOptionBuilder) Type ¶
func (builder *MultipleOptionBuilder) Type(type_ string) *MultipleOptionBuilder
多选类型
示例值:OneOfList
type OptionProperties ¶
type OptionProperties struct {
ShowDropdownIcon *bool `json:"show_dropdown_icon,omitempty"` // 是否展示下拉按钮
}
type OptionPropertiesBuilder ¶
type OptionPropertiesBuilder struct {
// contains filtered or unexported fields
}
func NewOptionPropertiesBuilder ¶
func NewOptionPropertiesBuilder() *OptionPropertiesBuilder
func (*OptionPropertiesBuilder) Build ¶
func (builder *OptionPropertiesBuilder) Build() *OptionProperties
func (*OptionPropertiesBuilder) ShowDropdownIcon ¶
func (builder *OptionPropertiesBuilder) ShowDropdownIcon(showDropdownIcon bool) *OptionPropertiesBuilder
是否展示下拉按钮
示例值:true
type PatchConditionalFormat ¶
type PatchConditionalFormat struct { Ranges []*ConditionalFormatRange `json:"ranges,omitempty"` // 条件格式应用范围 ConditionalFormatRule *ConditionalFormatRule `json:"conditional_format_rule,omitempty"` // 条件格式规则 Index *int `json:"index,omitempty"` // 条件格式索引位置 }
type PatchConditionalFormatBuilder ¶
type PatchConditionalFormatBuilder struct {
// contains filtered or unexported fields
}
func NewPatchConditionalFormatBuilder ¶
func NewPatchConditionalFormatBuilder() *PatchConditionalFormatBuilder
func (*PatchConditionalFormatBuilder) Build ¶
func (builder *PatchConditionalFormatBuilder) Build() *PatchConditionalFormat
func (*PatchConditionalFormatBuilder) ConditionalFormatRule ¶
func (builder *PatchConditionalFormatBuilder) ConditionalFormatRule(conditionalFormatRule *ConditionalFormatRule) *PatchConditionalFormatBuilder
条件格式规则
示例值:
func (*PatchConditionalFormatBuilder) Index ¶
func (builder *PatchConditionalFormatBuilder) Index(index int) *PatchConditionalFormatBuilder
条件格式索引位置
示例值:0
func (*PatchConditionalFormatBuilder) Ranges ¶
func (builder *PatchConditionalFormatBuilder) Ranges(ranges []*ConditionalFormatRange) *PatchConditionalFormatBuilder
条件格式应用范围
示例值:
type PatchDataValidation ¶
type PatchDataValidation struct { DataValidationRule *DataValidationRule `json:"data_validation_rule,omitempty"` // 数据校验规则 Strict *bool `json:"strict,omitempty"` // 校验模式,数据非法时是否拒绝输入 HelpText *string `json:"help_text,omitempty"` // 帮助文本 }
type PatchDataValidationBuilder ¶
type PatchDataValidationBuilder struct {
// contains filtered or unexported fields
}
func NewPatchDataValidationBuilder ¶
func NewPatchDataValidationBuilder() *PatchDataValidationBuilder
func (*PatchDataValidationBuilder) Build ¶
func (builder *PatchDataValidationBuilder) Build() *PatchDataValidation
func (*PatchDataValidationBuilder) DataValidationRule ¶
func (builder *PatchDataValidationBuilder) DataValidationRule(dataValidationRule *DataValidationRule) *PatchDataValidationBuilder
数据校验规则
示例值:
func (*PatchDataValidationBuilder) HelpText ¶
func (builder *PatchDataValidationBuilder) HelpText(helpText string) *PatchDataValidationBuilder
帮助文本
示例值:
func (*PatchDataValidationBuilder) Strict ¶
func (builder *PatchDataValidationBuilder) Strict(strict bool) *PatchDataValidationBuilder
校验模式,数据非法时是否拒绝输入
示例值:true
type PatchProtectedRange ¶
type PatchProtectedRange struct { Description *string `json:"description,omitempty"` // 保护范围描述 ProtectedRows *ProtectedRows `json:"protected_rows,omitempty"` // 保护行范围 ProtectedColumns *ProtectedColumns `json:"protected_columns,omitempty"` // 保护列范围 }
type PatchProtectedRangeBuilder ¶
type PatchProtectedRangeBuilder struct {
// contains filtered or unexported fields
}
func NewPatchProtectedRangeBuilder ¶
func NewPatchProtectedRangeBuilder() *PatchProtectedRangeBuilder
func (*PatchProtectedRangeBuilder) Build ¶
func (builder *PatchProtectedRangeBuilder) Build() *PatchProtectedRange
func (*PatchProtectedRangeBuilder) Description ¶
func (builder *PatchProtectedRangeBuilder) Description(description string) *PatchProtectedRangeBuilder
保护范围描述
示例值:这是一个保护范围
func (*PatchProtectedRangeBuilder) ProtectedColumns ¶
func (builder *PatchProtectedRangeBuilder) ProtectedColumns(protectedColumns *ProtectedColumns) *PatchProtectedRangeBuilder
保护列范围
示例值:
func (*PatchProtectedRangeBuilder) ProtectedRows ¶
func (builder *PatchProtectedRangeBuilder) ProtectedRows(protectedRows *ProtectedRows) *PatchProtectedRangeBuilder
保护行范围
示例值:
type PatchProtectedRangeEditors ¶
type PatchProtectedRangeEditors struct { Type *string `json:"type,omitempty"` // 修改类型 AddEditors *ProtectedRangeEditors `json:"add_editors,omitempty"` // 增加可编辑人员 RemoveEditors *ProtectedRangeEditors `json:"remove_editors,omitempty"` // 删除可编辑人员 }
type PatchProtectedRangeEditorsBuilder ¶
type PatchProtectedRangeEditorsBuilder struct {
// contains filtered or unexported fields
}
func NewPatchProtectedRangeEditorsBuilder ¶
func NewPatchProtectedRangeEditorsBuilder() *PatchProtectedRangeEditorsBuilder
func (*PatchProtectedRangeEditorsBuilder) AddEditors ¶
func (builder *PatchProtectedRangeEditorsBuilder) AddEditors(addEditors *ProtectedRangeEditors) *PatchProtectedRangeEditorsBuilder
增加可编辑人员
示例值:
func (*PatchProtectedRangeEditorsBuilder) Build ¶
func (builder *PatchProtectedRangeEditorsBuilder) Build() *PatchProtectedRangeEditors
func (*PatchProtectedRangeEditorsBuilder) RemoveEditors ¶
func (builder *PatchProtectedRangeEditorsBuilder) RemoveEditors(removeEditors *ProtectedRangeEditors) *PatchProtectedRangeEditorsBuilder
删除可编辑人员
示例值:
func (*PatchProtectedRangeEditorsBuilder) Type ¶
func (builder *PatchProtectedRangeEditorsBuilder) Type(type_ string) *PatchProtectedRangeEditorsBuilder
修改类型
示例值:AddEditors
type PatchSpreadsheetReq ¶
type PatchSpreadsheetReq struct { UpdateSpreadsheetProperties *UpdateSpreadsheetProperties `body:""` // contains filtered or unexported fields }
type PatchSpreadsheetReqBuilder ¶
type PatchSpreadsheetReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchSpreadsheetReqBuilder ¶
func NewPatchSpreadsheetReqBuilder() *PatchSpreadsheetReqBuilder
func (*PatchSpreadsheetReqBuilder) Build ¶
func (builder *PatchSpreadsheetReqBuilder) Build() *PatchSpreadsheetReq
func (*PatchSpreadsheetReqBuilder) SpreadsheetToken ¶
func (builder *PatchSpreadsheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *PatchSpreadsheetReqBuilder
表格的token
示例值:shtxxxxxxxxxxxxxxx
func (*PatchSpreadsheetReqBuilder) UpdateSpreadsheetProperties ¶
func (builder *PatchSpreadsheetReqBuilder) UpdateSpreadsheetProperties(updateSpreadsheetProperties *UpdateSpreadsheetProperties) *PatchSpreadsheetReqBuilder
该接口用于修改电子表格的属性
type PatchSpreadsheetResp ¶
type PatchSpreadsheetResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*PatchSpreadsheetResp) Success ¶
func (resp *PatchSpreadsheetResp) Success() bool
type PatchSpreadsheetSheetFilterViewReq ¶
type PatchSpreadsheetSheetFilterViewReq struct { FilterView *FilterView `body:""` // contains filtered or unexported fields }
type PatchSpreadsheetSheetFilterViewReqBuilder ¶
type PatchSpreadsheetSheetFilterViewReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchSpreadsheetSheetFilterViewReqBuilder ¶
func NewPatchSpreadsheetSheetFilterViewReqBuilder() *PatchSpreadsheetSheetFilterViewReqBuilder
func (*PatchSpreadsheetSheetFilterViewReqBuilder) Build ¶
func (builder *PatchSpreadsheetSheetFilterViewReqBuilder) Build() *PatchSpreadsheetSheetFilterViewReq
func (*PatchSpreadsheetSheetFilterViewReqBuilder) FilterView ¶
func (builder *PatchSpreadsheetSheetFilterViewReqBuilder) FilterView(filterView *FilterView) *PatchSpreadsheetSheetFilterViewReqBuilder
更新筛选视图的名字或者筛选范围。名字长度不超过100,不能重复即子表内唯一;筛选范围不超过子表的最大范围。
func (*PatchSpreadsheetSheetFilterViewReqBuilder) FilterViewId ¶
func (builder *PatchSpreadsheetSheetFilterViewReqBuilder) FilterViewId(filterViewId string) *PatchSpreadsheetSheetFilterViewReqBuilder
筛选视图 id
示例值:pH9hbVcCXA
func (*PatchSpreadsheetSheetFilterViewReqBuilder) SheetId ¶
func (builder *PatchSpreadsheetSheetFilterViewReqBuilder) SheetId(sheetId string) *PatchSpreadsheetSheetFilterViewReqBuilder
子表 id
示例值:0b**12
func (*PatchSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken ¶
func (builder *PatchSpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken(spreadsheetToken string) *PatchSpreadsheetSheetFilterViewReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type PatchSpreadsheetSheetFilterViewResp ¶
type PatchSpreadsheetSheetFilterViewResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchSpreadsheetSheetFilterViewRespData `json:"data"` // 业务数据 }
func (*PatchSpreadsheetSheetFilterViewResp) Success ¶
func (resp *PatchSpreadsheetSheetFilterViewResp) Success() bool
type PatchSpreadsheetSheetFilterViewRespData ¶
type PatchSpreadsheetSheetFilterViewRespData struct {
FilterView *FilterView `json:"filter_view,omitempty"` // 更新后的筛选视图的 id 、name、range
}
type PatchSpreadsheetSheetFloatImageReq ¶
type PatchSpreadsheetSheetFloatImageReq struct { FloatImage *FloatImage `body:""` // contains filtered or unexported fields }
type PatchSpreadsheetSheetFloatImageReqBuilder ¶
type PatchSpreadsheetSheetFloatImageReqBuilder struct {
// contains filtered or unexported fields
}
func NewPatchSpreadsheetSheetFloatImageReqBuilder ¶
func NewPatchSpreadsheetSheetFloatImageReqBuilder() *PatchSpreadsheetSheetFloatImageReqBuilder
func (*PatchSpreadsheetSheetFloatImageReqBuilder) Build ¶
func (builder *PatchSpreadsheetSheetFloatImageReqBuilder) Build() *PatchSpreadsheetSheetFloatImageReq
func (*PatchSpreadsheetSheetFloatImageReqBuilder) FloatImage ¶
func (builder *PatchSpreadsheetSheetFloatImageReqBuilder) FloatImage(floatImage *FloatImage) *PatchSpreadsheetSheetFloatImageReqBuilder
更新已有的浮动图片位置和宽高,包括 range、width、height、offset_x 和 offset_y,不包括 float_image_id 和 float_image_token。
func (*PatchSpreadsheetSheetFloatImageReqBuilder) FloatImageId ¶
func (builder *PatchSpreadsheetSheetFloatImageReqBuilder) FloatImageId(floatImageId string) *PatchSpreadsheetSheetFloatImageReqBuilder
浮动图片 id
示例值:ye06SS14ph
func (*PatchSpreadsheetSheetFloatImageReqBuilder) SheetId ¶
func (builder *PatchSpreadsheetSheetFloatImageReqBuilder) SheetId(sheetId string) *PatchSpreadsheetSheetFloatImageReqBuilder
子表 id
示例值:0b**12
func (*PatchSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken ¶
func (builder *PatchSpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken(spreadsheetToken string) *PatchSpreadsheetSheetFloatImageReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type PatchSpreadsheetSheetFloatImageResp ¶
type PatchSpreadsheetSheetFloatImageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *PatchSpreadsheetSheetFloatImageRespData `json:"data"` // 业务数据 }
func (*PatchSpreadsheetSheetFloatImageResp) Success ¶
func (resp *PatchSpreadsheetSheetFloatImageResp) Success() bool
type PatchSpreadsheetSheetFloatImageRespData ¶
type PatchSpreadsheetSheetFloatImageRespData struct {
FloatImage *FloatImage `json:"float_image,omitempty"` // 浮动图片信息
}
type PlainTextValueRange ¶
type PlainTextValueRangeBuilder ¶
type PlainTextValueRangeBuilder struct {
// contains filtered or unexported fields
}
func NewPlainTextValueRangeBuilder ¶
func NewPlainTextValueRangeBuilder() *PlainTextValueRangeBuilder
func (*PlainTextValueRangeBuilder) Build ¶
func (builder *PlainTextValueRangeBuilder) Build() *PlainTextValueRange
func (*PlainTextValueRangeBuilder) Range ¶
func (builder *PlainTextValueRangeBuilder) Range(range_ string) *PlainTextValueRangeBuilder
范围
示例值:Sheet1!A1:B2
func (*PlainTextValueRangeBuilder) Values ¶
func (builder *PlainTextValueRangeBuilder) Values(values [][]string) *PlainTextValueRangeBuilder
数据
示例值:
type ProtectedColumns ¶
type ProtectedColumnsBuilder ¶
type ProtectedColumnsBuilder struct {
// contains filtered or unexported fields
}
func NewProtectedColumnsBuilder ¶
func NewProtectedColumnsBuilder() *ProtectedColumnsBuilder
func (*ProtectedColumnsBuilder) Build ¶
func (builder *ProtectedColumnsBuilder) Build() *ProtectedColumns
func (*ProtectedColumnsBuilder) EndIndex ¶
func (builder *ProtectedColumnsBuilder) EndIndex(endIndex int) *ProtectedColumnsBuilder
结束列
示例值:2
func (*ProtectedColumnsBuilder) SheetId ¶
func (builder *ProtectedColumnsBuilder) SheetId(sheetId string) *ProtectedColumnsBuilder
工作表ID
示例值:ah9IJ2
func (*ProtectedColumnsBuilder) StartIndex ¶
func (builder *ProtectedColumnsBuilder) StartIndex(startIndex int) *ProtectedColumnsBuilder
起始列
示例值:0
type ProtectedRange ¶
type ProtectedRange struct { ProtectedId *string `json:"protected_id,omitempty"` // 保护范围ID Description *string `json:"description,omitempty"` // 保护范围描述 ProtectedDimension *string `json:"protected_dimension,omitempty"` // 保护类型 ProtectedRows *ProtectedRows `json:"protected_rows,omitempty"` // 保护行范围 ProtectedColumns *ProtectedColumns `json:"protected_columns,omitempty"` // 保护列范围 ProtectedSheet *ProtectedSheet `json:"protected_sheet,omitempty"` // 保护工作表范围 Editors *ProtectedRangeEditors `json:"editors,omitempty"` // 保护范围可编辑用户 }
type ProtectedRangeBuilder ¶
type ProtectedRangeBuilder struct {
// contains filtered or unexported fields
}
func NewProtectedRangeBuilder ¶
func NewProtectedRangeBuilder() *ProtectedRangeBuilder
func (*ProtectedRangeBuilder) Build ¶
func (builder *ProtectedRangeBuilder) Build() *ProtectedRange
func (*ProtectedRangeBuilder) Description ¶
func (builder *ProtectedRangeBuilder) Description(description string) *ProtectedRangeBuilder
保护范围描述
示例值:这是一个保护范围
func (*ProtectedRangeBuilder) Editors ¶
func (builder *ProtectedRangeBuilder) Editors(editors *ProtectedRangeEditors) *ProtectedRangeBuilder
保护范围可编辑用户
示例值:
func (*ProtectedRangeBuilder) ProtectedColumns ¶
func (builder *ProtectedRangeBuilder) ProtectedColumns(protectedColumns *ProtectedColumns) *ProtectedRangeBuilder
保护列范围
示例值:
func (*ProtectedRangeBuilder) ProtectedDimension ¶
func (builder *ProtectedRangeBuilder) ProtectedDimension(protectedDimension string) *ProtectedRangeBuilder
保护类型
示例值:Rows
func (*ProtectedRangeBuilder) ProtectedId ¶
func (builder *ProtectedRangeBuilder) ProtectedId(protectedId string) *ProtectedRangeBuilder
保护范围ID
示例值:1650435126216662
func (*ProtectedRangeBuilder) ProtectedRows ¶
func (builder *ProtectedRangeBuilder) ProtectedRows(protectedRows *ProtectedRows) *ProtectedRangeBuilder
保护行范围
示例值:
func (*ProtectedRangeBuilder) ProtectedSheet ¶
func (builder *ProtectedRangeBuilder) ProtectedSheet(protectedSheet *ProtectedSheet) *ProtectedRangeBuilder
保护工作表范围
示例值:
type ProtectedRangeEditors ¶
type ProtectedRangeEditorsBuilder ¶
type ProtectedRangeEditorsBuilder struct {
// contains filtered or unexported fields
}
func NewProtectedRangeEditorsBuilder ¶
func NewProtectedRangeEditorsBuilder() *ProtectedRangeEditorsBuilder
func (*ProtectedRangeEditorsBuilder) Build ¶
func (builder *ProtectedRangeEditorsBuilder) Build() *ProtectedRangeEditors
func (*ProtectedRangeEditorsBuilder) Chats ¶
func (builder *ProtectedRangeEditorsBuilder) Chats(chats []string) *ProtectedRangeEditorsBuilder
可编辑群
示例值:
func (*ProtectedRangeEditorsBuilder) Departments ¶
func (builder *ProtectedRangeEditorsBuilder) Departments(departments []string) *ProtectedRangeEditorsBuilder
可编辑部门
示例值:
func (*ProtectedRangeEditorsBuilder) Users ¶
func (builder *ProtectedRangeEditorsBuilder) Users(users []string) *ProtectedRangeEditorsBuilder
可编辑人员
示例值:o
type ProtectedRows ¶
type ProtectedRowsBuilder ¶
type ProtectedRowsBuilder struct {
// contains filtered or unexported fields
}
func NewProtectedRowsBuilder ¶
func NewProtectedRowsBuilder() *ProtectedRowsBuilder
func (*ProtectedRowsBuilder) Build ¶
func (builder *ProtectedRowsBuilder) Build() *ProtectedRows
func (*ProtectedRowsBuilder) EndIndex ¶
func (builder *ProtectedRowsBuilder) EndIndex(endIndex int) *ProtectedRowsBuilder
结束行
示例值:0
func (*ProtectedRowsBuilder) SheetId ¶
func (builder *ProtectedRowsBuilder) SheetId(sheetId string) *ProtectedRowsBuilder
工作表ID
示例值:s92jkL
func (*ProtectedRowsBuilder) StartIndex ¶
func (builder *ProtectedRowsBuilder) StartIndex(startIndex int) *ProtectedRowsBuilder
起始行
示例值:0
type ProtectedSheet ¶
type ProtectedSheet struct {
SheetId *string `json:"sheet_id,omitempty"` // 工作表ID
}
type ProtectedSheetBuilder ¶
type ProtectedSheetBuilder struct {
// contains filtered or unexported fields
}
func NewProtectedSheetBuilder ¶
func NewProtectedSheetBuilder() *ProtectedSheetBuilder
func (*ProtectedSheetBuilder) Build ¶
func (builder *ProtectedSheetBuilder) Build() *ProtectedSheet
func (*ProtectedSheetBuilder) SheetId ¶
func (builder *ProtectedSheetBuilder) SheetId(sheetId string) *ProtectedSheetBuilder
工作表ID
示例值:Kd7L09
type QuerySpreadsheetSheetFilterViewConditionReq ¶
type QuerySpreadsheetSheetFilterViewConditionReq struct {
// contains filtered or unexported fields
}
type QuerySpreadsheetSheetFilterViewConditionReqBuilder ¶
type QuerySpreadsheetSheetFilterViewConditionReqBuilder struct {
// contains filtered or unexported fields
}
func NewQuerySpreadsheetSheetFilterViewConditionReqBuilder ¶
func NewQuerySpreadsheetSheetFilterViewConditionReqBuilder() *QuerySpreadsheetSheetFilterViewConditionReqBuilder
func (*QuerySpreadsheetSheetFilterViewConditionReqBuilder) Build ¶
func (builder *QuerySpreadsheetSheetFilterViewConditionReqBuilder) Build() *QuerySpreadsheetSheetFilterViewConditionReq
func (*QuerySpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId ¶
func (builder *QuerySpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId(filterViewId string) *QuerySpreadsheetSheetFilterViewConditionReqBuilder
筛选视图 id
示例值:pH9hbVcCXA
func (*QuerySpreadsheetSheetFilterViewConditionReqBuilder) SheetId ¶
func (builder *QuerySpreadsheetSheetFilterViewConditionReqBuilder) SheetId(sheetId string) *QuerySpreadsheetSheetFilterViewConditionReqBuilder
子表 id
示例值:0b**12
func (*QuerySpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken ¶
func (builder *QuerySpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken(spreadsheetToken string) *QuerySpreadsheetSheetFilterViewConditionReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type QuerySpreadsheetSheetFilterViewConditionResp ¶
type QuerySpreadsheetSheetFilterViewConditionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *QuerySpreadsheetSheetFilterViewConditionRespData `json:"data"` // 业务数据 }
func (*QuerySpreadsheetSheetFilterViewConditionResp) Success ¶
func (resp *QuerySpreadsheetSheetFilterViewConditionResp) Success() bool
type QuerySpreadsheetSheetFilterViewConditionRespData ¶
type QuerySpreadsheetSheetFilterViewConditionRespData struct {
Items []*FilterViewCondition `json:"items,omitempty"` // 筛选视图设置的所有筛选条件
}
type QuerySpreadsheetSheetFilterViewReq ¶
type QuerySpreadsheetSheetFilterViewReq struct {
// contains filtered or unexported fields
}
type QuerySpreadsheetSheetFilterViewReqBuilder ¶
type QuerySpreadsheetSheetFilterViewReqBuilder struct {
// contains filtered or unexported fields
}
func NewQuerySpreadsheetSheetFilterViewReqBuilder ¶
func NewQuerySpreadsheetSheetFilterViewReqBuilder() *QuerySpreadsheetSheetFilterViewReqBuilder
func (*QuerySpreadsheetSheetFilterViewReqBuilder) Build ¶
func (builder *QuerySpreadsheetSheetFilterViewReqBuilder) Build() *QuerySpreadsheetSheetFilterViewReq
func (*QuerySpreadsheetSheetFilterViewReqBuilder) SheetId ¶
func (builder *QuerySpreadsheetSheetFilterViewReqBuilder) SheetId(sheetId string) *QuerySpreadsheetSheetFilterViewReqBuilder
子表 id
示例值:0b**12
func (*QuerySpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken ¶
func (builder *QuerySpreadsheetSheetFilterViewReqBuilder) SpreadsheetToken(spreadsheetToken string) *QuerySpreadsheetSheetFilterViewReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type QuerySpreadsheetSheetFilterViewResp ¶
type QuerySpreadsheetSheetFilterViewResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *QuerySpreadsheetSheetFilterViewRespData `json:"data"` // 业务数据 }
func (*QuerySpreadsheetSheetFilterViewResp) Success ¶
func (resp *QuerySpreadsheetSheetFilterViewResp) Success() bool
type QuerySpreadsheetSheetFilterViewRespData ¶
type QuerySpreadsheetSheetFilterViewRespData struct {
Items []*FilterView `json:"items,omitempty"` // 子表的所有筛选视图信息,id、name、range
}
type QuerySpreadsheetSheetFloatImageReq ¶
type QuerySpreadsheetSheetFloatImageReq struct {
// contains filtered or unexported fields
}
type QuerySpreadsheetSheetFloatImageReqBuilder ¶
type QuerySpreadsheetSheetFloatImageReqBuilder struct {
// contains filtered or unexported fields
}
func NewQuerySpreadsheetSheetFloatImageReqBuilder ¶
func NewQuerySpreadsheetSheetFloatImageReqBuilder() *QuerySpreadsheetSheetFloatImageReqBuilder
func (*QuerySpreadsheetSheetFloatImageReqBuilder) Build ¶
func (builder *QuerySpreadsheetSheetFloatImageReqBuilder) Build() *QuerySpreadsheetSheetFloatImageReq
func (*QuerySpreadsheetSheetFloatImageReqBuilder) SheetId ¶
func (builder *QuerySpreadsheetSheetFloatImageReqBuilder) SheetId(sheetId string) *QuerySpreadsheetSheetFloatImageReqBuilder
子表 id
示例值:0b**12
func (*QuerySpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken ¶
func (builder *QuerySpreadsheetSheetFloatImageReqBuilder) SpreadsheetToken(spreadsheetToken string) *QuerySpreadsheetSheetFloatImageReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type QuerySpreadsheetSheetFloatImageResp ¶
type QuerySpreadsheetSheetFloatImageResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *QuerySpreadsheetSheetFloatImageRespData `json:"data"` // 业务数据 }
func (*QuerySpreadsheetSheetFloatImageResp) Success ¶
func (resp *QuerySpreadsheetSheetFloatImageResp) Success() bool
type QuerySpreadsheetSheetFloatImageRespData ¶
type QuerySpreadsheetSheetFloatImageRespData struct {
Items []*FloatImage `json:"items,omitempty"` // 子表的所有浮动图片信息
}
type QuerySpreadsheetSheetReq ¶
type QuerySpreadsheetSheetReq struct {
// contains filtered or unexported fields
}
type QuerySpreadsheetSheetReqBuilder ¶
type QuerySpreadsheetSheetReqBuilder struct {
// contains filtered or unexported fields
}
func NewQuerySpreadsheetSheetReqBuilder ¶
func NewQuerySpreadsheetSheetReqBuilder() *QuerySpreadsheetSheetReqBuilder
func (*QuerySpreadsheetSheetReqBuilder) Build ¶
func (builder *QuerySpreadsheetSheetReqBuilder) Build() *QuerySpreadsheetSheetReq
func (*QuerySpreadsheetSheetReqBuilder) SpreadsheetToken ¶
func (builder *QuerySpreadsheetSheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *QuerySpreadsheetSheetReqBuilder
电子表格的token
示例值:shtxxxxxxxxxxxxxxxx
type QuerySpreadsheetSheetResp ¶
type QuerySpreadsheetSheetResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *QuerySpreadsheetSheetRespData `json:"data"` // 业务数据 }
func (*QuerySpreadsheetSheetResp) Success ¶
func (resp *QuerySpreadsheetSheetResp) Success() bool
type QuerySpreadsheetSheetRespData ¶
type QuerySpreadsheetSheetRespData struct {
Sheets []*Sheet `json:"sheets,omitempty"` // 工作表列表
}
type ReminderBuilder ¶
type ReminderBuilder struct {
// contains filtered or unexported fields
}
func NewReminderBuilder ¶
func NewReminderBuilder() *ReminderBuilder
func (*ReminderBuilder) Build ¶
func (builder *ReminderBuilder) Build() *Reminder
func (*ReminderBuilder) NotifyDateTime ¶
func (builder *ReminderBuilder) NotifyDateTime(notifyDateTime string) *ReminderBuilder
时间日期
示例值:2022/2/2 13:33
func (*ReminderBuilder) NotifyStrategy ¶
func (builder *ReminderBuilder) NotifyStrategy(notifyStrategy string) *ReminderBuilder
提醒策略
示例值:AT_TIME
func (*ReminderBuilder) NotifyText ¶
func (builder *ReminderBuilder) NotifyText(notifyText string) *ReminderBuilder
提醒内容
示例值:hello
func (*ReminderBuilder) NotifyUserId ¶
func (builder *ReminderBuilder) NotifyUserId(notifyUserId []string) *ReminderBuilder
提醒人员
示例值:ou_xxxxxx
type Replace ¶
type Replace struct { FindCondition *FindCondition `json:"find_condition,omitempty"` // 查找条件 Find *string `json:"find,omitempty"` // 查找的字符串 Replacement *string `json:"replacement,omitempty"` // 替换的字符串 }
type ReplaceBuilder ¶
type ReplaceBuilder struct {
// contains filtered or unexported fields
}
func NewReplaceBuilder ¶
func NewReplaceBuilder() *ReplaceBuilder
func (*ReplaceBuilder) Build ¶
func (builder *ReplaceBuilder) Build() *Replace
func (*ReplaceBuilder) Find ¶
func (builder *ReplaceBuilder) Find(find string) *ReplaceBuilder
查找的字符串
示例值:hello
func (*ReplaceBuilder) FindCondition ¶
func (builder *ReplaceBuilder) FindCondition(findCondition *FindCondition) *ReplaceBuilder
查找条件
示例值:
func (*ReplaceBuilder) Replacement ¶
func (builder *ReplaceBuilder) Replacement(replacement string) *ReplaceBuilder
替换的字符串
示例值:world
type ReplaceSpreadsheetSheetReq ¶
type ReplaceSpreadsheetSheetReq struct { Replace *Replace `body:""` // contains filtered or unexported fields }
type ReplaceSpreadsheetSheetReqBuilder ¶
type ReplaceSpreadsheetSheetReqBuilder struct {
// contains filtered or unexported fields
}
func NewReplaceSpreadsheetSheetReqBuilder ¶
func NewReplaceSpreadsheetSheetReqBuilder() *ReplaceSpreadsheetSheetReqBuilder
func (*ReplaceSpreadsheetSheetReqBuilder) Build ¶
func (builder *ReplaceSpreadsheetSheetReqBuilder) Build() *ReplaceSpreadsheetSheetReq
func (*ReplaceSpreadsheetSheetReqBuilder) Replace ¶
func (builder *ReplaceSpreadsheetSheetReqBuilder) Replace(replace *Replace) *ReplaceSpreadsheetSheetReqBuilder
按照指定的条件查找子表的某个范围内的数据符合条件的单元格并替换值,返回替换成功的单元格位置。一次请求最多允许替换5000个单元格,如果超过请将range缩小范围再操作。请求体中的 range、find、replaccement 字段必填。
func (*ReplaceSpreadsheetSheetReqBuilder) SheetId ¶
func (builder *ReplaceSpreadsheetSheetReqBuilder) SheetId(sheetId string) *ReplaceSpreadsheetSheetReqBuilder
Sheet id
示例值:0b**12
func (*ReplaceSpreadsheetSheetReqBuilder) SpreadsheetToken ¶
func (builder *ReplaceSpreadsheetSheetReqBuilder) SpreadsheetToken(spreadsheetToken string) *ReplaceSpreadsheetSheetReqBuilder
Spreadsheet token
示例值:shtcnmBA*****yGehy8
type ReplaceSpreadsheetSheetResp ¶
type ReplaceSpreadsheetSheetResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ReplaceSpreadsheetSheetRespData `json:"data"` // 业务数据 }
func (*ReplaceSpreadsheetSheetResp) Success ¶
func (resp *ReplaceSpreadsheetSheetResp) Success() bool
type ReplaceSpreadsheetSheetRespData ¶
type ReplaceSpreadsheetSheetRespData struct {
ReplaceResult *FindReplaceResult `json:"replace_result,omitempty"` // 符合查找条件并替换的单元格信息
}
type RichTextValueRange ¶
type RichTextValueRangeBuilder ¶
type RichTextValueRangeBuilder struct {
// contains filtered or unexported fields
}
func NewRichTextValueRangeBuilder ¶
func NewRichTextValueRangeBuilder() *RichTextValueRangeBuilder
func (*RichTextValueRangeBuilder) Build ¶
func (builder *RichTextValueRangeBuilder) Build() *RichTextValueRange
func (*RichTextValueRangeBuilder) Range ¶
func (builder *RichTextValueRangeBuilder) Range(range_ string) *RichTextValueRangeBuilder
范围
示例值:Sheet1!A1:A2
func (*RichTextValueRangeBuilder) Values ¶
func (builder *RichTextValueRangeBuilder) Values(values [][][]*CellValue) *RichTextValueRangeBuilder
数据
示例值:
type RichValue ¶
type RichValue struct {
Values [][][]*CellValue `json:"values,omitempty"` // 数据,数据结构参见[单元格数据结构](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-value/cell-data-structure)
}
type RichValueBuilder ¶
type RichValueBuilder struct {
// contains filtered or unexported fields
}
func NewRichValueBuilder ¶
func NewRichValueBuilder() *RichValueBuilder
func (*RichValueBuilder) Build ¶
func (builder *RichValueBuilder) Build() *RichValue
func (*RichValueBuilder) Values ¶
func (builder *RichValueBuilder) Values(values [][][]*CellValue) *RichValueBuilder
数据,数据结构参见[单元格数据结构](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-value/cell-data-structure)
示例值:数据
type RightBorderStyle ¶
type RightBorderStyleBuilder ¶
type RightBorderStyleBuilder struct {
// contains filtered or unexported fields
}
func NewRightBorderStyleBuilder ¶
func NewRightBorderStyleBuilder() *RightBorderStyleBuilder
func (*RightBorderStyleBuilder) Build ¶
func (builder *RightBorderStyleBuilder) Build() *RightBorderStyle
func (*RightBorderStyleBuilder) Color ¶
func (builder *RightBorderStyleBuilder) Color(color string) *RightBorderStyleBuilder
边框颜色
示例值:#ff00ff
func (*RightBorderStyleBuilder) Style ¶
func (builder *RightBorderStyleBuilder) Style(style string) *RightBorderStyleBuilder
边框样式
示例值:
type SegmentStyle ¶
type SegmentStyle struct { AffectedText *string `json:"affected_text,omitempty"` // 影响的文本 Style *SegmentStyleStyle `json:"style,omitempty"` // 样式 }
type SegmentStyleBuilder ¶
type SegmentStyleBuilder struct {
// contains filtered or unexported fields
}
func NewSegmentStyleBuilder ¶
func NewSegmentStyleBuilder() *SegmentStyleBuilder
func (*SegmentStyleBuilder) AffectedText ¶
func (builder *SegmentStyleBuilder) AffectedText(affectedText string) *SegmentStyleBuilder
影响的文本
示例值:a
func (*SegmentStyleBuilder) Build ¶
func (builder *SegmentStyleBuilder) Build() *SegmentStyle
func (*SegmentStyleBuilder) Style ¶
func (builder *SegmentStyleBuilder) Style(style *SegmentStyleStyle) *SegmentStyleBuilder
样式
示例值:
type SegmentStyleStyle ¶
type SegmentStyleStyle struct { Bold *bool `json:"bold,omitempty"` // 加粗 Italic *bool `json:"italic,omitempty"` // 斜体 StrikeThrough *bool `json:"strike_through,omitempty"` // 删除线 Underline *bool `json:"underline,omitempty"` // 下划线 ForeColor *string `json:"fore_color,omitempty"` // 字体颜色 FontSize *int `json:"font_size,omitempty"` // 字体大小 }
type SegmentStyleStyleBuilder ¶
type SegmentStyleStyleBuilder struct {
// contains filtered or unexported fields
}
func NewSegmentStyleStyleBuilder ¶
func NewSegmentStyleStyleBuilder() *SegmentStyleStyleBuilder
func (*SegmentStyleStyleBuilder) Bold ¶
func (builder *SegmentStyleStyleBuilder) Bold(bold bool) *SegmentStyleStyleBuilder
加粗
示例值:true
func (*SegmentStyleStyleBuilder) Build ¶
func (builder *SegmentStyleStyleBuilder) Build() *SegmentStyleStyle
func (*SegmentStyleStyleBuilder) FontSize ¶
func (builder *SegmentStyleStyleBuilder) FontSize(fontSize int) *SegmentStyleStyleBuilder
字体大小
示例值:
func (*SegmentStyleStyleBuilder) ForeColor ¶
func (builder *SegmentStyleStyleBuilder) ForeColor(foreColor string) *SegmentStyleStyleBuilder
字体颜色
示例值:#ff00ff
func (*SegmentStyleStyleBuilder) Italic ¶
func (builder *SegmentStyleStyleBuilder) Italic(italic bool) *SegmentStyleStyleBuilder
斜体
示例值:true
func (*SegmentStyleStyleBuilder) StrikeThrough ¶
func (builder *SegmentStyleStyleBuilder) StrikeThrough(strikeThrough bool) *SegmentStyleStyleBuilder
删除线
示例值:true
func (*SegmentStyleStyleBuilder) Underline ¶
func (builder *SegmentStyleStyleBuilder) Underline(underline bool) *SegmentStyleStyleBuilder
下划线
示例值:true
type Sheet ¶
type Sheet struct { SheetId *string `json:"sheet_id,omitempty"` // 工作表id Title *string `json:"title,omitempty"` // 工作表标题 Index *int `json:"index,omitempty"` // 工作表索引位置,索引从 0 开始计数。 Hidden *bool `json:"hidden,omitempty"` // 工作表是否被隐藏;- `true`:表示被隐藏;- `false`:表示未被隐藏 GridProperties *GridProperties `json:"grid_properties,omitempty"` // 单元格属性 ResourceType *string `json:"resource_type,omitempty"` // 工作表类型;- `sheet`:工作表;- `bitable`:多维表格,[多维表格概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/bitable-overview);- `#UNSUPPORTED_TYPE`:不支持的类型 Merges []*MergeRange `json:"merges,omitempty"` // 合并单元格的相关信息 }
type SheetBuilder ¶
type SheetBuilder struct {
// contains filtered or unexported fields
}
func NewSheetBuilder ¶
func NewSheetBuilder() *SheetBuilder
func (*SheetBuilder) Build ¶
func (builder *SheetBuilder) Build() *Sheet
func (*SheetBuilder) GridProperties ¶
func (builder *SheetBuilder) GridProperties(gridProperties *GridProperties) *SheetBuilder
单元格属性
示例值:
func (*SheetBuilder) Hidden ¶
func (builder *SheetBuilder) Hidden(hidden bool) *SheetBuilder
工作表是否被隐藏;- `true`:表示被隐藏;- `false`:表示未被隐藏
示例值:false
func (*SheetBuilder) Index ¶
func (builder *SheetBuilder) Index(index int) *SheetBuilder
工作表索引位置,索引从 0 开始计数。
示例值:0
func (*SheetBuilder) Merges ¶
func (builder *SheetBuilder) Merges(merges []*MergeRange) *SheetBuilder
合并单元格的相关信息
示例值:
func (*SheetBuilder) ResourceType ¶
func (builder *SheetBuilder) ResourceType(resourceType string) *SheetBuilder
工作表类型;- `sheet`:工作表;- `bitable`:多维表格,[多维表格概述](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/bitable-overview);- `#UNSUPPORTED_TYPE`:不支持的类型
示例值:sheet
func (*SheetBuilder) SheetId ¶
func (builder *SheetBuilder) SheetId(sheetId string) *SheetBuilder
工作表id
示例值:sxj5ws
func (*SheetBuilder) Title ¶
func (builder *SheetBuilder) Title(title string) *SheetBuilder
工作表标题
示例值:title
type SheetFilterInfo ¶
type SheetFilterInfo struct { Range *string `json:"range,omitempty"` // 筛选应用范围 FilteredOutRows []int `json:"filtered_out_rows,omitempty"` // 筛选出来隐藏的行 FilterInfos []*FilterInfo `json:"filter_infos,omitempty"` // sheet的筛选条件 }
type SheetFilterInfoBuilder ¶
type SheetFilterInfoBuilder struct {
// contains filtered or unexported fields
}
func NewSheetFilterInfoBuilder ¶
func NewSheetFilterInfoBuilder() *SheetFilterInfoBuilder
func (*SheetFilterInfoBuilder) Build ¶
func (builder *SheetFilterInfoBuilder) Build() *SheetFilterInfo
func (*SheetFilterInfoBuilder) FilterInfos ¶
func (builder *SheetFilterInfoBuilder) FilterInfos(filterInfos []*FilterInfo) *SheetFilterInfoBuilder
sheet的筛选条件
示例值:
func (*SheetFilterInfoBuilder) FilteredOutRows ¶
func (builder *SheetFilterInfoBuilder) FilteredOutRows(filteredOutRows []int) *SheetFilterInfoBuilder
筛选出来隐藏的行
示例值:
func (*SheetFilterInfoBuilder) Range ¶
func (builder *SheetFilterInfoBuilder) Range(range_ string) *SheetFilterInfoBuilder
筛选应用范围
示例值:xxxxxx!A1:H14
type SheetProperties ¶
type SheetPropertiesBuilder ¶
type SheetPropertiesBuilder struct {
// contains filtered or unexported fields
}
func NewSheetPropertiesBuilder ¶
func NewSheetPropertiesBuilder() *SheetPropertiesBuilder
func (*SheetPropertiesBuilder) Build ¶
func (builder *SheetPropertiesBuilder) Build() *SheetProperties
func (*SheetPropertiesBuilder) ColumnCount ¶
func (builder *SheetPropertiesBuilder) ColumnCount(columnCount int) *SheetPropertiesBuilder
工作表列数
示例值:1
func (*SheetPropertiesBuilder) FrozenColumnCount ¶
func (builder *SheetPropertiesBuilder) FrozenColumnCount(frozenColumnCount int) *SheetPropertiesBuilder
冻结列数
示例值:1
func (*SheetPropertiesBuilder) FrozenRowCount ¶
func (builder *SheetPropertiesBuilder) FrozenRowCount(frozenRowCount int) *SheetPropertiesBuilder
冻结行数
示例值:1
func (*SheetPropertiesBuilder) RowCount ¶
func (builder *SheetPropertiesBuilder) RowCount(rowCount int) *SheetPropertiesBuilder
工作表行数
示例值:1
type SingleOption ¶
type SingleOption struct { Type *string `json:"type,omitempty"` // 单选类型 Range *string `json:"range,omitempty"` // 引用数据的范围,当type=OneOfRange时必须存在 DataValidationValues []*DataValidationValue `json:"data_validation_values,omitempty"` // 选项 Properties *OptionProperties `json:"properties,omitempty"` // 属性 }
type SingleOptionBuilder ¶
type SingleOptionBuilder struct {
// contains filtered or unexported fields
}
func NewSingleOptionBuilder ¶
func NewSingleOptionBuilder() *SingleOptionBuilder
func (*SingleOptionBuilder) Build ¶
func (builder *SingleOptionBuilder) Build() *SingleOption
func (*SingleOptionBuilder) DataValidationValues ¶
func (builder *SingleOptionBuilder) DataValidationValues(dataValidationValues []*DataValidationValue) *SingleOptionBuilder
选项
示例值:
func (*SingleOptionBuilder) Properties ¶
func (builder *SingleOptionBuilder) Properties(properties *OptionProperties) *SingleOptionBuilder
属性
示例值:
func (*SingleOptionBuilder) Range ¶
func (builder *SingleOptionBuilder) Range(range_ string) *SingleOptionBuilder
引用数据的范围,当type=OneOfRange时必须存在
示例值:as8jJ0!A1:B2
func (*SingleOptionBuilder) Type ¶
func (builder *SingleOptionBuilder) Type(type_ string) *SingleOptionBuilder
单选类型
示例值:OneOfList
type Spreadsheet ¶
type Spreadsheet struct { Title *string `json:"title,omitempty"` // 表格标题 FolderToken *string `json:"folder_token,omitempty"` // 文件夹token,获取方式见[如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN) Url *string `json:"url,omitempty"` // 文档url SpreadsheetToken *string `json:"spreadsheet_token,omitempty"` // 表格token }
type SpreadsheetBuilder ¶
type SpreadsheetBuilder struct {
// contains filtered or unexported fields
}
func NewSpreadsheetBuilder ¶
func NewSpreadsheetBuilder() *SpreadsheetBuilder
func (*SpreadsheetBuilder) Build ¶
func (builder *SpreadsheetBuilder) Build() *Spreadsheet
func (*SpreadsheetBuilder) FolderToken ¶
func (builder *SpreadsheetBuilder) FolderToken(folderToken string) *SpreadsheetBuilder
文件夹token,获取方式见[如何获取云文档资源相关 token](https://open.feishu.cn/document/ukTMukTMukTM/uczNzUjL3czM14yN3MTN)
示例值:fldcnMsNb*****hIW9IjG1LVswg
func (*SpreadsheetBuilder) SpreadsheetToken ¶
func (builder *SpreadsheetBuilder) SpreadsheetToken(spreadsheetToken string) *SpreadsheetBuilder
表格token
示例值:shtcnmBA*****yGehy8
func (*SpreadsheetBuilder) Title ¶
func (builder *SpreadsheetBuilder) Title(title string) *SpreadsheetBuilder
表格标题
示例值:title
func (*SpreadsheetBuilder) Url ¶
func (builder *SpreadsheetBuilder) Url(url string) *SpreadsheetBuilder
文档url
type StyleBuilder ¶
type StyleBuilder struct {
// contains filtered or unexported fields
}
func NewStyleBuilder ¶
func NewStyleBuilder() *StyleBuilder
func (*StyleBuilder) Build ¶
func (builder *StyleBuilder) Build() *Style
func (*StyleBuilder) Range ¶
func (builder *StyleBuilder) Range(range_ string) *StyleBuilder
范围
示例值:aokNvv
func (*StyleBuilder) Styles ¶
func (builder *StyleBuilder) Styles(styles [][]*CellStyle) *StyleBuilder
单元格样式
示例值:
type StyleRanges ¶
type StyleRanges struct {
StyleRanges []*Style `json:"style_ranges,omitempty"` // 单元格样式
}
type StyleRangesBuilder ¶
type StyleRangesBuilder struct {
// contains filtered or unexported fields
}
func NewStyleRangesBuilder ¶
func NewStyleRangesBuilder() *StyleRangesBuilder
func (*StyleRangesBuilder) Build ¶
func (builder *StyleRangesBuilder) Build() *StyleRanges
func (*StyleRangesBuilder) StyleRanges ¶
func (builder *StyleRangesBuilder) StyleRanges(styleRanges []*Style) *StyleRangesBuilder
单元格样式
示例值:
type Text ¶
type Text struct { Text *string `json:"text,omitempty"` // 文本值 SegmentStyle *SegmentStyle `json:"segment_style,omitempty"` // }
type TextBuilder ¶
type TextBuilder struct {
// contains filtered or unexported fields
}
func NewTextBuilder ¶
func NewTextBuilder() *TextBuilder
func (*TextBuilder) Build ¶
func (builder *TextBuilder) Build() *Text
func (*TextBuilder) SegmentStyle ¶
func (builder *TextBuilder) SegmentStyle(segmentStyle *SegmentStyle) *TextBuilder
示例值:
type TopBorderStyle ¶
type TopBorderStyleBuilder ¶
type TopBorderStyleBuilder struct {
// contains filtered or unexported fields
}
func NewTopBorderStyleBuilder ¶
func NewTopBorderStyleBuilder() *TopBorderStyleBuilder
func (*TopBorderStyleBuilder) Build ¶
func (builder *TopBorderStyleBuilder) Build() *TopBorderStyle
func (*TopBorderStyleBuilder) Color ¶
func (builder *TopBorderStyleBuilder) Color(color string) *TopBorderStyleBuilder
边框颜色
示例值:#ff00ff
func (*TopBorderStyleBuilder) Style ¶
func (builder *TopBorderStyleBuilder) Style(style string) *TopBorderStyleBuilder
边框样式
示例值:
type UpdateDimensionProperties ¶
type UpdateDimensionProperties struct { DimensionRange *Dimension `json:"dimension_range,omitempty"` // 需要更新的行列信息 Properties *DimensionProperties `json:"properties,omitempty"` // 更新的属性 }
type UpdateDimensionPropertiesBuilder ¶
type UpdateDimensionPropertiesBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateDimensionPropertiesBuilder ¶
func NewUpdateDimensionPropertiesBuilder() *UpdateDimensionPropertiesBuilder
func (*UpdateDimensionPropertiesBuilder) Build ¶
func (builder *UpdateDimensionPropertiesBuilder) Build() *UpdateDimensionProperties
func (*UpdateDimensionPropertiesBuilder) DimensionRange ¶
func (builder *UpdateDimensionPropertiesBuilder) DimensionRange(dimensionRange *Dimension) *UpdateDimensionPropertiesBuilder
需要更新的行列信息
示例值:
func (*UpdateDimensionPropertiesBuilder) Properties ¶
func (builder *UpdateDimensionPropertiesBuilder) Properties(properties *DimensionProperties) *UpdateDimensionPropertiesBuilder
更新的属性
示例值:
type UpdateGridProperties ¶
type UpdateGridPropertiesBuilder ¶
type UpdateGridPropertiesBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateGridPropertiesBuilder ¶
func NewUpdateGridPropertiesBuilder() *UpdateGridPropertiesBuilder
func (*UpdateGridPropertiesBuilder) Build ¶
func (builder *UpdateGridPropertiesBuilder) Build() *UpdateGridProperties
func (*UpdateGridPropertiesBuilder) FrozenColumnCount ¶
func (builder *UpdateGridPropertiesBuilder) FrozenColumnCount(frozenColumnCount int) *UpdateGridPropertiesBuilder
冻结列数
示例值:1
func (*UpdateGridPropertiesBuilder) FrozenRowCount ¶
func (builder *UpdateGridPropertiesBuilder) FrozenRowCount(frozenRowCount int) *UpdateGridPropertiesBuilder
冻结行数
示例值:1
type UpdateSheetFilter ¶
type UpdateSheetFilterBuilder ¶
type UpdateSheetFilterBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateSheetFilterBuilder ¶
func NewUpdateSheetFilterBuilder() *UpdateSheetFilterBuilder
func (*UpdateSheetFilterBuilder) Build ¶
func (builder *UpdateSheetFilterBuilder) Build() *UpdateSheetFilter
func (*UpdateSheetFilterBuilder) Col ¶
func (builder *UpdateSheetFilterBuilder) Col(col string) *UpdateSheetFilterBuilder
更新筛选条件的列
示例值:E
func (*UpdateSheetFilterBuilder) Condition ¶
func (builder *UpdateSheetFilterBuilder) Condition(condition *Condition) *UpdateSheetFilterBuilder
筛选条件
示例值:
type UpdateSpreadsheetProperties ¶
type UpdateSpreadsheetProperties struct {
Title *string `json:"title,omitempty"` // 表格标题
}
type UpdateSpreadsheetPropertiesBuilder ¶
type UpdateSpreadsheetPropertiesBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateSpreadsheetPropertiesBuilder ¶
func NewUpdateSpreadsheetPropertiesBuilder() *UpdateSpreadsheetPropertiesBuilder
func (*UpdateSpreadsheetPropertiesBuilder) Build ¶
func (builder *UpdateSpreadsheetPropertiesBuilder) Build() *UpdateSpreadsheetProperties
func (*UpdateSpreadsheetPropertiesBuilder) Title ¶
func (builder *UpdateSpreadsheetPropertiesBuilder) Title(title string) *UpdateSpreadsheetPropertiesBuilder
表格标题
示例值:title
type UpdateSpreadsheetSheetFilterReq ¶
type UpdateSpreadsheetSheetFilterReq struct { UpdateSheetFilter *UpdateSheetFilter `body:""` // contains filtered or unexported fields }
type UpdateSpreadsheetSheetFilterReqBuilder ¶
type UpdateSpreadsheetSheetFilterReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateSpreadsheetSheetFilterReqBuilder ¶
func NewUpdateSpreadsheetSheetFilterReqBuilder() *UpdateSpreadsheetSheetFilterReqBuilder
func (*UpdateSpreadsheetSheetFilterReqBuilder) Build ¶
func (builder *UpdateSpreadsheetSheetFilterReqBuilder) Build() *UpdateSpreadsheetSheetFilterReq
func (*UpdateSpreadsheetSheetFilterReqBuilder) SheetId ¶
func (builder *UpdateSpreadsheetSheetFilterReqBuilder) SheetId(sheetId string) *UpdateSpreadsheetSheetFilterReqBuilder
子表 id
示例值:0b\**12
func (*UpdateSpreadsheetSheetFilterReqBuilder) SpreadsheetToken ¶
func (builder *UpdateSpreadsheetSheetFilterReqBuilder) SpreadsheetToken(spreadsheetToken string) *UpdateSpreadsheetSheetFilterReqBuilder
表格 token
示例值:shtcnmBA\*****yGehy8
func (*UpdateSpreadsheetSheetFilterReqBuilder) UpdateSheetFilter ¶
func (builder *UpdateSpreadsheetSheetFilterReqBuilder) UpdateSheetFilter(updateSheetFilter *UpdateSheetFilter) *UpdateSpreadsheetSheetFilterReqBuilder
更新子表筛选范围中的列筛选条件。
type UpdateSpreadsheetSheetFilterResp ¶
type UpdateSpreadsheetSheetFilterResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError }
func (*UpdateSpreadsheetSheetFilterResp) Success ¶
func (resp *UpdateSpreadsheetSheetFilterResp) Success() bool
type UpdateSpreadsheetSheetFilterViewConditionReq ¶
type UpdateSpreadsheetSheetFilterViewConditionReq struct { FilterViewCondition *FilterViewCondition `body:""` // contains filtered or unexported fields }
type UpdateSpreadsheetSheetFilterViewConditionReqBuilder ¶
type UpdateSpreadsheetSheetFilterViewConditionReqBuilder struct {
// contains filtered or unexported fields
}
func NewUpdateSpreadsheetSheetFilterViewConditionReqBuilder ¶
func NewUpdateSpreadsheetSheetFilterViewConditionReqBuilder() *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
func (*UpdateSpreadsheetSheetFilterViewConditionReqBuilder) Build ¶
func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) Build() *UpdateSpreadsheetSheetFilterViewConditionReq
func (*UpdateSpreadsheetSheetFilterViewConditionReqBuilder) ConditionId ¶
func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) ConditionId(conditionId string) *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
列字母号
示例值:E
func (*UpdateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewCondition ¶
func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewCondition(filterViewCondition *FilterViewCondition) *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
更新筛选视图范围的某列的筛选条件,condition id 即为列的字母号。
func (*UpdateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId ¶
func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) FilterViewId(filterViewId string) *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
筛选视图 id
示例值:pH9hbVcCXA
func (*UpdateSpreadsheetSheetFilterViewConditionReqBuilder) SheetId ¶
func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) SheetId(sheetId string) *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
子表 id
示例值:0b**12
func (*UpdateSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken ¶
func (builder *UpdateSpreadsheetSheetFilterViewConditionReqBuilder) SpreadsheetToken(spreadsheetToken string) *UpdateSpreadsheetSheetFilterViewConditionReqBuilder
表格 token
示例值:shtcnmBA*****yGehy8
type UpdateSpreadsheetSheetFilterViewConditionResp ¶
type UpdateSpreadsheetSheetFilterViewConditionResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *UpdateSpreadsheetSheetFilterViewConditionRespData `json:"data"` // 业务数据 }
func (*UpdateSpreadsheetSheetFilterViewConditionResp) Success ¶
func (resp *UpdateSpreadsheetSheetFilterViewConditionResp) Success() bool
type UpdateSpreadsheetSheetFilterViewConditionRespData ¶
type UpdateSpreadsheetSheetFilterViewConditionRespData struct {
Condition *FilterViewCondition `json:"condition,omitempty"` // 更新后的筛选条件
}
type V3 ¶
type V3 struct { Spreadsheet *spreadsheet // 表格 SpreadsheetSheet *spreadsheetSheet // 行列 SpreadsheetSheetFilter *spreadsheetSheetFilter // 筛选 SpreadsheetSheetFilterView *spreadsheetSheetFilterView // 筛选视图 SpreadsheetSheetFilterViewCondition *spreadsheetSheetFilterViewCondition // 筛选条件 SpreadsheetSheetFloatImage *spreadsheetSheetFloatImage // 浮动图片 }
type Value ¶
type Value struct { Range *string `json:"range,omitempty"` // 范围 Values [][][]*CellValue `json:"values,omitempty"` // 数据,数据结构参见[单元格数据结构](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-value/cell-data-structure) }
type ValueBuilder ¶
type ValueBuilder struct {
// contains filtered or unexported fields
}
func NewValueBuilder ¶
func NewValueBuilder() *ValueBuilder
func (*ValueBuilder) Build ¶
func (builder *ValueBuilder) Build() *Value
func (*ValueBuilder) Range ¶
func (builder *ValueBuilder) Range(range_ string) *ValueBuilder
范围
示例值:Sheet1!A1:A2
func (*ValueBuilder) Values ¶
func (builder *ValueBuilder) Values(values [][][]*CellValue) *ValueBuilder
数据,数据结构参见[单元格数据结构](https://open.feishu.cn/document/ukTMukTMukTM/uUDN04SN0QjL1QDN/sheets-v3/spreadsheet-sheet-value/cell-data-structure)
示例值:[]
type ValueElement ¶
type ValueElement struct {
Value *string `json:"value,omitempty"` // 整型或浮点型数值
}
type ValueElementBuilder ¶
type ValueElementBuilder struct {
// contains filtered or unexported fields
}
func NewValueElementBuilder ¶
func NewValueElementBuilder() *ValueElementBuilder
func (*ValueElementBuilder) Build ¶
func (builder *ValueElementBuilder) Build() *ValueElement
func (*ValueElementBuilder) Value ¶
func (builder *ValueElementBuilder) Value(value string) *ValueElementBuilder
整型或浮点型数值
示例值:
type ValueElementSingleOptionBuilder ¶
type ValueElementSingleOptionBuilder struct {
// contains filtered or unexported fields
}
func NewValueElementSingleOptionBuilder ¶
func NewValueElementSingleOptionBuilder() *ValueElementSingleOptionBuilder
func (*ValueElementSingleOptionBuilder) Build ¶
func (builder *ValueElementSingleOptionBuilder) Build() *ValueElementSingleOption
func (*ValueElementSingleOptionBuilder) DataValidationId ¶
func (builder *ValueElementSingleOptionBuilder) DataValidationId(dataValidationId int) *ValueElementSingleOptionBuilder
数据校验ID
示例值:1
func (*ValueElementSingleOptionBuilder) DataValiditonValue ¶
func (builder *ValueElementSingleOptionBuilder) DataValiditonValue(dataValiditonValue string) *ValueElementSingleOptionBuilder
选项值
示例值:option1