v1

package
v0.0.0-...-fa33765 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package v1 is a generated protocol buffer package.

It is generated from these files:

happyco/manage/asset/v1/asset.proto

It has these top-level messages:

Asset
Unit
Property
ListAssetsRequest
ListAssetsResponse
CreateAssetsRequest
CreateAssetsResponse
UpdateAssetsRequest
UpdateAssetsResponse
SetAssetsArchivedRequest
SetAssetsArchivedResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAssetServiceServer

func RegisterAssetServiceServer(s *grpc.Server, srv AssetServiceServer)

Types

type Asset

type Asset struct {
	Id            *happyco_type_v1.IntegrationID `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	Archived      bool                           `protobuf:"varint,2,opt,name=archived" json:"archived,omitempty"`
	AddressLine_1 string                         `protobuf:"bytes,3,opt,name=address_line_1,json=addressLine1" json:"address_line_1,omitempty"`
	AddressLine_2 string                         `protobuf:"bytes,4,opt,name=address_line_2,json=addressLine2" json:"address_line_2,omitempty"`
	City          string                         `protobuf:"bytes,5,opt,name=city" json:"city,omitempty"`
	State         string                         `protobuf:"bytes,6,opt,name=state" json:"state,omitempty"`
	PostalCode    string                         `protobuf:"bytes,7,opt,name=postal_code,json=postalCode" json:"postal_code,omitempty"`
	Country       string                         `protobuf:"bytes,8,opt,name=country" json:"country,omitempty"`
	// Types that are valid to be assigned to Type:
	//	*Asset_Unit
	//	*Asset_Property
	Type isAsset_Type `protobuf_oneof:"type"`
}

func (*Asset) Descriptor

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

func (*Asset) GetAddressLine_1

func (m *Asset) GetAddressLine_1() string

func (*Asset) GetAddressLine_2

func (m *Asset) GetAddressLine_2() string

func (*Asset) GetArchived

func (m *Asset) GetArchived() bool

func (*Asset) GetCity

func (m *Asset) GetCity() string

func (*Asset) GetCountry

func (m *Asset) GetCountry() string

func (*Asset) GetId

func (m *Asset) GetId() *happyco_type_v1.IntegrationID

func (*Asset) GetPostalCode

func (m *Asset) GetPostalCode() string

func (*Asset) GetProperty

func (m *Asset) GetProperty() *Property

func (*Asset) GetState

func (m *Asset) GetState() string

func (*Asset) GetType

func (m *Asset) GetType() isAsset_Type

func (*Asset) GetUnit

func (m *Asset) GetUnit() *Unit

func (*Asset) ProtoMessage

func (*Asset) ProtoMessage()

func (*Asset) Reset

func (m *Asset) Reset()

func (*Asset) String

func (m *Asset) String() string

func (*Asset) XXX_OneofFuncs

func (*Asset) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type AssetServiceClient

type AssetServiceClient interface {
	ListAssets(ctx context.Context, in *ListAssetsRequest, opts ...grpc.CallOption) (*ListAssetsResponse, error)
	CreateAssets(ctx context.Context, in *CreateAssetsRequest, opts ...grpc.CallOption) (*CreateAssetsResponse, error)
	UpdateAssets(ctx context.Context, in *UpdateAssetsRequest, opts ...grpc.CallOption) (*UpdateAssetsResponse, error)
	ArchiveAssets(ctx context.Context, in *SetAssetsArchivedRequest, opts ...grpc.CallOption) (*SetAssetsArchivedResponse, error)
	UnarchiveAssets(ctx context.Context, in *SetAssetsArchivedRequest, opts ...grpc.CallOption) (*SetAssetsArchivedResponse, error)
}

func NewAssetServiceClient

func NewAssetServiceClient(cc *grpc.ClientConn) AssetServiceClient

type Asset_Property

type Asset_Property struct {
	Property *Property `protobuf:"bytes,10,opt,name=property,oneof"`
}

type Asset_Unit

type Asset_Unit struct {
	Unit *Unit `protobuf:"bytes,9,opt,name=unit,oneof"`
}

type CreateAssetsRequest

type CreateAssetsRequest struct {
	AccountId *happyco_type_v1.IntegrationID `protobuf:"bytes,1,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
	FolderId  *happyco_type_v1.IntegrationID `protobuf:"bytes,2,opt,name=folder_id,json=folderId" json:"folder_id,omitempty"`
	Assets    []*Asset                       `protobuf:"bytes,3,rep,name=assets" json:"assets,omitempty"`
}

