Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoxState ¶
type BoxUser ¶
type BoxUser struct { ID string `json:"id"` AccessToken string `json:"access_token" mapstructure:"access_token"` RefreshToken string `json:"refresh_token" mapstructure:"refresh_token"` TokenType string `json:"token_type" mapstructure:"token_type"` ExpiresIn int64 `json:"expires_in" mapstructure:"expires_in"` }
type CallbackRequest ¶
type CallbackRequest struct { Actions []struct { Type int `json:"type"` UserID string `json:"userid"` } `json:"actions"` Key string `json:"key"` Status int `json:"status"` Users []string `json:"users"` URL string `json:"url"` Token string `json:"token"` }
func (CallbackRequest) ToJSON ¶
func (cr CallbackRequest) ToJSON() []byte
func (*CallbackRequest) Validate ¶
func (c *CallbackRequest) Validate() error
type ConvertAPIRequest ¶
type ConvertAPIRequest struct { jwt.RegisteredClaims Async bool `json:"async"` Key string `json:"key"` Filetype string `json:"filetype"` Outputtype string `json:"outputtype"` URL string `json:"url"` Token string `json:"token,omitempty"` }
func (ConvertAPIRequest) ToJSON ¶
func (r ConvertAPIRequest) ToJSON() []byte
type ConvertRequestBody ¶
type ConvertRequestBody struct { Action string `json:"action"` UserID string `json:"user_id"` FileID string `json:"file_id"` ForceEdit bool `json:"force_edit"` }
func (ConvertRequestBody) ToJSON ¶
func (r ConvertRequestBody) ToJSON() []byte
type MissingRequestFieldsError ¶
func (*MissingRequestFieldsError) Error ¶
func (e *MissingRequestFieldsError) Error() string
Click to show internal directories.
Click to hide internal directories.