model

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttemptRecoveryRequest

type AttemptRecoveryRequest struct {
	NewPassword models.Password `json:"new_password"`
	Secret      models.Password `json:"secret"`
	ID          string          `json:"id"`
}

type AuditLogQueryOptions added in v0.0.2

type AuditLogQueryOptions struct {
	Count  int `json:"count"`
	Offset int `json:"offset"`
}

type CreateProjectRequest

type CreateProjectRequest struct {
	Name        models.ProjectDisplayName `json:"name"`
	Label       *models.Label             `json:"label"`
	Description models.ProjectDescription `json:"Description"`
}

type CreateRecoveryRequest

type CreateRecoveryRequest struct {
	Email models.Email `json:"email"`
}

type CreateTokenRequest

type CreateTokenRequest struct {
	UserID string `json:"user_id"`
}

type CreateTokenResponse

type CreateTokenResponse struct {
	Secret models.Password `json:"secret"`
	Token  *models.Token   `json:"token"`
}

type CreateUserRequest

type CreateUserRequest struct {
	Name  models.Name  `json:"name"`
	Email models.Email `json:"email"`
}

type CreateUserResponse

type CreateUserResponse struct {
	Password models.Password `json:"password"`
	User     *models.User    `json:"user"`
}

type DeleteRecoveriesRequest

type DeleteRecoveriesRequest struct {
	Ids []string `json:"ids"`
}

type ProjectSpecFile

type ProjectSpecFile struct {
	Transformations []*models.NamedTransformation `json:"transformations"`
	Rules           []*models.Rule                `json:"rules"`
}

type UpdateProjectRequest

type UpdateProjectRequest struct {
	Name        *models.ProjectDisplayName `json:"name"`
	Description *models.ProjectDescription `json:"description"`
}

Jump to

Keyboard shortcuts

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