package admin

import "github.com/edgexfoundry/go-mod-core-contracts/requests/states/admin"

Index

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

Source Files

update.go

Version
v0.1.149 (latest)
Published
Jan 19, 2021
Platform
linux/amd64
Imports
2 packages
Last checked
5 days ago

Tools for package owners.