person

package
v0.13.1-0...-264b242 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Person

type Person struct {
	// Localized String representation of a person
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// First name of a person
	FirstName string `protobuf:"bytes,4,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// Identity of a person
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name of a person
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Internal phone number
	PhoneNr string `protobuf:"bytes,5,opt,name=phone_nr,json=phoneNr,proto3" json:"phone_nr,omitempty"`
	// List of main skills of a person
	Skills []string `protobuf:"bytes,6,rep,name=skills,proto3" json:"skills,omitempty"`
	// Contains a field_mask which fields of the targeted resource are going to be updated
	UpdateMask           *field_mask.FieldMask `protobuf:"bytes,7,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

Person message type

func (*Person) Descriptor

func (*Person) Descriptor() ([]byte, []int)

func (*Person) GetDisplayName

func (m *Person) GetDisplayName() string

func (*Person) GetFirstName

func (m *Person) GetFirstName() string

func (*Person) GetId

func (m *Person) GetId() string

func (*Person) GetName

func (m *Person) GetName() string

func (*Person) GetPhoneNr

func (m *Person) GetPhoneNr() string

func (*Person) GetSkills

func (m *Person) GetSkills() []string

func (*Person) GetUpdateMask

func (m *Person) GetUpdateMask() *field_mask.FieldMask

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) Reset

func (m *Person) Reset()

func (*Person) String

func (m *Person) String() string

func (*Person) XXX_DiscardUnknown

func (m *Person) XXX_DiscardUnknown()

func (*Person) XXX_Marshal

func (m *Person) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Person) XXX_Merge

func (m *Person) XXX_Merge(src proto.Message)

func (*Person) XXX_Size

func (m *Person) XXX_Size() int

func (*Person) XXX_Unmarshal

func (m *Person) XXX_Unmarshal(b []byte) error

type PersonCollection

type PersonCollection struct {
	// Contains a person.PersonEntity repeated
	Entities []*PersonEntity `protobuf:"bytes,4,rep,name=entities,proto3" json:"entities,omitempty"`
	// Hateoas links
	Links []*furo.Link `protobuf:"bytes,3,rep,name=links,proto3" json:"links,omitempty"`
	// Meta for the response
	Meta                 *furo.Meta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

PersonCollection with repeated PersonEntity

func (*PersonCollection) Descriptor

func (*PersonCollection) Descriptor() ([]byte, []int)

func (*PersonCollection) GetEntities

func (m *PersonCollection) GetEntities() []*PersonEntity
func (m *PersonCollection) GetLinks() []*furo.Link

func (*PersonCollection) GetMeta

func (m *PersonCollection) GetMeta() *furo.Meta

func (*PersonCollection) ProtoMessage

func (*PersonCollection) ProtoMessage()

func (*PersonCollection) Reset

func (m *PersonCollection) Reset()

func (*PersonCollection) String

func (m *PersonCollection) String() string

func (*PersonCollection) XXX_DiscardUnknown

func (m *PersonCollection) XXX_DiscardUnknown()

func (*PersonCollection) XXX_Marshal

func (m *PersonCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PersonCollection) XXX_Merge

func (m *PersonCollection) XXX_Merge(src proto.Message)

func (*PersonCollection) XXX_Size

func (m *PersonCollection) XXX_Size() int

func (*PersonCollection) XXX_Unmarshal

func (m *PersonCollection) XXX_Unmarshal(b []byte) error

type PersonEntity

type PersonEntity struct {
	// contains a person.Person
	Data *Person `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// Hateoas links
	Links []*furo.Link `protobuf:"bytes,2,rep,name=links,proto3" json:"links,omitempty"`
	// Meta for the response
	Meta                 *furo.Meta `protobuf:"bytes,3,opt,name=meta,proto3" json:"meta,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

PersonEntity with Person

func (*PersonEntity) Descriptor

func (*PersonEntity) Descriptor() ([]byte, []int)

func (*PersonEntity) GetData

func (m *PersonEntity) GetData() *Person
func (m *PersonEntity) GetLinks() []*furo.Link

func (*PersonEntity) GetMeta

func (m *PersonEntity) GetMeta() *furo.Meta

func (*PersonEntity) ProtoMessage

func (*PersonEntity) ProtoMessage()

func (*PersonEntity) Reset

func (m *PersonEntity) Reset()

func (*PersonEntity) String

func (m *PersonEntity) String() string

func (*PersonEntity) XXX_DiscardUnknown

func (m *PersonEntity) XXX_DiscardUnknown()

func (*PersonEntity) XXX_Marshal

func (m *PersonEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PersonEntity) XXX_Merge

func (m *PersonEntity) XXX_Merge(src proto.Message)

func (*PersonEntity) XXX_Size

func (m *PersonEntity) XXX_Size() int

func (*PersonEntity) XXX_Unmarshal

func (m *PersonEntity) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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