admin

package
v0.1.65 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UpdateRequest

type UpdateRequest struct {
	models.AdminState `json:"adminState"`
	// contains filtered or unexported fields
}

func (UpdateRequest) MarshalJSON

func (u UpdateRequest) MarshalJSON() ([]byte, error)

func (*UpdateRequest) UnmarshalJSON

func (u *UpdateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the Unmarshaler interface for the type

func (UpdateRequest) Validate

func (u UpdateRequest) Validate() (bool, error)

Validate satisfies the Validator interface

Jump to

Keyboard shortcuts

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