func (*CreateAssetsRequest) Descriptor

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

func (*CreateAssetsRequest) GetAccountId

func (*CreateAssetsRequest) GetAssets

func (m *CreateAssetsRequest) GetAssets() []*Asset

func (*CreateAssetsRequest) GetFolderId

func (*CreateAssetsRequest) ProtoMessage

func (*CreateAssetsRequest) ProtoMessage()

func (*CreateAssetsRequest) Reset

func (m *CreateAssetsRequest) Reset()

func (*CreateAssetsRequest) String

func (m *CreateAssetsRequest) String() string

type CreateAssetsResponse

type CreateAssetsResponse struct {
	AssetIds []*happyco_type_v1.IntegrationID `protobuf:"bytes,1,rep,name=asset_ids,json=assetIds" json:"asset_ids,omitempty"`
}

func (*CreateAssetsResponse) Descriptor

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

func (*CreateAssetsResponse) GetAssetIds

func (*CreateAssetsResponse) ProtoMessage

func (*CreateAssetsResponse) ProtoMessage()

func (*CreateAssetsResponse) Reset

func (m *CreateAssetsResponse) Reset()

func (*CreateAssetsResponse) String

func (m *CreateAssetsResponse) String() string

type ListAssetsRequest

type ListAssetsRequest struct {
	AccountId       *happyco_type_v1.IntegrationID   `protobuf:"bytes,1,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
	FolderId        *happyco_type_v1.IntegrationID   `protobuf:"bytes,2,opt,name=folder_id,json=folderId" json:"folder_id,omitempty"`
	AssetIds        []*happyco_type_v1.IntegrationID `protobuf:"bytes,3,rep,name=asset_ids,json=assetIds" json:"asset_ids,omitempty"`
	IncludeArchived bool                             `protobuf:"varint,4,opt,name=include_archived,json=includeArchived" json:"include_archived,omitempty"`
	Paging          *happyco_type_v11.Paging         `protobuf:"bytes,5,opt,name=paging" json:"paging,omitempty"`
}

func (*ListAssetsRequest) Descriptor

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

func (*ListAssetsRequest) GetAccountId

func (m *ListAssetsRequest) GetAccountId() *happyco_type_v1.IntegrationID

func (*ListAssetsRequest) GetAssetIds

func (m *ListAssetsRequest) GetAssetIds() []*happyco_type_v1.IntegrationID

func (*ListAssetsRequest) GetFolderId

func (*ListAssetsRequest) GetIncludeArchived

func (m *ListAssetsRequest) GetIncludeArchived() bool

func (*ListAssetsRequest) GetPaging

func (m *ListAssetsRequest) GetPaging() *happyco_type_v11.Paging

func (*ListAssetsRequest) ProtoMessage

func (*ListAssetsRequest) ProtoMessage()

func (*ListAssetsRequest) Reset

func (m *ListAssetsRequest) Reset()

func (*ListAssetsRequest) String

func (m *ListAssetsRequest) String() string

type ListAssetsResponse

type ListAssetsResponse struct {
	Assets []*Asset                         `protobuf:"bytes,1,rep,name=assets" json:"assets,omitempty"`
	Paging *happyco_type_v11.PagingResponse `protobuf:"bytes,2,opt,name=paging" json:"paging,omitempty"`
}

func (*ListAssetsResponse) Descriptor

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

func (*ListAssetsResponse) GetAssets

func (m *ListAssetsResponse) GetAssets() []*Asset

func (*ListAssetsResponse) GetPaging

func (*ListAssetsResponse) ProtoMessage

func (*ListAssetsResponse) ProtoMessage()

func (*ListAssetsResponse) Reset

func (m *ListAssetsResponse) Reset()

func (*ListAssetsResponse) String

func (m *ListAssetsResponse) String() string

type Property

type Property struct {
	KeyNumber string `protobuf:"bytes,1,opt,name=key_number,json=keyNumber" json:"key_number,omitempty"`
}

func (*Property) Descriptor

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

func (*Property) GetKeyNumber

func (m *Property) GetKeyNumber() string

func (*Property) ProtoMessage

func (*Property) ProtoMessage()

func (*Property) Reset

func (m *Property) Reset()

func (*Property) String

func (m *Property) String() string

type SetAssetsArchivedRequest

type SetAssetsArchivedRequest struct {
	AccountId *happyco_type_v1.IntegrationID   `protobuf:"bytes,1,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
	FolderId  *happyco_type_v1.IntegrationID   `protobuf:"bytes,2,opt,name=folder_id,json=folderId" json:"folder_id,omitempty"`
	AssetIds  []*happyco_type_v1.IntegrationID `protobuf:"bytes,3,rep,name=asset_ids,json=assetIds" json:"asset_ids,omitempty"`
}

