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: 8 Imported by: 0

Documentation

Overview

Package v1 is a generated protocol buffer package.

It is generated from these files:

happyco/manage/account_provisioning/v1/account_provisioning.proto

It has these top-level messages:

CreateAccountsRequest
CreateAccountsResponse
UpdateAccountStatusesRequest
UpdateAccountStatusesResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAccountProvisioningServiceServer

func RegisterAccountProvisioningServiceServer(s *grpc.Server, srv AccountProvisioningServiceServer)

Types

type AccountProvisioningServiceClient

type AccountProvisioningServiceClient interface {
	CreateAccounts(ctx context.Context, in *CreateAccountsRequest, opts ...grpc.CallOption) (*CreateAccountsResponse, error)
	UpdateAccountStatuses(ctx context.Context, in *UpdateAccountStatusesRequest, opts ...grpc.CallOption) (*UpdateAccountStatusesResponse, error)
}

func NewAccountProvisioningServiceClient

func NewAccountProvisioningServiceClient(cc *grpc.ClientConn) AccountProvisioningServiceClient

type AccountProvisioningServiceServer

type AccountProvisioningServiceServer interface {
	CreateAccounts(context.Context, *CreateAccountsRequest) (*CreateAccountsResponse, error)
	UpdateAccountStatuses(context.Context, *UpdateAccountStatusesRequest) (*UpdateAccountStatusesResponse, error)
}

type CreateAccountsRequest

type CreateAccountsRequest struct {
	AccountWithAdmins []*CreateAccountsRequest_AccountWithAdmin `protobuf:"bytes,1,rep,name=account_with_admins,json=accountWithAdmins" json:"account_with_admins,omitempty"`
}

func (*CreateAccountsRequest) Descriptor

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

func (*CreateAccountsRequest) GetAccountWithAdmins

func (*CreateAccountsRequest) ProtoMessage

func (*CreateAccountsRequest) ProtoMessage()

func (*CreateAccountsRequest) Reset

func (m *CreateAccountsRequest) Reset()

func (*CreateAccountsRequest) String

func (m *CreateAccountsRequest) String() string

type CreateAccountsRequest_AccountWithAdmin

type CreateAccountsRequest_AccountWithAdmin struct {
	Account *happyco_manage_account_v1.Account `protobuf:"bytes,2,opt,name=account" json:"account,omitempty"`
	Admin   *happyco_manage_account_v1.User    `protobuf:"bytes,3,opt,name=admin" json:"admin,omitempty"`
}

func (*CreateAccountsRequest_AccountWithAdmin) Descriptor

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

func (*CreateAccountsRequest_AccountWithAdmin) GetAccount

func (*CreateAccountsRequest_AccountWithAdmin) GetAdmin

func (*CreateAccountsRequest_AccountWithAdmin) ProtoMessage

func (*CreateAccountsRequest_AccountWithAdmin) Reset

func (*CreateAccountsRequest_AccountWithAdmin) String

type CreateAccountsResponse

type CreateAccountsResponse struct {
	AccountIdWithAdminIds []*CreateAccountsResponse_AccountIDWithAdminID `protobuf:"bytes,1,rep,name=account_id_with_admin_ids,json=accountIdWithAdminIds" json:"account_id_with_admin_ids,omitempty"`
}

func (*CreateAccountsResponse) Descriptor

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

func (*CreateAccountsResponse) GetAccountIdWithAdminIds

func (*CreateAccountsResponse) ProtoMessage

func (*CreateAccountsResponse) ProtoMessage()

func (*CreateAccountsResponse) Reset

func (m *CreateAccountsResponse) Reset()

func (*CreateAccountsResponse) String

func (m *CreateAccountsResponse) String() string

type CreateAccountsResponse_AccountIDWithAdminID

type CreateAccountsResponse_AccountIDWithAdminID struct {
	AccountId *happyco_type_v1.IntegrationID `protobuf:"bytes,1,opt,name=account_id,json=accountId" json:"account_id,omitempty"`
	AdminId   *happyco_type_v1.IntegrationID `protobuf:"bytes,2,opt,name=admin_id,json=adminId" json:"admin_id,omitempty"`
}

func (*CreateAccountsResponse_AccountIDWithAdminID) Descriptor

func (*CreateAccountsResponse_AccountIDWithAdminID) GetAccountId

func (*CreateAccountsResponse_AccountIDWithAdminID) GetAdminId

func (*CreateAccountsResponse_AccountIDWithAdminID) ProtoMessage

func (*CreateAccountsResponse_AccountIDWithAdminID) Reset

func (*CreateAccountsResponse_AccountIDWithAdminID) String

type UpdateAccountStatusesRequest

type UpdateAccountStatusesRequest struct {
	AccountIds []*happyco_type_v1.IntegrationID `protobuf:"bytes,1,rep,name=account_ids,json=accountIds" json:"account_ids,omitempty"`
	Active     bool                             `protobuf:"varint,2,opt,name=active" json:"active,omitempty"`
}

func (*UpdateAccountStatusesRequest) Descriptor

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

func (*UpdateAccountStatusesRequest) GetAccountIds

func (*UpdateAccountStatusesRequest) GetActive

func (m *UpdateAccountStatusesRequest) GetActive() bool

func (*UpdateAccountStatusesRequest) ProtoMessage

func (*UpdateAccountStatusesRequest) ProtoMessage()

func (*UpdateAccountStatusesRequest) Reset

func (m *UpdateAccountStatusesRequest) Reset()

func (*UpdateAccountStatusesRequest) String

type UpdateAccountStatusesResponse

type UpdateAccountStatusesResponse struct {
}

func (*UpdateAccountStatusesResponse) Descriptor

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

func (*UpdateAccountStatusesResponse) ProtoMessage

func (*UpdateAccountStatusesResponse) ProtoMessage()

func (*UpdateAccountStatusesResponse) Reset

func (m *UpdateAccountStatusesResponse) Reset()

func (*UpdateAccountStatusesResponse) String

Jump to

Keyboard shortcuts

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