Documentation ¶
Index ¶
- Constants
- type Credentials
- type DataAccelerationConfig
- type Domain
- type Error
- type ErrorBody
- type Filter
- type Group
- type GroupBody
- type Import
- type Owner
- type Pagination
- type Project
- type QueryGroupBody
- type QueryUserBody
- type QueryViewBody
- type QueryViewImageOption
- type QueryWorkbookBody
- type SignInBody
- type Site
- type SwitchSiteBody
- type Tag
- type TagBody
- type Usage
- type User
- type UserBody
- type View
- type ViewBody
- type Workbook
- type WorkbookBody
Constants ¶
View Source
const ( SiteRoleUnlicensed = `Unlicensed` SiteRoleViewer = `Viewer` SiteRoleExplorer = `Explorer` SiteRoleExplorerCanPublish = `ExplorerCanPublish` SiteRoleCreator = `Creator` SiteRoleSiteAdministratorExplorer = `SiteAdministratorExplorer` SiteRoleSiteAdministratorCreator = `SiteAdministratorCreator` ImageResolutionHigh = `high` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type DataAccelerationConfig ¶ added in v0.3.0
type Error ¶
type Error struct { Summary string `json:"summary,omitempty"` Detail string `json:"detail,omitempty"` Code string `json:"code,omitempty"` }
func (Error) IsHttpCode ¶ added in v0.5.2
type ErrorBody ¶
type ErrorBody struct {
Error *Error `json:"error,omitempty"`
}
func NewErrorBody ¶
func NewErrorBodyXML ¶ added in v0.3.4
type Pagination ¶
type Pagination struct { PageNumber string `json:"pageNumber,omitempty"` PageSize string `json:"pageSize,omitempty"` TotalAvailable string `json:"totalAvailable,omitempty"` }
func (Pagination) GetPageNumber ¶
func (p Pagination) GetPageNumber() int
func (Pagination) GetPageSize ¶
func (p Pagination) GetPageSize() int
func (Pagination) GetTotalAvailable ¶
func (p Pagination) GetTotalAvailable() int
type QueryGroupBody ¶
type QueryGroupBody struct { Pagination *Pagination `json:"pagination,omitempty"` Groups *struct { Group []Group `json:"group,omitempty"` } `json:"groups,omitempty"` }
type QueryUserBody ¶
type QueryUserBody struct { Pagination *Pagination `json:"pagination,omitempty"` Users *struct { User []User `json:"user,omitempty"` } `json:"users,omitempty"` }
type QueryViewBody ¶ added in v0.3.0
type QueryViewBody struct { Pagination *Pagination `json:"pagination,omitempty"` Views *struct { View []View `json:"view,omitempty"` } `json:"views,omitempty"` }
type QueryViewImageOption ¶ added in v0.4.0
func (*QueryViewImageOption) AddParam ¶ added in v0.4.0
func (o *QueryViewImageOption) AddParam(key, value string)
func (*QueryViewImageOption) DeleteParam ¶ added in v0.4.0
func (o *QueryViewImageOption) DeleteParam(key string) string
func (*QueryViewImageOption) Encode ¶ added in v0.4.0
func (o *QueryViewImageOption) Encode() string
func (*QueryViewImageOption) GetMaxAge ¶ added in v0.4.0
func (o *QueryViewImageOption) GetMaxAge() int
func (*QueryViewImageOption) SetMaxAge ¶ added in v0.4.0
func (o *QueryViewImageOption) SetMaxAge(age int)
type QueryWorkbookBody ¶ added in v0.3.0
type QueryWorkbookBody struct { Pagination *Pagination `json:"pagination,omitempty"` Workbooks *struct { Workbook []Workbook `json:"workbook,omitempty"` } `json:"workbooks,omitempty"` }
type SignInBody ¶
type SignInBody struct {
Credentials *Credentials `json:"credentials,omitempty"`
}
type SwitchSiteBody ¶
type SwitchSiteBody struct {
Site *Site `json:"site,omitempty"`
}
type TagBody ¶ added in v0.3.0
type TagBody struct { Tags *struct { Tag []Tag `json:"tag,omitempty"` } `json:"tags,omitempty"` }
type Usage ¶ added in v0.3.0
type Usage struct {
TotalViewCount *string `json:"totalViewCount,omitempty"`
}
type User ¶
type User struct { ID *string `json:"id,omitempty"` ExternalAuthUserID *string `json:"externalAuthUserId,omitempty"` Name *string `json:"name,omitempty"` FullName *string `json:"fullName,omitempty"` Email *string `json:"email,omitempty"` Password *string `json:"password,omitempty"` AuthSetting *string `json:"authSetting,omitempty"` LastLogin *time.Time `json:"lastLogin,omitempty"` SiteRole *string `json:"siteRole,omitempty"` Locale *string `json:"locale,omitempty"` Language *string `json:"language,omitempty"` Domain *Domain `json:"domain,omitempty"` }
type View ¶ added in v0.3.0
type View struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` ContentUrl *string `json:"contentUrl,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` ViewUrlName *string `json:"viewUrlName,omitempty"` Workbook *Workbook `json:"workbook,omitempty"` Owner *Owner `json:"owner,omitempty"` Project *Project `json:"project,omitempty"` Usage *Usage `json:"usage,omitempty"` Tags *struct { Tag []Tag `json:"tag,omitempty"` } `json:"tags,omitempty"` }
type Workbook ¶ added in v0.3.0
type Workbook struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Description *string `json:"description,omitempty"` WebpageUrl *string `json:"webpageUrl,omitempty"` ContentUrl *string `json:"contentUrl,omitempty"` ShowTabs *string `json:"showTabs,omitempty"` Size *string `json:"size,omitempty"` CreatedAt *time.Time `json:"createdAt,omitempty"` DefaultViewID *string `json:"defaultViewId,omitempty"` UpdatedAt *time.Time `json:"updatedAt,omitempty"` EncryptExtracts *string `json:"encryptExtracts,omitempty"` Project *Project `json:"project,omitempty"` Owner *Owner `json:"owner,omitempty"` DataAccelerationConfig *DataAccelerationConfig `json:"dataAccelerationConfig,omitempty"` Tags *struct { Tag []Tag `json:"tag,omitempty"` } `json:"tags,omitempty"` Views *struct { View []View `json:"view,omitempty"` } `json:"views,omitempty"` }
type WorkbookBody ¶ added in v0.3.0
type WorkbookBody struct {
Workbook *Workbook `json:"workbook,omitempty"`
}
Source Files ¶
- credential.go
- dataaccelerationconfig.go
- domain.go
- error.go
- errorbody.go
- filter.go
- group.go
- groupbody.go
- import.go
- owner.go
- pagination.go
- project.go
- querygroupbody.go
- queryuserbody.go
- queryviewbody.go
- queryviewimageoption.go
- queryworkbookbody.go
- signinbody.go
- site.go
- switchsitebody.go
- tag.go
- tagbody.go
- usage.go
- user.go
- userbody.go
- vars.go
- view.go
- viewbody.go
- workbook.go
- workbookbody.go
Click to show internal directories.
Click to hide internal directories.