types

package
v0.16.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListInput

type ListInput struct {

	// Path parameters
	Query       string
	Expansions  fields.ExpansionList
	MaxResults  ListMaxResults
	SpaceFields fields.SpaceFieldList
	UserFields  fields.UserFieldList
	State       fields.State
	// contains filtered or unexported fields
}

func (*ListInput) AccessToken

func (p *ListInput) AccessToken() string

func (*ListInput) Body

func (p *ListInput) Body() (io.Reader, error)

func (*ListInput) ParameterMap

func (p *ListInput) ParameterMap() map[string]string

func (*ListInput) ResolveEndpoint

func (p *ListInput) ResolveEndpoint(endpointBase string) string

func (*ListInput) SetAccessToken

func (p *ListInput) SetAccessToken(token string)

type ListMaxResults

type ListMaxResults int

func (ListMaxResults) String

func (m ListMaxResults) String() string

func (ListMaxResults) Valid

func (m ListMaxResults) Valid() bool

type ListOutput

type ListOutput struct {
	Data     []resources.Space `json:"data"`
	Includes struct {
		Users []resources.User `json:"users"`
	} `json:"includes"`
	Errors []resources.PartialError `json:"errors"`
}

func (*ListOutput) HasPartialError

func (r *ListOutput) HasPartialError() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL