events

package
v0.0.0-...-5c09645 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Create

type Create struct {
	DisplayName string `json:"display_name"`
	Email       string `json:"email"`
	Org         string `json:"org"`
	// Password assumed derived
	Password string `json:"password"`
}

func NewCreate

func NewCreate(
	ctx context.Context,
	displayName,
	email,
	org,
	password string) (*Create, error)

func (*Create) UnmarshalJSON

func (e *Create) UnmarshalJSON(bs []byte) error

type UpdateDisplayName

type UpdateDisplayName struct {
	ID          string `json:"id"`
	DisplayName string `json:"display_name"`
}

func NewUpdateDisplayName

func NewUpdateDisplayName(
	ctx context.Context,
	id string,
	displayName string) (*UpdateDisplayName, error)

func (*UpdateDisplayName) UnmarshalJSON

func (e *UpdateDisplayName) UnmarshalJSON(bs []byte) error

type UpdatePassword

type UpdatePassword struct {
	ID string `json:"id"`
	// Password assumed derived
	Password string `json:"password"`
}

func NewUpdatePassword

func NewUpdatePassword(
	ctx context.Context,
	id string,
	password string) (*UpdatePassword, error)

func (*UpdatePassword) UnmarshalJSON

func (e *UpdatePassword) UnmarshalJSON(bs []byte) error

type UpdateStatus

type UpdateStatus org_event.UpdateStatus

UpdateStatus is identical to, and operates identically to, the org event

func NewUpdateStatus

func NewUpdateStatus(
	ctx context.Context,
	id string,
	statusInt int) (*UpdateStatus, error)

Jump to

Keyboard shortcuts

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