func (*SetAssetsArchivedRequest) Descriptor

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

func (*SetAssetsArchivedRequest) GetAccountId

func (*SetAssetsArchivedRequest) GetAssetIds

func (*SetAssetsArchivedRequest) GetFolderId

func (*SetAssetsArchivedRequest) ProtoMessage

func (*SetAssetsArchivedRequest) ProtoMessage()

func (*SetAssetsArchivedRequest) Reset

func (m *SetAssetsArchivedRequest) Reset()

func (*SetAssetsArchivedRequest) String

func (m *SetAssetsArchivedRequest) String() string

type SetAssetsArchivedResponse

type SetAssetsArchivedResponse struct {
}

func (*SetAssetsArchivedResponse) Descriptor

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

func (*SetAssetsArchivedResponse) ProtoMessage

func (*SetAssetsArchivedResponse) ProtoMessage()

func (*SetAssetsArchivedResponse) Reset

func (m *SetAssetsArchivedResponse) Reset()

func (*SetAssetsArchivedResponse) String

func (m *SetAssetsArchivedResponse) String() string

type Unit

type Unit struct {
	Building  string `protobuf:"bytes,1,opt,name=building" json:"building,omitempty"`
	FloorPlan string `protobuf:"bytes,2,opt,name=floor_plan,json=floorPlan" json:"floor_plan,omitempty"`
}

func (*Unit) Descriptor

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

func (*Unit) GetBuilding

func (m *Unit) GetBuilding() string

func (*Unit) GetFloorPlan

func (m *Unit) GetFloorPlan() string

func (*Unit) ProtoMessage

func (*Unit) ProtoMessage()

func (*Unit) Reset

func (m *Unit) Reset()

func (*Unit) String

func (m *Unit) String() string

type UpdateAssetsRequest

type UpdateAssetsRequest struct {
	AccountId *happyco_type_v1.IntegrationID `protobuf:"bytes,1,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
	FolderId  *happyco_type_v1.IntegrationID `protobuf:"bytes,2,opt,name=folder_id,json=folderId" json:"folder_id,omitempty"`
	Assets    []*Asset                       `protobuf:"bytes,3,rep,name=assets" json:"assets,omitempty"`
}

func (*UpdateAssetsRequest) Descriptor

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

func (*UpdateAssetsRequest) GetAccountId

func (*UpdateAssetsRequest) GetAssets

func (m *UpdateAssetsRequest) GetAssets() []*Asset

func (*UpdateAssetsRequest) GetFolderId

func (*UpdateAssetsRequest) ProtoMessage

func (*UpdateAssetsRequest) ProtoMessage()

func (*UpdateAssetsRequest) Reset

func (m *UpdateAssetsRequest) Reset()

func (*UpdateAssetsRequest) String

func (m *UpdateAssetsRequest) String() string

type UpdateAssetsResponse

type UpdateAssetsResponse struct {
}

func (*UpdateAssetsResponse) Descriptor

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

func (*UpdateAssetsResponse) ProtoMessage

func (*UpdateAssetsResponse) ProtoMessage()

func (*UpdateAssetsResponse) Reset

func (m *UpdateAssetsResponse) Reset()

func (*UpdateAssetsResponse) String

func (m *UpdateAssetsResponse) String() string

Jump to

Keyboard shortcuts

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