Documentation
¶
Index ¶
- Constants
- type Connection
- type DeleteUserParams
- type ListParams
- type Options
- type Properties
- type ReadParams
- type Service
- func (s *Service) Create(params *Properties) (*Connection, *http.Response, error)
- func (s *Service) Delete(id string) (*http.Response, error)
- func (s *Service) DeleteUser(id string, params *DeleteUserParams) (*http.Response, error)
- func (s *Service) List(params *ListParams) (*[]Connection, *http.Response, error)
- func (s *Service) Path(paths ...string) string
- func (s *Service) Read(id string, params *ReadParams) (*Connection, *http.Response, error)
- func (s *Service) Update(id string, params *Properties) (*Connection, *http.Response, error)
Constants ¶
View Source
const ServicePath = "connections"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { Id string `json:"id,omitempty"` Properties }
type DeleteUserParams ¶
type DeleteUserParams struct {
Email string `url:"email"`
}
type ListParams ¶
type ListParams struct { PerPage interface{} `url:"per_page,omitempty"` Page interface{} `url:"page,omitempty"` Strategy *[]string `url:"strategy,omitempty,comma"` Fields interface{} `url:"fields,omitempty"` IncludeFields interface{} `url:"include_fields,omitempty"` }
type Options ¶
type Options struct { Validation *map[string]interface{} `json:"validation,omitempty"` PasswordPolicy interface{} `json:"passwordPolicy,omitempty"` PasswordHistory *map[string]interface{} `json:"password_history,omitempty"` PasswordNoPersonalInfo *map[string]interface{} `json:"password_no_personal_info,omitempty"` PasswordDictionary *map[string]interface{} `json:"password_dictionary,omitempty"` }
type Properties ¶
type ReadParams ¶
type ReadParams struct { Fields interface{} `url:"fields,omitempty"` IncludeFields interface{} `url:"include_fields,omitempty"` }
type Service ¶
func (*Service) Create ¶
func (s *Service) Create(params *Properties) (*Connection, *http.Response, error)
func (*Service) DeleteUser ¶
func (*Service) List ¶
func (s *Service) List(params *ListParams) (*[]Connection, *http.Response, error)
func (*Service) Read ¶
func (s *Service) Read(id string, params *ReadParams) (*Connection, *http.Response, error)
func (*Service) Update ¶
func (s *Service) Update(id string, params *Properties) (*Connection, *http.Response, error)
Click to show internal directories.
Click to hide internal directories.