users

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ListEntityUsersRequest

type ListEntityUsersRequest struct {
	EntityId   string                  `json:"entity_id"`
	Pagination *model.PaginationParams `json:"pagination_params"`
}

type ListEntityUsersResponse

type ListEntityUsersResponse struct {
	Users      []*model.User           `json:"users"`
	Request    *ListEntityUsersRequest `json:"request"`
	Pagination *model.Pagination       `json:"pagination"`
}

type ListPortfolioUsersRequest

type ListPortfolioUsersRequest struct {
	PortfolioId string                  `json:"portfolio_id"`
	Pagination  *model.PaginationParams `json:"pagination_params"`
}

type ListPortfolioUsersResponse

type ListPortfolioUsersResponse struct {
	Users      []*model.User              `json:"users"`
	Request    *ListPortfolioUsersRequest `json:"request"`
	Pagination *model.Pagination          `json:"pagination"`
}

type UsersService

type UsersService interface {
	ListEntityUsers(ctx context.Context, request *ListEntityUsersRequest) (*ListEntityUsersResponse, error)
	ListPortfolioUsers(ctx context.Context, request *ListPortfolioUsersRequest) (*ListPortfolioUsersResponse, error)
}

func NewUsersService

func NewUsersService(c client.RestClient) UsersService

Jump to

Keyboard shortcuts

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