Documentation ¶
Index ¶
- type CreateHoldTokenRequest
- type HoldToken
- type HoldTokens
- func (holdTokens *HoldTokens) Create() (*HoldToken, error)
- func (holdTokens *HoldTokens) CreateWithExpiration(expiresInMinutes int) (*HoldToken, error)
- func (holdTokens *HoldTokens) ExpireInMinutes(token string, expiresInMinutes int) (*HoldToken, error)
- func (holdTokens *HoldTokens) Retrieve(token string) (*HoldToken, error)
- type SetExpirationDateOfHoldTokenRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateHoldTokenRequest ¶
type CreateHoldTokenRequest struct {
ExpiresInMinutes int `json:"expiresInMinutes"`
}
type HoldTokens ¶
type HoldTokens struct {
Client *req.Client
}
func (*HoldTokens) Create ¶
func (holdTokens *HoldTokens) Create() (*HoldToken, error)
func (*HoldTokens) CreateWithExpiration ¶
func (holdTokens *HoldTokens) CreateWithExpiration(expiresInMinutes int) (*HoldToken, error)
func (*HoldTokens) ExpireInMinutes ¶
func (holdTokens *HoldTokens) ExpireInMinutes(token string, expiresInMinutes int) (*HoldToken, error)
type SetExpirationDateOfHoldTokenRequest ¶
type SetExpirationDateOfHoldTokenRequest struct {
ExpiresInMinutes int `json:"expiresInMinutes"`
}
Click to show internal directories.
Click to hide internal directories.