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 ¶
- func RegisterAccountProvisioningServiceServer(s *grpc.Server, srv AccountProvisioningServiceServer)
- type AccountProvisioningServiceClient
- type AccountProvisioningServiceServer
- type CreateAccountsRequest
- type CreateAccountsRequest_AccountWithAdmin
- func (*CreateAccountsRequest_AccountWithAdmin) Descriptor() ([]byte, []int)
- func (m *CreateAccountsRequest_AccountWithAdmin) GetAccount() *happyco_manage_account_v1.Account
- func (m *CreateAccountsRequest_AccountWithAdmin) GetAdmin() *happyco_manage_account_v1.User
- func (*CreateAccountsRequest_AccountWithAdmin) ProtoMessage()
- func (m *CreateAccountsRequest_AccountWithAdmin) Reset()
- func (m *CreateAccountsRequest_AccountWithAdmin) String() string
- type CreateAccountsResponse
- func (*CreateAccountsResponse) Descriptor() ([]byte, []int)
- func (m *CreateAccountsResponse) GetAccountIdWithAdminIds() []*CreateAccountsResponse_AccountIDWithAdminID
- func (*CreateAccountsResponse) ProtoMessage()
- func (m *CreateAccountsResponse) Reset()
- func (m *CreateAccountsResponse) String() string
- type CreateAccountsResponse_AccountIDWithAdminID
- func (*CreateAccountsResponse_AccountIDWithAdminID) Descriptor() ([]byte, []int)
- func (m *CreateAccountsResponse_AccountIDWithAdminID) GetAccountId() *happyco_type_v1.IntegrationID
- func (m *CreateAccountsResponse_AccountIDWithAdminID) GetAdminId() *happyco_type_v1.IntegrationID
- func (*CreateAccountsResponse_AccountIDWithAdminID) ProtoMessage()
- func (m *CreateAccountsResponse_AccountIDWithAdminID) Reset()
- func (m *CreateAccountsResponse_AccountIDWithAdminID) String() string
- type UpdateAccountStatusesRequest
- func (*UpdateAccountStatusesRequest) Descriptor() ([]byte, []int)
- func (m *UpdateAccountStatusesRequest) GetAccountIds() []*happyco_type_v1.IntegrationID
- func (m *UpdateAccountStatusesRequest) GetActive() bool
- func (*UpdateAccountStatusesRequest) ProtoMessage()
- func (m *UpdateAccountStatusesRequest) Reset()
- func (m *UpdateAccountStatusesRequest) String() string
- type UpdateAccountStatusesResponse
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 (m *CreateAccountsRequest) GetAccountWithAdmins() []*CreateAccountsRequest_AccountWithAdmin
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 (m *CreateAccountsRequest_AccountWithAdmin) GetAccount() *happyco_manage_account_v1.Account
func (*CreateAccountsRequest_AccountWithAdmin) GetAdmin ¶
func (m *CreateAccountsRequest_AccountWithAdmin) GetAdmin() *happyco_manage_account_v1.User
func (*CreateAccountsRequest_AccountWithAdmin) ProtoMessage ¶
func (*CreateAccountsRequest_AccountWithAdmin) ProtoMessage()
func (*CreateAccountsRequest_AccountWithAdmin) Reset ¶
func (m *CreateAccountsRequest_AccountWithAdmin) Reset()
func (*CreateAccountsRequest_AccountWithAdmin) String ¶
func (m *CreateAccountsRequest_AccountWithAdmin) String() 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 (m *CreateAccountsResponse) GetAccountIdWithAdminIds() []*CreateAccountsResponse_AccountIDWithAdminID
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) Descriptor() ([]byte, []int)
func (*CreateAccountsResponse_AccountIDWithAdminID) GetAccountId ¶
func (m *CreateAccountsResponse_AccountIDWithAdminID) GetAccountId() *happyco_type_v1.IntegrationID
func (*CreateAccountsResponse_AccountIDWithAdminID) GetAdminId ¶
func (m *CreateAccountsResponse_AccountIDWithAdminID) GetAdminId() *happyco_type_v1.IntegrationID
func (*CreateAccountsResponse_AccountIDWithAdminID) ProtoMessage ¶
func (*CreateAccountsResponse_AccountIDWithAdminID) ProtoMessage()
func (*CreateAccountsResponse_AccountIDWithAdminID) Reset ¶
func (m *CreateAccountsResponse_AccountIDWithAdminID) Reset()
func (*CreateAccountsResponse_AccountIDWithAdminID) String ¶
func (m *CreateAccountsResponse_AccountIDWithAdminID) String() 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 (m *UpdateAccountStatusesRequest) GetAccountIds() []*happyco_type_v1.IntegrationID
func (*UpdateAccountStatusesRequest) GetActive ¶
func (m *UpdateAccountStatusesRequest) GetActive() bool
func (*UpdateAccountStatusesRequest) ProtoMessage ¶
func (*UpdateAccountStatusesRequest) ProtoMessage()
func (*UpdateAccountStatusesRequest) Reset ¶
func (m *UpdateAccountStatusesRequest) Reset()
func (*UpdateAccountStatusesRequest) String ¶
func (m *UpdateAccountStatusesRequest) String() 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 ¶
func (m *UpdateAccountStatusesResponse) String() string
Click to show internal directories.
Click to hide internal directories.