Documentation ¶
Overview ¶
Package v1 is a generated protocol buffer package.
It is generated from these files:
happyco/inspect/template/v1/template.proto
It has these top-level messages:
Template ListTemplatesRequest ListTemplatesResponse CreateTemplatesRequest CreateTemplatesResponse UpdateTemplatesRequest UpdateTemplatesResponse SetTemplatesArchivedRequest SetTemplatesArchivedResponse
Index ¶
- func RegisterTemplateServiceServer(s *grpc.Server, srv TemplateServiceServer)
- type CreateTemplatesRequest
- func (*CreateTemplatesRequest) Descriptor() ([]byte, []int)
- func (m *CreateTemplatesRequest) GetAccountId() *happyco_type_v1.IntegrationID
- func (m *CreateTemplatesRequest) GetFolderId() *happyco_type_v1.IntegrationID
- func (m *CreateTemplatesRequest) GetTemplates() []*Template
- func (*CreateTemplatesRequest) ProtoMessage()
- func (m *CreateTemplatesRequest) Reset()
- func (m *CreateTemplatesRequest) String() string
- type CreateTemplatesResponse
- type ListTemplatesRequest
- func (*ListTemplatesRequest) Descriptor() ([]byte, []int)
- func (m *ListTemplatesRequest) GetAccountId() *happyco_type_v1.IntegrationID
- func (m *ListTemplatesRequest) GetArchived() bool
- func (m *ListTemplatesRequest) GetFolderIds() []*happyco_type_v1.IntegrationID
- func (m *ListTemplatesRequest) GetPaging() *happyco_type_v11.Paging
- func (m *ListTemplatesRequest) GetTemplateIds() []*happyco_type_v1.IntegrationID
- func (*ListTemplatesRequest) ProtoMessage()
- func (m *ListTemplatesRequest) Reset()
- func (m *ListTemplatesRequest) String() string
- type ListTemplatesResponse
- func (*ListTemplatesResponse) Descriptor() ([]byte, []int)
- func (m *ListTemplatesResponse) GetNextPage() *happyco_type_v11.Paging
- func (m *ListTemplatesResponse) GetPreviousPage() *happyco_type_v11.Paging
- func (m *ListTemplatesResponse) GetTemplates() []*Template
- func (*ListTemplatesResponse) ProtoMessage()
- func (m *ListTemplatesResponse) Reset()
- func (m *ListTemplatesResponse) String() string
- type SetTemplatesArchivedRequest
- func (*SetTemplatesArchivedRequest) Descriptor() ([]byte, []int)
- func (m *SetTemplatesArchivedRequest) GetAccountId() *happyco_type_v1.IntegrationID
- func (m *SetTemplatesArchivedRequest) GetFolderId() *happyco_type_v1.IntegrationID
- func (m *SetTemplatesArchivedRequest) GetTemplateIds() []*happyco_type_v1.IntegrationID
- func (*SetTemplatesArchivedRequest) ProtoMessage()
- func (m *SetTemplatesArchivedRequest) Reset()
- func (m *SetTemplatesArchivedRequest) String() string
- type SetTemplatesArchivedResponse
- type Template
- func (*Template) Descriptor() ([]byte, []int)
- func (m *Template) GetAccountId() *happyco_type_v1.IntegrationID
- func (m *Template) GetDescription() string
- func (m *Template) GetEdition() int32
- func (m *Template) GetFolderId() *happyco_type_v1.IntegrationID
- func (m *Template) GetFooterFields() []*happyco_inspect_type_v1.FooterField
- func (m *Template) GetHeaderFields() []*happyco_inspect_type_v1.HeaderField
- func (m *Template) GetId() *happyco_type_v1.IntegrationID
- func (m *Template) GetName() string
- func (m *Template) GetOutlines() map[string]*happyco_type_v12.StringArray
- func (m *Template) GetRatingGroups() map[string]*happyco_inspect_type_v1.RatingGroups
- func (m *Template) GetSections() map[string]*happyco_inspect_type_v1.Section
- func (*Template) ProtoMessage()
- func (m *Template) Reset()
- func (m *Template) String() string
- type TemplateServiceClient
- type TemplateServiceServer
- type UpdateTemplatesRequest
- func (*UpdateTemplatesRequest) Descriptor() ([]byte, []int)
- func (m *UpdateTemplatesRequest) GetAccountId() *happyco_type_v1.IntegrationID
- func (m *UpdateTemplatesRequest) GetFolderId() *happyco_type_v1.IntegrationID
- func (m *UpdateTemplatesRequest) GetTemplates() []*Template
- func (*UpdateTemplatesRequest) ProtoMessage()
- func (m *UpdateTemplatesRequest) Reset()
- func (m *UpdateTemplatesRequest) String() string
- type UpdateTemplatesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTemplateServiceServer ¶
func RegisterTemplateServiceServer(s *grpc.Server, srv TemplateServiceServer)
Types ¶
type CreateTemplatesRequest ¶
type CreateTemplatesRequest 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"` Templates []*Template `protobuf:"bytes,3,rep,name=templates" json:"templates,omitempty"` }
func (*CreateTemplatesRequest) Descriptor ¶
func (*CreateTemplatesRequest) Descriptor() ([]byte, []int)
func (*CreateTemplatesRequest) GetAccountId ¶
func (m *CreateTemplatesRequest) GetAccountId() *happyco_type_v1.IntegrationID
func (*CreateTemplatesRequest) GetFolderId ¶
func (m *CreateTemplatesRequest) GetFolderId() *happyco_type_v1.IntegrationID
func (*CreateTemplatesRequest) GetTemplates ¶
func (m *CreateTemplatesRequest) GetTemplates() []*Template
func (*CreateTemplatesRequest) ProtoMessage ¶
func (*CreateTemplatesRequest) ProtoMessage()
func (*CreateTemplatesRequest) Reset ¶
func (m *CreateTemplatesRequest) Reset()
func (*CreateTemplatesRequest) String ¶
func (m *CreateTemplatesRequest) String() string
type CreateTemplatesResponse ¶
type CreateTemplatesResponse struct {
TemplateIds []*happyco_type_v1.IntegrationID `protobuf:"bytes,1,rep,name=template_ids,json=templateIds" json:"template_ids,omitempty"`
}
func (*CreateTemplatesResponse) Descriptor ¶
func (*CreateTemplatesResponse) Descriptor() ([]byte, []int)
func (*CreateTemplatesResponse) GetTemplateIds ¶
func (m *CreateTemplatesResponse) GetTemplateIds() []*happyco_type_v1.IntegrationID
func (*CreateTemplatesResponse) ProtoMessage ¶
func (*CreateTemplatesResponse) ProtoMessage()
func (*CreateTemplatesResponse) Reset ¶
func (m *CreateTemplatesResponse) Reset()
func (*CreateTemplatesResponse) String ¶
func (m *CreateTemplatesResponse) String() string
type ListTemplatesRequest ¶
type ListTemplatesRequest struct { AccountId *happyco_type_v1.IntegrationID `protobuf:"bytes,1,opt,name=account_id,json=accountId" json:"account_id,omitempty"` FolderIds []*happyco_type_v1.IntegrationID `protobuf:"bytes,2,rep,name=folder_ids,json=folderIds" json:"folder_ids,omitempty"` TemplateIds []*happyco_type_v1.IntegrationID `protobuf:"bytes,3,rep,name=template_ids,json=templateIds" json:"template_ids,omitempty"` Archived bool `protobuf:"varint,4,opt,name=archived" json:"archived,omitempty"` Paging *happyco_type_v11.Paging `protobuf:"bytes,5,opt,name=paging" json:"paging,omitempty"` }
func (*ListTemplatesRequest) Descriptor ¶
func (*ListTemplatesRequest) Descriptor() ([]byte, []int)
func (*ListTemplatesRequest) GetAccountId ¶
func (m *ListTemplatesRequest) GetAccountId() *happyco_type_v1.IntegrationID
func (*ListTemplatesRequest) GetArchived ¶
func (m *ListTemplatesRequest) GetArchived() bool
func (*ListTemplatesRequest) GetFolderIds ¶
func (m *ListTemplatesRequest) GetFolderIds() []*happyco_type_v1.IntegrationID
func (*ListTemplatesRequest) GetPaging ¶
func (m *ListTemplatesRequest) GetPaging() *happyco_type_v11.Paging
func (*ListTemplatesRequest) GetTemplateIds ¶
func (m *ListTemplatesRequest) GetTemplateIds() []*happyco_type_v1.IntegrationID
func (*ListTemplatesRequest) ProtoMessage ¶
func (*ListTemplatesRequest) ProtoMessage()
func (*ListTemplatesRequest) Reset ¶
func (m *ListTemplatesRequest) Reset()
func (*ListTemplatesRequest) String ¶
func (m *ListTemplatesRequest) String() string
type ListTemplatesResponse ¶
type ListTemplatesResponse struct { Templates []*Template `protobuf:"bytes,1,rep,name=templates" json:"templates,omitempty"` PreviousPage *happyco_type_v11.Paging `protobuf:"bytes,2,opt,name=previous_page,json=previousPage" json:"previous_page,omitempty"` NextPage *happyco_type_v11.Paging `protobuf:"bytes,3,opt,name=next_page,json=nextPage" json:"next_page,omitempty"` }
func (*ListTemplatesResponse) Descriptor ¶
func (*ListTemplatesResponse) Descriptor() ([]byte, []int)
func (*ListTemplatesResponse) GetNextPage ¶
func (m *ListTemplatesResponse) GetNextPage() *happyco_type_v11.Paging
func (*ListTemplatesResponse) GetPreviousPage ¶
func (m *ListTemplatesResponse) GetPreviousPage() *happyco_type_v11.Paging
func (*ListTemplatesResponse) GetTemplates ¶
func (m *ListTemplatesResponse) GetTemplates() []*Template
func (*ListTemplatesResponse) ProtoMessage ¶
func (*ListTemplatesResponse) ProtoMessage()
func (*ListTemplatesResponse) Reset ¶
func (m *ListTemplatesResponse) Reset()
func (*ListTemplatesResponse) String ¶
func (m *ListTemplatesResponse) String() string
type SetTemplatesArchivedRequest ¶
type SetTemplatesArchivedRequest 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"` TemplateIds []*happyco_type_v1.IntegrationID `protobuf:"bytes,3,rep,name=template_ids,json=templateIds" json:"template_ids,omitempty"` }
func (*SetTemplatesArchivedRequest) Descriptor ¶
func (*SetTemplatesArchivedRequest) Descriptor() ([]byte, []int)
func (*SetTemplatesArchivedRequest) GetAccountId ¶
func (m *SetTemplatesArchivedRequest) GetAccountId() *happyco_type_v1.IntegrationID
func (*SetTemplatesArchivedRequest) GetFolderId ¶
func (m *SetTemplatesArchivedRequest) GetFolderId() *happyco_type_v1.IntegrationID
func (*SetTemplatesArchivedRequest) GetTemplateIds ¶
func (m *SetTemplatesArchivedRequest) GetTemplateIds() []*happyco_type_v1.IntegrationID
func (*SetTemplatesArchivedRequest) ProtoMessage ¶
func (*SetTemplatesArchivedRequest) ProtoMessage()
func (*SetTemplatesArchivedRequest) Reset ¶
func (m *SetTemplatesArchivedRequest) Reset()
func (*SetTemplatesArchivedRequest) String ¶
func (m *SetTemplatesArchivedRequest) String() string
type SetTemplatesArchivedResponse ¶
type SetTemplatesArchivedResponse struct { }
func (*SetTemplatesArchivedResponse) Descriptor ¶
func (*SetTemplatesArchivedResponse) Descriptor() ([]byte, []int)
func (*SetTemplatesArchivedResponse) ProtoMessage ¶
func (*SetTemplatesArchivedResponse) ProtoMessage()
func (*SetTemplatesArchivedResponse) Reset ¶
func (m *SetTemplatesArchivedResponse) Reset()
func (*SetTemplatesArchivedResponse) String ¶
func (m *SetTemplatesArchivedResponse) String() string
type Template ¶
type Template struct { Id *happyco_type_v1.IntegrationID `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` AccountId *happyco_type_v1.IntegrationID `protobuf:"bytes,2,opt,name=account_id,json=accountId" json:"account_id,omitempty"` FolderId *happyco_type_v1.IntegrationID `protobuf:"bytes,3,opt,name=folder_id,json=folderId" json:"folder_id,omitempty"` Name string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` Edition int32 `protobuf:"varint,5,opt,name=edition" json:"edition,omitempty"` Description string `protobuf:"bytes,6,opt,name=description" json:"description,omitempty"` Sections map[string]*happyco_inspect_type_v1.Section `` /* 136-byte string literal not displayed */ Outlines map[string]*happyco_type_v12.StringArray `` /* 136-byte string literal not displayed */ RatingGroups map[string]*happyco_inspect_type_v1.RatingGroups `` /* 164-byte string literal not displayed */ HeaderFields []*happyco_inspect_type_v1.HeaderField `protobuf:"bytes,10,rep,name=header_fields,json=headerFields" json:"header_fields,omitempty"` }
func (*Template) Descriptor ¶
func (*Template) GetAccountId ¶
func (m *Template) GetAccountId() *happyco_type_v1.IntegrationID
func (*Template) GetDescription ¶
func (*Template) GetEdition ¶
func (*Template) GetFolderId ¶
func (m *Template) GetFolderId() *happyco_type_v1.IntegrationID
func (*Template) GetFooterFields ¶
func (m *Template) GetFooterFields() []*happyco_inspect_type_v1.FooterField
func (*Template) GetHeaderFields ¶
func (m *Template) GetHeaderFields() []*happyco_inspect_type_v1.HeaderField
func (*Template) GetId ¶
func (m *Template) GetId() *happyco_type_v1.IntegrationID
func (*Template) GetOutlines ¶
func (m *Template) GetOutlines() map[string]*happyco_type_v12.StringArray
func (*Template) GetRatingGroups ¶
func (m *Template) GetRatingGroups() map[string]*happyco_inspect_type_v1.RatingGroups
func (*Template) GetSections ¶
func (m *Template) GetSections() map[string]*happyco_inspect_type_v1.Section
func (*Template) ProtoMessage ¶
func (*Template) ProtoMessage()
type TemplateServiceClient ¶
type TemplateServiceClient interface { ListTemplates(ctx context.Context, in *ListTemplatesRequest, opts ...grpc.CallOption) (*ListTemplatesResponse, error) CreateTemplates(ctx context.Context, in *CreateTemplatesRequest, opts ...grpc.CallOption) (*CreateTemplatesResponse, error) UpdateTemplates(ctx context.Context, in *UpdateTemplatesRequest, opts ...grpc.CallOption) (*UpdateTemplatesResponse, error) ArchiveTemplates(ctx context.Context, in *SetTemplatesArchivedRequest, opts ...grpc.CallOption) (*SetTemplatesArchivedResponse, error) UnarchiveTemplates(ctx context.Context, in *SetTemplatesArchivedRequest, opts ...grpc.CallOption) (*SetTemplatesArchivedResponse, error) }
func NewTemplateServiceClient ¶
func NewTemplateServiceClient(cc *grpc.ClientConn) TemplateServiceClient
type TemplateServiceServer ¶
type TemplateServiceServer interface { ListTemplates(context.Context, *ListTemplatesRequest) (*ListTemplatesResponse, error) CreateTemplates(context.Context, *CreateTemplatesRequest) (*CreateTemplatesResponse, error) UpdateTemplates(context.Context, *UpdateTemplatesRequest) (*UpdateTemplatesResponse, error) ArchiveTemplates(context.Context, *SetTemplatesArchivedRequest) (*SetTemplatesArchivedResponse, error) UnarchiveTemplates(context.Context, *SetTemplatesArchivedRequest) (*SetTemplatesArchivedResponse, error) }
type UpdateTemplatesRequest ¶
type UpdateTemplatesRequest 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"` Templates []*Template `protobuf:"bytes,3,rep,name=templates" json:"templates,omitempty"` }
func (*UpdateTemplatesRequest) Descriptor ¶
func (*UpdateTemplatesRequest) Descriptor() ([]byte, []int)
func (*UpdateTemplatesRequest) GetAccountId ¶
func (m *UpdateTemplatesRequest) GetAccountId() *happyco_type_v1.IntegrationID
func (*UpdateTemplatesRequest) GetFolderId ¶
func (m *UpdateTemplatesRequest) GetFolderId() *happyco_type_v1.IntegrationID
func (*UpdateTemplatesRequest) GetTemplates ¶
func (m *UpdateTemplatesRequest) GetTemplates() []*Template
func (*UpdateTemplatesRequest) ProtoMessage ¶
func (*UpdateTemplatesRequest) ProtoMessage()
func (*UpdateTemplatesRequest) Reset ¶
func (m *UpdateTemplatesRequest) Reset()
func (*UpdateTemplatesRequest) String ¶
func (m *UpdateTemplatesRequest) String() string
type UpdateTemplatesResponse ¶
type UpdateTemplatesResponse struct { }
func (*UpdateTemplatesResponse) Descriptor ¶
func (*UpdateTemplatesResponse) Descriptor() ([]byte, []int)
func (*UpdateTemplatesResponse) ProtoMessage ¶
func (*UpdateTemplatesResponse) ProtoMessage()
func (*UpdateTemplatesResponse) Reset ¶
func (m *UpdateTemplatesResponse) Reset()
func (*UpdateTemplatesResponse) String ¶
func (m *UpdateTemplatesResponse) String() string
Click to show internal directories.
Click to hide internal directories.