mserviceaddrbook

package
v0.0.0-...-ad5f674 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PartyType_name = map[int32]string{
		0: "UnknownParty",
		1: "Person",
		2: "Business",
	}
	PartyType_value = map[string]int32{
		"UnknownParty": 0,
		"Person":       1,
		"Business":     2,
	}
)

Enum value maps for PartyType.

View Source
var (
	AddressType_name = map[int32]string{
		0: "UnknownAddress",
		1: "Home",
		2: "Shipping",
	}
	AddressType_value = map[string]int32{
		"UnknownAddress": 0,
		"Home":           1,
		"Shipping":       2,
	}
)

Enum value maps for AddressType.

View Source
var (
	PhoneType_name = map[int32]string{
		0: "UnknownPhone",
		1: "HomePhone",
		2: "WorkPhone",
		3: "CellPhone",
	}
	PhoneType_value = map[string]int32{
		"UnknownPhone": 0,
		"HomePhone":    1,
		"WorkPhone":    2,
		"CellPhone":    3,
	}
)

Enum value maps for PhoneType.

View Source
var File_MServiceAddrbook_proto protoreflect.FileDescriptor
View Source
var MServiceAddrbook_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "org.gaterace.mservice.addrbook.MServiceAddrbook",
	HandlerType: (*MServiceAddrbookServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "create_party",
			Handler:    _MServiceAddrbook_CreateParty_Handler,
		},
		{
			MethodName: "update_party",
			Handler:    _MServiceAddrbook_UpdateParty_Handler,
		},
		{
			MethodName: "delete_party",
			Handler:    _MServiceAddrbook_DeleteParty_Handler,
		},
		{
			MethodName: "get_party",
			Handler:    _MServiceAddrbook_GetParty_Handler,
		},
		{
			MethodName: "get_parties",
			Handler:    _MServiceAddrbook_GetParties_Handler,
		},
		{
			MethodName: "get_party_wrapper",
			Handler:    _MServiceAddrbook_GetPartyWrapper_Handler,
		},
		{
			MethodName: "create_address",
			Handler:    _MServiceAddrbook_CreateAddress_Handler,
		},
		{
			MethodName: "update_address",
			Handler:    _MServiceAddrbook_UpdateAddress_Handler,
		},
		{
			MethodName: "delete_address",
			Handler:    _MServiceAddrbook_DeleteAddress_Handler,
		},
		{
			MethodName: "get_address",
			Handler:    _MServiceAddrbook_GetAddress_Handler,
		},
		{
			MethodName: "create_phone",
			Handler:    _MServiceAddrbook_CreatePhone_Handler,
		},
		{
			MethodName: "update_phone",
			Handler:    _MServiceAddrbook_UpdatePhone_Handler,
		},
		{
			MethodName: "delete_phone",
			Handler:    _MServiceAddrbook_DeletePhone_Handler,
		},
		{
			MethodName: "get_phone",
			Handler:    _MServiceAddrbook_GetPhone_Handler,
		},
		{
			MethodName: "get_server_version",
			Handler:    _MServiceAddrbook_GetServerVersion_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "MServiceAddrbook.proto",
}

MServiceAddrbook_ServiceDesc is the grpc.ServiceDesc for MServiceAddrbook service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterMServiceAddrbookServer

func RegisterMServiceAddrbookServer(s grpc.ServiceRegistrar, srv MServiceAddrbookServer)

Types

type Address

type Address struct {

	// party identifier
	PartyId int64 `protobuf:"varint,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// type of address record, int value of AddressType
	AddressType int32 `protobuf:"varint,2,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"`
	// creation date
	Created *dml.DateTime `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	// modification date
	Modified *dml.DateTime `protobuf:"bytes,4,opt,name=modified,proto3" json:"modified,omitempty"`
	// deletion date
	Deleted *dml.DateTime `protobuf:"bytes,5,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// has record been deleted?
	IsDeleted bool `protobuf:"varint,6,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
	// string representation of address_type
	AddressTypeName string `protobuf:"bytes,8,opt,name=address_type_name,json=addressTypeName,proto3" json:"address_type_name,omitempty"`
	// mservice account identifier
	MserviceId int64 `protobuf:"varint,9,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// postal address line 1
	Address_1 string `protobuf:"bytes,10,opt,name=address_1,json=address1,proto3" json:"address_1,omitempty"`
	// postal address line 2
	Address_2 string `protobuf:"bytes,11,opt,name=address_2,json=address2,proto3" json:"address_2,omitempty"`
	// postal city
	City string `protobuf:"bytes,12,opt,name=city,proto3" json:"city,omitempty"`
	// postal state
	State string `protobuf:"bytes,13,opt,name=state,proto3" json:"state,omitempty"`
	// postal code
	PostalCode string `protobuf:"bytes,14,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	// country code
	CountryCode string `protobuf:"bytes,15,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	// contains filtered or unexported fields
}

address book address entity

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddressType

func (x *Address) GetAddressType() int32

func (*Address) GetAddressTypeName

func (x *Address) GetAddressTypeName() string

func (*Address) GetAddress_1

func (x *Address) GetAddress_1() string

func (*Address) GetAddress_2

func (x *Address) GetAddress_2() string

func (*Address) GetCity

func (x *Address) GetCity() string

func (*Address) GetCountryCode

func (x *Address) GetCountryCode() string

func (*Address) GetCreated

func (x *Address) GetCreated() *dml.DateTime

func (*Address) GetDeleted

func (x *Address) GetDeleted() *dml.DateTime

func (*Address) GetIsDeleted

func (x *Address) GetIsDeleted() bool

func (*Address) GetModified

func (x *Address) GetModified() *dml.DateTime

func (*Address) GetMserviceId

func (x *Address) GetMserviceId() int64

func (*Address) GetPartyId

func (x *Address) GetPartyId() int64

func (*Address) GetPostalCode

func (x *Address) GetPostalCode() string

func (*Address) GetState

func (x *Address) GetState() string

func (*Address) GetVersion

func (x *Address) GetVersion() int32

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

func (x *Address) ProtoReflect() protoreflect.Message

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type AddressType

type AddressType int32

address book address type

const (
	// address type is unknown
	AddressType_UnknownAddress AddressType = 0
	// address is home address
	AddressType_Home AddressType = 1
	// address is shipping address
	AddressType_Shipping AddressType = 2
)

func (AddressType) Descriptor

func (AddressType) Enum

func (x AddressType) Enum() *AddressType

func (AddressType) EnumDescriptor deprecated

func (AddressType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AddressType.Descriptor instead.

func (AddressType) Number

func (x AddressType) Number() protoreflect.EnumNumber

func (AddressType) String

func (x AddressType) String() string

func (AddressType) Type

type CreateAddressRequest

type CreateAddressRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// type of address record, int value of AddressType
	AddressType int32 `protobuf:"varint,3,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"`
	// postal address line 1
	Address_1 string `protobuf:"bytes,4,opt,name=address_1,json=address1,proto3" json:"address_1,omitempty"`
	// postal address line 2
	Address_2 string `protobuf:"bytes,5,opt,name=address_2,json=address2,proto3" json:"address_2,omitempty"`
	// postal city
	City string `protobuf:"bytes,6,opt,name=city,proto3" json:"city,omitempty"`
	// postal state
	State string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
	// postal code
	PostalCode string `protobuf:"bytes,8,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	// country code
	CountryCode string `protobuf:"bytes,9,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method create_address

func (*CreateAddressRequest) Descriptor deprecated

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

Deprecated: Use CreateAddressRequest.ProtoReflect.Descriptor instead.

func (*CreateAddressRequest) GetAddressType

func (x *CreateAddressRequest) GetAddressType() int32

func (*CreateAddressRequest) GetAddress_1

func (x *CreateAddressRequest) GetAddress_1() string

func (*CreateAddressRequest) GetAddress_2

func (x *CreateAddressRequest) GetAddress_2() string

func (*CreateAddressRequest) GetCity

func (x *CreateAddressRequest) GetCity() string

func (*CreateAddressRequest) GetCountryCode

func (x *CreateAddressRequest) GetCountryCode() string

func (*CreateAddressRequest) GetMserviceId

func (x *CreateAddressRequest) GetMserviceId() int64

func (*CreateAddressRequest) GetPartyId

func (x *CreateAddressRequest) GetPartyId() int64

func (*CreateAddressRequest) GetPostalCode

func (x *CreateAddressRequest) GetPostalCode() string

func (*CreateAddressRequest) GetState

func (x *CreateAddressRequest) GetState() string

func (*CreateAddressRequest) ProtoMessage

func (*CreateAddressRequest) ProtoMessage()

func (*CreateAddressRequest) ProtoReflect

func (x *CreateAddressRequest) ProtoReflect() protoreflect.Message

func (*CreateAddressRequest) Reset

func (x *CreateAddressRequest) Reset()

func (*CreateAddressRequest) String

func (x *CreateAddressRequest) String() string

type CreateAddressResponse

type CreateAddressResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method create_address

func (*CreateAddressResponse) Descriptor deprecated

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

Deprecated: Use CreateAddressResponse.ProtoReflect.Descriptor instead.

func (*CreateAddressResponse) GetErrorCode

func (x *CreateAddressResponse) GetErrorCode() int32

func (*CreateAddressResponse) GetErrorMessage

func (x *CreateAddressResponse) GetErrorMessage() string

func (*CreateAddressResponse) GetVersion

func (x *CreateAddressResponse) GetVersion() int32

func (*CreateAddressResponse) ProtoMessage

func (*CreateAddressResponse) ProtoMessage()

func (*CreateAddressResponse) ProtoReflect

func (x *CreateAddressResponse) ProtoReflect() protoreflect.Message

func (*CreateAddressResponse) Reset

func (x *CreateAddressResponse) Reset()

func (*CreateAddressResponse) String

func (x *CreateAddressResponse) String() string

type CreatePartyRequest

type CreatePartyRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// type of party record, int value of PartyType
	PartyType int32 `protobuf:"varint,2,opt,name=party_type,json=partyType,proto3" json:"party_type,omitempty"`
	// party last name
	LastName string `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// party middle name
	MiddleName string `protobuf:"bytes,4,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"`
	// party first name
	FirstName string `protobuf:"bytes,5,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// party nickname
	Nickname string `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// party company
	Company string `protobuf:"bytes,7,opt,name=company,proto3" json:"company,omitempty"`
	// party email
	Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method create_party

func (*CreatePartyRequest) Descriptor deprecated

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

Deprecated: Use CreatePartyRequest.ProtoReflect.Descriptor instead.

func (*CreatePartyRequest) GetCompany

func (x *CreatePartyRequest) GetCompany() string

func (*CreatePartyRequest) GetEmail

func (x *CreatePartyRequest) GetEmail() string

func (*CreatePartyRequest) GetFirstName

func (x *CreatePartyRequest) GetFirstName() string

func (*CreatePartyRequest) GetLastName

func (x *CreatePartyRequest) GetLastName() string

func (*CreatePartyRequest) GetMiddleName

func (x *CreatePartyRequest) GetMiddleName() string

func (*CreatePartyRequest) GetMserviceId

func (x *CreatePartyRequest) GetMserviceId() int64

func (*CreatePartyRequest) GetNickname

func (x *CreatePartyRequest) GetNickname() string

func (*CreatePartyRequest) GetPartyType

func (x *CreatePartyRequest) GetPartyType() int32

func (*CreatePartyRequest) ProtoMessage

func (*CreatePartyRequest) ProtoMessage()

func (*CreatePartyRequest) ProtoReflect

func (x *CreatePartyRequest) ProtoReflect() protoreflect.Message

func (*CreatePartyRequest) Reset

func (x *CreatePartyRequest) Reset()

func (*CreatePartyRequest) String

func (x *CreatePartyRequest) String() string

type CreatePartyResponse

type CreatePartyResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,4,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method create_party

func (*CreatePartyResponse) Descriptor deprecated

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

Deprecated: Use CreatePartyResponse.ProtoReflect.Descriptor instead.

func (*CreatePartyResponse) GetErrorCode

func (x *CreatePartyResponse) GetErrorCode() int32

func (*CreatePartyResponse) GetErrorMessage

func (x *CreatePartyResponse) GetErrorMessage() string

func (*CreatePartyResponse) GetPartyId

func (x *CreatePartyResponse) GetPartyId() int64

func (*CreatePartyResponse) GetVersion

func (x *CreatePartyResponse) GetVersion() int32

func (*CreatePartyResponse) ProtoMessage

func (*CreatePartyResponse) ProtoMessage()

func (*CreatePartyResponse) ProtoReflect

func (x *CreatePartyResponse) ProtoReflect() protoreflect.Message

func (*CreatePartyResponse) Reset

func (x *CreatePartyResponse) Reset()

func (*CreatePartyResponse) String

func (x *CreatePartyResponse) String() string

type CreatePhoneRequest

type CreatePhoneRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// type of phone record, int value of PhoneType
	PhoneType int32 `protobuf:"varint,3,opt,name=phone_type,json=phoneType,proto3" json:"phone_type,omitempty"`
	// phone number
	PhoneNumber string `protobuf:"bytes,4,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method create_phone

func (*CreatePhoneRequest) Descriptor deprecated

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

Deprecated: Use CreatePhoneRequest.ProtoReflect.Descriptor instead.

func (*CreatePhoneRequest) GetMserviceId

func (x *CreatePhoneRequest) GetMserviceId() int64

func (*CreatePhoneRequest) GetPartyId

func (x *CreatePhoneRequest) GetPartyId() int64

func (*CreatePhoneRequest) GetPhoneNumber

func (x *CreatePhoneRequest) GetPhoneNumber() string

func (*CreatePhoneRequest) GetPhoneType

func (x *CreatePhoneRequest) GetPhoneType() int32

func (*CreatePhoneRequest) ProtoMessage

func (*CreatePhoneRequest) ProtoMessage()

func (*CreatePhoneRequest) ProtoReflect

func (x *CreatePhoneRequest) ProtoReflect() protoreflect.Message

func (*CreatePhoneRequest) Reset

func (x *CreatePhoneRequest) Reset()

func (*CreatePhoneRequest) String

func (x *CreatePhoneRequest) String() string

type CreatePhoneResponse

type CreatePhoneResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method create_phone

func (*CreatePhoneResponse) Descriptor deprecated

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

Deprecated: Use CreatePhoneResponse.ProtoReflect.Descriptor instead.

func (*CreatePhoneResponse) GetErrorCode

func (x *CreatePhoneResponse) GetErrorCode() int32

func (*CreatePhoneResponse) GetErrorMessage

func (x *CreatePhoneResponse) GetErrorMessage() string

func (*CreatePhoneResponse) GetVersion

func (x *CreatePhoneResponse) GetVersion() int32

func (*CreatePhoneResponse) ProtoMessage

func (*CreatePhoneResponse) ProtoMessage()

func (*CreatePhoneResponse) ProtoReflect

func (x *CreatePhoneResponse) ProtoReflect() protoreflect.Message

func (*CreatePhoneResponse) Reset

func (x *CreatePhoneResponse) Reset()

func (*CreatePhoneResponse) String

func (x *CreatePhoneResponse) String() string

type DeleteAddressRequest

type DeleteAddressRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// type of address record, int value of AddressType
	AddressType int32 `protobuf:"varint,3,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method delete_address

func (*DeleteAddressRequest) Descriptor deprecated

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

Deprecated: Use DeleteAddressRequest.ProtoReflect.Descriptor instead.

func (*DeleteAddressRequest) GetAddressType

func (x *DeleteAddressRequest) GetAddressType() int32

func (*DeleteAddressRequest) GetMserviceId

func (x *DeleteAddressRequest) GetMserviceId() int64

func (*DeleteAddressRequest) GetPartyId

func (x *DeleteAddressRequest) GetPartyId() int64

func (*DeleteAddressRequest) GetVersion

func (x *DeleteAddressRequest) GetVersion() int32

func (*DeleteAddressRequest) ProtoMessage

func (*DeleteAddressRequest) ProtoMessage()

func (*DeleteAddressRequest) ProtoReflect

func (x *DeleteAddressRequest) ProtoReflect() protoreflect.Message

func (*DeleteAddressRequest) Reset

func (x *DeleteAddressRequest) Reset()

func (*DeleteAddressRequest) String

func (x *DeleteAddressRequest) String() string

type DeleteAddressResponse

type DeleteAddressResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method delete_address

func (*DeleteAddressResponse) Descriptor deprecated

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

Deprecated: Use DeleteAddressResponse.ProtoReflect.Descriptor instead.

func (*DeleteAddressResponse) GetErrorCode

func (x *DeleteAddressResponse) GetErrorCode() int32

func (*DeleteAddressResponse) GetErrorMessage

func (x *DeleteAddressResponse) GetErrorMessage() string

func (*DeleteAddressResponse) GetVersion

func (x *DeleteAddressResponse) GetVersion() int32

func (*DeleteAddressResponse) ProtoMessage

func (*DeleteAddressResponse) ProtoMessage()

func (*DeleteAddressResponse) ProtoReflect

func (x *DeleteAddressResponse) ProtoReflect() protoreflect.Message

func (*DeleteAddressResponse) Reset

func (x *DeleteAddressResponse) Reset()

func (*DeleteAddressResponse) String

func (x *DeleteAddressResponse) String() string

type DeletePartyRequest

type DeletePartyRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method delete_party

func (*DeletePartyRequest) Descriptor deprecated

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

Deprecated: Use DeletePartyRequest.ProtoReflect.Descriptor instead.

func (*DeletePartyRequest) GetMserviceId

func (x *DeletePartyRequest) GetMserviceId() int64

func (*DeletePartyRequest) GetPartyId

func (x *DeletePartyRequest) GetPartyId() int64

func (*DeletePartyRequest) GetVersion

func (x *DeletePartyRequest) GetVersion() int32

func (*DeletePartyRequest) ProtoMessage

func (*DeletePartyRequest) ProtoMessage()

func (*DeletePartyRequest) ProtoReflect

func (x *DeletePartyRequest) ProtoReflect() protoreflect.Message

func (*DeletePartyRequest) Reset

func (x *DeletePartyRequest) Reset()

func (*DeletePartyRequest) String

func (x *DeletePartyRequest) String() string

type DeletePartyResponse

type DeletePartyResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method delete_party

func (*DeletePartyResponse) Descriptor deprecated

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

Deprecated: Use DeletePartyResponse.ProtoReflect.Descriptor instead.

func (*DeletePartyResponse) GetErrorCode

func (x *DeletePartyResponse) GetErrorCode() int32

func (*DeletePartyResponse) GetErrorMessage

func (x *DeletePartyResponse) GetErrorMessage() string

func (*DeletePartyResponse) GetVersion

func (x *DeletePartyResponse) GetVersion() int32

func (*DeletePartyResponse) ProtoMessage

func (*DeletePartyResponse) ProtoMessage()

func (*DeletePartyResponse) ProtoReflect

func (x *DeletePartyResponse) ProtoReflect() protoreflect.Message

func (*DeletePartyResponse) Reset

func (x *DeletePartyResponse) Reset()

func (*DeletePartyResponse) String

func (x *DeletePartyResponse) String() string

type DeletePhoneRequest

type DeletePhoneRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// type of phone record, int value of PhoneType
	PhoneType int32 `protobuf:"varint,3,opt,name=phone_type,json=phoneType,proto3" json:"phone_type,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method delete_phone

func (*DeletePhoneRequest) Descriptor deprecated

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

Deprecated: Use DeletePhoneRequest.ProtoReflect.Descriptor instead.

func (*DeletePhoneRequest) GetMserviceId

func (x *DeletePhoneRequest) GetMserviceId() int64

func (*DeletePhoneRequest) GetPartyId

func (x *DeletePhoneRequest) GetPartyId() int64

func (*DeletePhoneRequest) GetPhoneType

func (x *DeletePhoneRequest) GetPhoneType() int32

func (*DeletePhoneRequest) GetVersion

func (x *DeletePhoneRequest) GetVersion() int32

func (*DeletePhoneRequest) ProtoMessage

func (*DeletePhoneRequest) ProtoMessage()

func (*DeletePhoneRequest) ProtoReflect

func (x *DeletePhoneRequest) ProtoReflect() protoreflect.Message

func (*DeletePhoneRequest) Reset

func (x *DeletePhoneRequest) Reset()

func (*DeletePhoneRequest) String

func (x *DeletePhoneRequest) String() string

type DeletePhoneResponse

type DeletePhoneResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method delete_phone

func (*DeletePhoneResponse) Descriptor deprecated

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

Deprecated: Use DeletePhoneResponse.ProtoReflect.Descriptor instead.

func (*DeletePhoneResponse) GetErrorCode

func (x *DeletePhoneResponse) GetErrorCode() int32

func (*DeletePhoneResponse) GetErrorMessage

func (x *DeletePhoneResponse) GetErrorMessage() string

func (*DeletePhoneResponse) GetVersion

func (x *DeletePhoneResponse) GetVersion() int32

func (*DeletePhoneResponse) ProtoMessage

func (*DeletePhoneResponse) ProtoMessage()

func (*DeletePhoneResponse) ProtoReflect

func (x *DeletePhoneResponse) ProtoReflect() protoreflect.Message

func (*DeletePhoneResponse) Reset

func (x *DeletePhoneResponse) Reset()

func (*DeletePhoneResponse) String

func (x *DeletePhoneResponse) String() string

type GetAddressRequest

type GetAddressRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// type of address record, int value of AddressType
	AddressType int32 `protobuf:"varint,3,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method get_address

func (*GetAddressRequest) Descriptor deprecated

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

Deprecated: Use GetAddressRequest.ProtoReflect.Descriptor instead.

func (*GetAddressRequest) GetAddressType

func (x *GetAddressRequest) GetAddressType() int32

func (*GetAddressRequest) GetMserviceId

func (x *GetAddressRequest) GetMserviceId() int64

func (*GetAddressRequest) GetPartyId

func (x *GetAddressRequest) GetPartyId() int64

func (*GetAddressRequest) ProtoMessage

func (*GetAddressRequest) ProtoMessage()

func (*GetAddressRequest) ProtoReflect

func (x *GetAddressRequest) ProtoReflect() protoreflect.Message

func (*GetAddressRequest) Reset

func (x *GetAddressRequest) Reset()

func (*GetAddressRequest) String

func (x *GetAddressRequest) String() string

type GetAddressResponse

type GetAddressResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// address book address object
	Address *Address `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method get_address

func (*GetAddressResponse) Descriptor deprecated

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

Deprecated: Use GetAddressResponse.ProtoReflect.Descriptor instead.

func (*GetAddressResponse) GetAddress

func (x *GetAddressResponse) GetAddress() *Address

func (*GetAddressResponse) GetErrorCode

func (x *GetAddressResponse) GetErrorCode() int32

func (*GetAddressResponse) GetErrorMessage

func (x *GetAddressResponse) GetErrorMessage() string

func (*GetAddressResponse) ProtoMessage

func (*GetAddressResponse) ProtoMessage()

func (*GetAddressResponse) ProtoReflect

func (x *GetAddressResponse) ProtoReflect() protoreflect.Message

func (*GetAddressResponse) Reset

func (x *GetAddressResponse) Reset()

func (*GetAddressResponse) String

func (x *GetAddressResponse) String() string

type GetPartiesRequest

type GetPartiesRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method get_parties

func (*GetPartiesRequest) Descriptor deprecated

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

Deprecated: Use GetPartiesRequest.ProtoReflect.Descriptor instead.

func (*GetPartiesRequest) GetMserviceId

func (x *GetPartiesRequest) GetMserviceId() int64

func (*GetPartiesRequest) ProtoMessage

func (*GetPartiesRequest) ProtoMessage()

func (*GetPartiesRequest) ProtoReflect

func (x *GetPartiesRequest) ProtoReflect() protoreflect.Message

func (*GetPartiesRequest) Reset

func (x *GetPartiesRequest) Reset()

func (*GetPartiesRequest) String

func (x *GetPartiesRequest) String() string

type GetPartiesResponse

type GetPartiesResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// list address book party objects
	Parties []*Party `protobuf:"bytes,3,rep,name=parties,proto3" json:"parties,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method get_parties

func (*GetPartiesResponse) Descriptor deprecated

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

Deprecated: Use GetPartiesResponse.ProtoReflect.Descriptor instead.

func (*GetPartiesResponse) GetErrorCode

func (x *GetPartiesResponse) GetErrorCode() int32

func (*GetPartiesResponse) GetErrorMessage

func (x *GetPartiesResponse) GetErrorMessage() string

func (*GetPartiesResponse) GetParties

func (x *GetPartiesResponse) GetParties() []*Party

func (*GetPartiesResponse) ProtoMessage

func (*GetPartiesResponse) ProtoMessage()

func (*GetPartiesResponse) ProtoReflect

func (x *GetPartiesResponse) ProtoReflect() protoreflect.Message

func (*GetPartiesResponse) Reset

func (x *GetPartiesResponse) Reset()

func (*GetPartiesResponse) String

func (x *GetPartiesResponse) String() string

type GetPartyRequest

type GetPartyRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method get_party

func (*GetPartyRequest) Descriptor deprecated

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

Deprecated: Use GetPartyRequest.ProtoReflect.Descriptor instead.

func (*GetPartyRequest) GetMserviceId

func (x *GetPartyRequest) GetMserviceId() int64

func (*GetPartyRequest) GetPartyId

func (x *GetPartyRequest) GetPartyId() int64

func (*GetPartyRequest) ProtoMessage

func (*GetPartyRequest) ProtoMessage()

func (*GetPartyRequest) ProtoReflect

func (x *GetPartyRequest) ProtoReflect() protoreflect.Message

func (*GetPartyRequest) Reset

func (x *GetPartyRequest) Reset()

func (*GetPartyRequest) String

func (x *GetPartyRequest) String() string

type GetPartyResponse

type GetPartyResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// address book party object
	Party *Party `protobuf:"bytes,3,opt,name=party,proto3" json:"party,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method get_party

func (*GetPartyResponse) Descriptor deprecated

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

Deprecated: Use GetPartyResponse.ProtoReflect.Descriptor instead.

func (*GetPartyResponse) GetErrorCode

func (x *GetPartyResponse) GetErrorCode() int32

func (*GetPartyResponse) GetErrorMessage

func (x *GetPartyResponse) GetErrorMessage() string

func (*GetPartyResponse) GetParty

func (x *GetPartyResponse) GetParty() *Party

func (*GetPartyResponse) ProtoMessage

func (*GetPartyResponse) ProtoMessage()

func (*GetPartyResponse) ProtoReflect

func (x *GetPartyResponse) ProtoReflect() protoreflect.Message

func (*GetPartyResponse) Reset

func (x *GetPartyResponse) Reset()

func (*GetPartyResponse) String

func (x *GetPartyResponse) String() string

type GetPartyWrapperRequest

type GetPartyWrapperRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method get_party_wrapper

func (*GetPartyWrapperRequest) Descriptor deprecated

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

Deprecated: Use GetPartyWrapperRequest.ProtoReflect.Descriptor instead.

func (*GetPartyWrapperRequest) GetMserviceId

func (x *GetPartyWrapperRequest) GetMserviceId() int64

func (*GetPartyWrapperRequest) GetPartyId

func (x *GetPartyWrapperRequest) GetPartyId() int64

func (*GetPartyWrapperRequest) ProtoMessage

func (*GetPartyWrapperRequest) ProtoMessage()

func (*GetPartyWrapperRequest) ProtoReflect

func (x *GetPartyWrapperRequest) ProtoReflect() protoreflect.Message

func (*GetPartyWrapperRequest) Reset

func (x *GetPartyWrapperRequest) Reset()

func (*GetPartyWrapperRequest) String

func (x *GetPartyWrapperRequest) String() string

type GetPartyWrapperResponse

type GetPartyWrapperResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// address book party wrapper object
	PartyWrapper *PartyWrapper `protobuf:"bytes,3,opt,name=party_wrapper,json=partyWrapper,proto3" json:"party_wrapper,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method get_party_wrapper

func (*GetPartyWrapperResponse) Descriptor deprecated

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

Deprecated: Use GetPartyWrapperResponse.ProtoReflect.Descriptor instead.

func (*GetPartyWrapperResponse) GetErrorCode

func (x *GetPartyWrapperResponse) GetErrorCode() int32

func (*GetPartyWrapperResponse) GetErrorMessage

func (x *GetPartyWrapperResponse) GetErrorMessage() string

func (*GetPartyWrapperResponse) GetPartyWrapper

func (x *GetPartyWrapperResponse) GetPartyWrapper() *PartyWrapper

func (*GetPartyWrapperResponse) ProtoMessage

func (*GetPartyWrapperResponse) ProtoMessage()

func (*GetPartyWrapperResponse) ProtoReflect

func (x *GetPartyWrapperResponse) ProtoReflect() protoreflect.Message

func (*GetPartyWrapperResponse) Reset

func (x *GetPartyWrapperResponse) Reset()

func (*GetPartyWrapperResponse) String

func (x *GetPartyWrapperResponse) String() string

type GetPhoneRequest

type GetPhoneRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// type of phone record, int value of PhoneType
	PhoneType int32 `protobuf:"varint,3,opt,name=phone_type,json=phoneType,proto3" json:"phone_type,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method get_phone

func (*GetPhoneRequest) Descriptor deprecated

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

Deprecated: Use GetPhoneRequest.ProtoReflect.Descriptor instead.

func (*GetPhoneRequest) GetMserviceId

func (x *GetPhoneRequest) GetMserviceId() int64

func (*GetPhoneRequest) GetPartyId

func (x *GetPhoneRequest) GetPartyId() int64

func (*GetPhoneRequest) GetPhoneType

func (x *GetPhoneRequest) GetPhoneType() int32

func (*GetPhoneRequest) ProtoMessage

func (*GetPhoneRequest) ProtoMessage()

func (*GetPhoneRequest) ProtoReflect

func (x *GetPhoneRequest) ProtoReflect() protoreflect.Message

func (*GetPhoneRequest) Reset

func (x *GetPhoneRequest) Reset()

func (*GetPhoneRequest) String

func (x *GetPhoneRequest) String() string

type GetPhoneResponse

type GetPhoneResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// address book phone object
	Phone *Phone `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method get_phone

func (*GetPhoneResponse) Descriptor deprecated

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

Deprecated: Use GetPhoneResponse.ProtoReflect.Descriptor instead.

func (*GetPhoneResponse) GetErrorCode

func (x *GetPhoneResponse) GetErrorCode() int32

func (*GetPhoneResponse) GetErrorMessage

func (x *GetPhoneResponse) GetErrorMessage() string

func (*GetPhoneResponse) GetPhone

func (x *GetPhoneResponse) GetPhone() *Phone

func (*GetPhoneResponse) ProtoMessage

func (*GetPhoneResponse) ProtoMessage()

func (*GetPhoneResponse) ProtoReflect

func (x *GetPhoneResponse) ProtoReflect() protoreflect.Message

func (*GetPhoneResponse) Reset

func (x *GetPhoneResponse) Reset()

func (*GetPhoneResponse) String

func (x *GetPhoneResponse) String() string

type GetServerVersionRequest

type GetServerVersionRequest struct {

	// placeholder param to avoid empty message
	DummyParam int32 `protobuf:"varint,1,opt,name=dummy_param,json=dummyParam,proto3" json:"dummy_param,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method get_server_version

func (*GetServerVersionRequest) Descriptor deprecated

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

Deprecated: Use GetServerVersionRequest.ProtoReflect.Descriptor instead.

func (*GetServerVersionRequest) GetDummyParam

func (x *GetServerVersionRequest) GetDummyParam() int32

func (*GetServerVersionRequest) ProtoMessage

func (*GetServerVersionRequest) ProtoMessage()

func (*GetServerVersionRequest) ProtoReflect

func (x *GetServerVersionRequest) ProtoReflect() protoreflect.Message

func (*GetServerVersionRequest) Reset

func (x *GetServerVersionRequest) Reset()

func (*GetServerVersionRequest) String

func (x *GetServerVersionRequest) String() string

type GetServerVersionResponse

type GetServerVersionResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// version level of server
	ServerVersion string `protobuf:"bytes,3,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
	// server uptime in seconds
	ServerUptime int64 `protobuf:"varint,4,opt,name=server_uptime,json=serverUptime,proto3" json:"server_uptime,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method get_server_version

func (*GetServerVersionResponse) Descriptor deprecated

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

Deprecated: Use GetServerVersionResponse.ProtoReflect.Descriptor instead.

func (*GetServerVersionResponse) GetErrorCode

func (x *GetServerVersionResponse) GetErrorCode() int32

func (*GetServerVersionResponse) GetErrorMessage

func (x *GetServerVersionResponse) GetErrorMessage() string

func (*GetServerVersionResponse) GetServerUptime

func (x *GetServerVersionResponse) GetServerUptime() int64

func (*GetServerVersionResponse) GetServerVersion

func (x *GetServerVersionResponse) GetServerVersion() string

func (*GetServerVersionResponse) ProtoMessage

func (*GetServerVersionResponse) ProtoMessage()

func (*GetServerVersionResponse) ProtoReflect

func (x *GetServerVersionResponse) ProtoReflect() protoreflect.Message

func (*GetServerVersionResponse) Reset

func (x *GetServerVersionResponse) Reset()

func (*GetServerVersionResponse) String

func (x *GetServerVersionResponse) String() string

type MServiceAddrbookClient

type MServiceAddrbookClient interface {
	// create new party
	CreateParty(ctx context.Context, in *CreatePartyRequest, opts ...grpc.CallOption) (*CreatePartyResponse, error)
	// update an existing party
	UpdateParty(ctx context.Context, in *UpdatePartyRequest, opts ...grpc.CallOption) (*UpdatePartyResponse, error)
	// delete an existing party
	DeleteParty(ctx context.Context, in *DeletePartyRequest, opts ...grpc.CallOption) (*DeletePartyResponse, error)
	// get party by id
	GetParty(ctx context.Context, in *GetPartyRequest, opts ...grpc.CallOption) (*GetPartyResponse, error)
	// get parties by mservice id
	GetParties(ctx context.Context, in *GetPartiesRequest, opts ...grpc.CallOption) (*GetPartiesResponse, error)
	// get party wrapper by id
	GetPartyWrapper(ctx context.Context, in *GetPartyWrapperRequest, opts ...grpc.CallOption) (*GetPartyWrapperResponse, error)
	// create a new address for a party
	CreateAddress(ctx context.Context, in *CreateAddressRequest, opts ...grpc.CallOption) (*CreateAddressResponse, error)
	// update an existing address for a party
	UpdateAddress(ctx context.Context, in *UpdateAddressRequest, opts ...grpc.CallOption) (*UpdateAddressResponse, error)
	// delete an existing address for a party
	DeleteAddress(ctx context.Context, in *DeleteAddressRequest, opts ...grpc.CallOption) (*DeleteAddressResponse, error)
	// get an address for a party by id
	GetAddress(ctx context.Context, in *GetAddressRequest, opts ...grpc.CallOption) (*GetAddressResponse, error)
	// create a new  phone
	CreatePhone(ctx context.Context, in *CreatePhoneRequest, opts ...grpc.CallOption) (*CreatePhoneResponse, error)
	// update an existing phone
	UpdatePhone(ctx context.Context, in *UpdatePhoneRequest, opts ...grpc.CallOption) (*UpdatePhoneResponse, error)
	// delete an existing phone
	DeletePhone(ctx context.Context, in *DeletePhoneRequest, opts ...grpc.CallOption) (*DeletePhoneResponse, error)
	// get a phone for a party by id
	GetPhone(ctx context.Context, in *GetPhoneRequest, opts ...grpc.CallOption) (*GetPhoneResponse, error)
	// get current server version and uptime - health check
	GetServerVersion(ctx context.Context, in *GetServerVersionRequest, opts ...grpc.CallOption) (*GetServerVersionResponse, error)
}

MServiceAddrbookClient is the client API for MServiceAddrbook service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type MServiceAddrbookServer

type MServiceAddrbookServer interface {
	// create new party
	CreateParty(context.Context, *CreatePartyRequest) (*CreatePartyResponse, error)
	// update an existing party
	UpdateParty(context.Context, *UpdatePartyRequest) (*UpdatePartyResponse, error)
	// delete an existing party
	DeleteParty(context.Context, *DeletePartyRequest) (*DeletePartyResponse, error)
	// get party by id
	GetParty(context.Context, *GetPartyRequest) (*GetPartyResponse, error)
	// get parties by mservice id
	GetParties(context.Context, *GetPartiesRequest) (*GetPartiesResponse, error)
	// get party wrapper by id
	GetPartyWrapper(context.Context, *GetPartyWrapperRequest) (*GetPartyWrapperResponse, error)
	// create a new address for a party
	CreateAddress(context.Context, *CreateAddressRequest) (*CreateAddressResponse, error)
	// update an existing address for a party
	UpdateAddress(context.Context, *UpdateAddressRequest) (*UpdateAddressResponse, error)
	// delete an existing address for a party
	DeleteAddress(context.Context, *DeleteAddressRequest) (*DeleteAddressResponse, error)
	// get an address for a party by id
	GetAddress(context.Context, *GetAddressRequest) (*GetAddressResponse, error)
	// create a new  phone
	CreatePhone(context.Context, *CreatePhoneRequest) (*CreatePhoneResponse, error)
	// update an existing phone
	UpdatePhone(context.Context, *UpdatePhoneRequest) (*UpdatePhoneResponse, error)
	// delete an existing phone
	DeletePhone(context.Context, *DeletePhoneRequest) (*DeletePhoneResponse, error)
	// get a phone for a party by id
	GetPhone(context.Context, *GetPhoneRequest) (*GetPhoneResponse, error)
	// get current server version and uptime - health check
	GetServerVersion(context.Context, *GetServerVersionRequest) (*GetServerVersionResponse, error)
	// contains filtered or unexported methods
}

MServiceAddrbookServer is the server API for MServiceAddrbook service. All implementations must embed UnimplementedMServiceAddrbookServer for forward compatibility

type Party

type Party struct {

	// party identifier
	PartyId int64 `protobuf:"varint,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// creation date
	Created *dml.DateTime `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	// modification date
	Modified *dml.DateTime `protobuf:"bytes,3,opt,name=modified,proto3" json:"modified,omitempty"`
	// deletion date
	Deleted *dml.DateTime `protobuf:"bytes,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// has record been deleted?
	IsDeleted bool `protobuf:"varint,5,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"`
	// mservice account identifier
	MserviceId int64 `protobuf:"varint,7,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// type of party record, int value of PartyType
	PartyType int32 `protobuf:"varint,8,opt,name=party_type,json=partyType,proto3" json:"party_type,omitempty"`
	// string representation of party_type
	PartyTypeName string `protobuf:"bytes,9,opt,name=party_type_name,json=partyTypeName,proto3" json:"party_type_name,omitempty"`
	// party last name
	LastName string `protobuf:"bytes,10,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// party middle name
	MiddleName string `protobuf:"bytes,11,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"`
	// party first name
	FirstName string `protobuf:"bytes,12,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// party nickname
	Nickname string `protobuf:"bytes,13,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// party company
	Company string `protobuf:"bytes,14,opt,name=company,proto3" json:"company,omitempty"`
	// party email
	Email string `protobuf:"bytes,15,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

address book party entity

func (*Party) Descriptor deprecated

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

Deprecated: Use Party.ProtoReflect.Descriptor instead.

func (*Party) GetCompany

func (x *Party) GetCompany() string

func (*Party) GetCreated

func (x *Party) GetCreated() *dml.DateTime

func (*Party) GetDeleted

func (x *Party) GetDeleted() *dml.DateTime

func (*Party) GetEmail

func (x *Party) GetEmail() string

func (*Party) GetFirstName

func (x *Party) GetFirstName() string

func (*Party) GetIsDeleted

func (x *Party) GetIsDeleted() bool

func (*Party) GetLastName

func (x *Party) GetLastName() string

func (*Party) GetMiddleName

func (x *Party) GetMiddleName() string

func (*Party) GetModified

func (x *Party) GetModified() *dml.DateTime

func (*Party) GetMserviceId

func (x *Party) GetMserviceId() int64

func (*Party) GetNickname

func (x *Party) GetNickname() string

func (*Party) GetPartyId

func (x *Party) GetPartyId() int64

func (*Party) GetPartyType

func (x *Party) GetPartyType() int32

func (*Party) GetPartyTypeName

func (x *Party) GetPartyTypeName() string

func (*Party) GetVersion

func (x *Party) GetVersion() int32

func (*Party) ProtoMessage

func (*Party) ProtoMessage()

func (*Party) ProtoReflect

func (x *Party) ProtoReflect() protoreflect.Message

func (*Party) Reset

func (x *Party) Reset()

func (*Party) String

func (x *Party) String() string

type PartyType

type PartyType int32

address book party type

const (
	// party type is unknown
	PartyType_UnknownParty PartyType = 0
	// party is a person
	PartyType_Person PartyType = 1
	// party is a business
	PartyType_Business PartyType = 2
)

func (PartyType) Descriptor

func (PartyType) Descriptor() protoreflect.EnumDescriptor

func (PartyType) Enum

func (x PartyType) Enum() *PartyType

func (PartyType) EnumDescriptor deprecated

func (PartyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PartyType.Descriptor instead.

func (PartyType) Number

func (x PartyType) Number() protoreflect.EnumNumber

func (PartyType) String

func (x PartyType) String() string

func (PartyType) Type

type PartyWrapper

type PartyWrapper struct {

	// party identifier
	PartyId int64 `protobuf:"varint,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// creation date
	Created *dml.DateTime `protobuf:"bytes,2,opt,name=created,proto3" json:"created,omitempty"`
	// modification date
	Modified *dml.DateTime `protobuf:"bytes,3,opt,name=modified,proto3" json:"modified,omitempty"`
	// deletion date
	Deleted *dml.DateTime `protobuf:"bytes,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// has record been deleted?
	IsDeleted bool `protobuf:"varint,5,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,6,opt,name=version,proto3" json:"version,omitempty"`
	// mservice account identifier
	MserviceId int64 `protobuf:"varint,7,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// type of party record, int value of PartyType
	PartyType int32 `protobuf:"varint,8,opt,name=party_type,json=partyType,proto3" json:"party_type,omitempty"`
	// string representation of party_type
	PartyTypeName string `protobuf:"bytes,9,opt,name=party_type_name,json=partyTypeName,proto3" json:"party_type_name,omitempty"`
	// party last name
	LastName string `protobuf:"bytes,10,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// party middle name
	MiddleName string `protobuf:"bytes,11,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"`
	// party first name
	FirstName string `protobuf:"bytes,12,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// party nickname
	Nickname string `protobuf:"bytes,13,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// party company
	Company string `protobuf:"bytes,14,opt,name=company,proto3" json:"company,omitempty"`
	// party email
	Email string `protobuf:"bytes,15,opt,name=email,proto3" json:"email,omitempty"`
	// list address book address objects
	Addresses []*Address `protobuf:"bytes,16,rep,name=addresses,proto3" json:"addresses,omitempty"`
	// list address book phone objects
	Phones []*Phone `protobuf:"bytes,17,rep,name=phones,proto3" json:"phones,omitempty"`
	// contains filtered or unexported fields
}

address book party entity wrapper

func (*PartyWrapper) Descriptor deprecated

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

Deprecated: Use PartyWrapper.ProtoReflect.Descriptor instead.

func (*PartyWrapper) GetAddresses

func (x *PartyWrapper) GetAddresses() []*Address

func (*PartyWrapper) GetCompany

func (x *PartyWrapper) GetCompany() string

func (*PartyWrapper) GetCreated

func (x *PartyWrapper) GetCreated() *dml.DateTime

func (*PartyWrapper) GetDeleted

func (x *PartyWrapper) GetDeleted() *dml.DateTime

func (*PartyWrapper) GetEmail

func (x *PartyWrapper) GetEmail() string

func (*PartyWrapper) GetFirstName

func (x *PartyWrapper) GetFirstName() string

func (*PartyWrapper) GetIsDeleted

func (x *PartyWrapper) GetIsDeleted() bool

func (*PartyWrapper) GetLastName

func (x *PartyWrapper) GetLastName() string

func (*PartyWrapper) GetMiddleName

func (x *PartyWrapper) GetMiddleName() string

func (*PartyWrapper) GetModified

func (x *PartyWrapper) GetModified() *dml.DateTime

func (*PartyWrapper) GetMserviceId

func (x *PartyWrapper) GetMserviceId() int64

func (*PartyWrapper) GetNickname

func (x *PartyWrapper) GetNickname() string

func (*PartyWrapper) GetPartyId

func (x *PartyWrapper) GetPartyId() int64

func (*PartyWrapper) GetPartyType

func (x *PartyWrapper) GetPartyType() int32

func (*PartyWrapper) GetPartyTypeName

func (x *PartyWrapper) GetPartyTypeName() string

func (*PartyWrapper) GetPhones

func (x *PartyWrapper) GetPhones() []*Phone

func (*PartyWrapper) GetVersion

func (x *PartyWrapper) GetVersion() int32

func (*PartyWrapper) ProtoMessage

func (*PartyWrapper) ProtoMessage()

func (*PartyWrapper) ProtoReflect

func (x *PartyWrapper) ProtoReflect() protoreflect.Message

func (*PartyWrapper) Reset

func (x *PartyWrapper) Reset()

func (*PartyWrapper) String

func (x *PartyWrapper) String() string

type Phone

type Phone struct {

	// party identifier
	PartyId int64 `protobuf:"varint,1,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// type of phone record, int value of PhoneType
	PhoneType int32 `protobuf:"varint,2,opt,name=phone_type,json=phoneType,proto3" json:"phone_type,omitempty"`
	// creation date
	Created *dml.DateTime `protobuf:"bytes,3,opt,name=created,proto3" json:"created,omitempty"`
	// modification date
	Modified *dml.DateTime `protobuf:"bytes,4,opt,name=modified,proto3" json:"modified,omitempty"`
	// deletion date
	Deleted *dml.DateTime `protobuf:"bytes,5,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// has record been deleted?
	IsDeleted bool `protobuf:"varint,6,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,7,opt,name=version,proto3" json:"version,omitempty"`
	// string representation of phone_type
	PhoneTypeName string `protobuf:"bytes,8,opt,name=phone_type_name,json=phoneTypeName,proto3" json:"phone_type_name,omitempty"`
	// mservice account identifier
	MserviceId int64 `protobuf:"varint,9,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// phone number
	PhoneNumber string `protobuf:"bytes,10,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}

address book phone entity

func (*Phone) Descriptor deprecated

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

Deprecated: Use Phone.ProtoReflect.Descriptor instead.

func (*Phone) GetCreated

func (x *Phone) GetCreated() *dml.DateTime

func (*Phone) GetDeleted

func (x *Phone) GetDeleted() *dml.DateTime

func (*Phone) GetIsDeleted

func (x *Phone) GetIsDeleted() bool

func (*Phone) GetModified

func (x *Phone) GetModified() *dml.DateTime

func (*Phone) GetMserviceId

func (x *Phone) GetMserviceId() int64

func (*Phone) GetPartyId

func (x *Phone) GetPartyId() int64

func (*Phone) GetPhoneNumber

func (x *Phone) GetPhoneNumber() string

func (*Phone) GetPhoneType

func (x *Phone) GetPhoneType() int32

func (*Phone) GetPhoneTypeName

func (x *Phone) GetPhoneTypeName() string

func (*Phone) GetVersion

func (x *Phone) GetVersion() int32

func (*Phone) ProtoMessage

func (*Phone) ProtoMessage()

func (*Phone) ProtoReflect

func (x *Phone) ProtoReflect() protoreflect.Message

func (*Phone) Reset

func (x *Phone) Reset()

func (*Phone) String

func (x *Phone) String() string

type PhoneType

type PhoneType int32

address book phone type

const (
	// phone type is unknown
	PhoneType_UnknownPhone PhoneType = 0
	// phone is home phone
	PhoneType_HomePhone PhoneType = 1
	// phone is work phone
	PhoneType_WorkPhone PhoneType = 2
	// phone is cell phone
	PhoneType_CellPhone PhoneType = 3
)

func (PhoneType) Descriptor

func (PhoneType) Descriptor() protoreflect.EnumDescriptor

func (PhoneType) Enum

func (x PhoneType) Enum() *PhoneType

func (PhoneType) EnumDescriptor deprecated

func (PhoneType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PhoneType.Descriptor instead.

func (PhoneType) Number

func (x PhoneType) Number() protoreflect.EnumNumber

func (PhoneType) String

func (x PhoneType) String() string

func (PhoneType) Type

type UnimplementedMServiceAddrbookServer

type UnimplementedMServiceAddrbookServer struct {
}

UnimplementedMServiceAddrbookServer must be embedded to have forward compatible implementations.

func (UnimplementedMServiceAddrbookServer) CreateAddress

func (UnimplementedMServiceAddrbookServer) CreateParty

func (UnimplementedMServiceAddrbookServer) CreatePhone

func (UnimplementedMServiceAddrbookServer) DeleteAddress

func (UnimplementedMServiceAddrbookServer) DeleteParty

func (UnimplementedMServiceAddrbookServer) DeletePhone

func (UnimplementedMServiceAddrbookServer) GetAddress

func (UnimplementedMServiceAddrbookServer) GetParties

func (UnimplementedMServiceAddrbookServer) GetParty

func (UnimplementedMServiceAddrbookServer) GetPartyWrapper

func (UnimplementedMServiceAddrbookServer) GetPhone

func (UnimplementedMServiceAddrbookServer) GetServerVersion

func (UnimplementedMServiceAddrbookServer) UpdateAddress

func (UnimplementedMServiceAddrbookServer) UpdateParty

func (UnimplementedMServiceAddrbookServer) UpdatePhone

type UnsafeMServiceAddrbookServer

type UnsafeMServiceAddrbookServer interface {
	// contains filtered or unexported methods
}

UnsafeMServiceAddrbookServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MServiceAddrbookServer will result in compilation errors.

type UpdateAddressRequest

type UpdateAddressRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// type of address record, int value of AddressType
	AddressType int32 `protobuf:"varint,3,opt,name=address_type,json=addressType,proto3" json:"address_type,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// postal address line 1
	Address_1 string `protobuf:"bytes,5,opt,name=address_1,json=address1,proto3" json:"address_1,omitempty"`
	// postal address line 2
	Address_2 string `protobuf:"bytes,6,opt,name=address_2,json=address2,proto3" json:"address_2,omitempty"`
	// postal city
	City string `protobuf:"bytes,7,opt,name=city,proto3" json:"city,omitempty"`
	// postal state
	State string `protobuf:"bytes,8,opt,name=state,proto3" json:"state,omitempty"`
	// postal code
	PostalCode string `protobuf:"bytes,9,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	// country code
	CountryCode string `protobuf:"bytes,10,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method update_address

func (*UpdateAddressRequest) Descriptor deprecated

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

Deprecated: Use UpdateAddressRequest.ProtoReflect.Descriptor instead.

func (*UpdateAddressRequest) GetAddressType

func (x *UpdateAddressRequest) GetAddressType() int32

func (*UpdateAddressRequest) GetAddress_1

func (x *UpdateAddressRequest) GetAddress_1() string

func (*UpdateAddressRequest) GetAddress_2

func (x *UpdateAddressRequest) GetAddress_2() string

func (*UpdateAddressRequest) GetCity

func (x *UpdateAddressRequest) GetCity() string

func (*UpdateAddressRequest) GetCountryCode

func (x *UpdateAddressRequest) GetCountryCode() string

func (*UpdateAddressRequest) GetMserviceId

func (x *UpdateAddressRequest) GetMserviceId() int64

func (*UpdateAddressRequest) GetPartyId

func (x *UpdateAddressRequest) GetPartyId() int64

func (*UpdateAddressRequest) GetPostalCode

func (x *UpdateAddressRequest) GetPostalCode() string

func (*UpdateAddressRequest) GetState

func (x *UpdateAddressRequest) GetState() string

func (*UpdateAddressRequest) GetVersion

func (x *UpdateAddressRequest) GetVersion() int32

func (*UpdateAddressRequest) ProtoMessage

func (*UpdateAddressRequest) ProtoMessage()

func (*UpdateAddressRequest) ProtoReflect

func (x *UpdateAddressRequest) ProtoReflect() protoreflect.Message

func (*UpdateAddressRequest) Reset

func (x *UpdateAddressRequest) Reset()

func (*UpdateAddressRequest) String

func (x *UpdateAddressRequest) String() string

type UpdateAddressResponse

type UpdateAddressResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method update_address

func (*UpdateAddressResponse) Descriptor deprecated

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

Deprecated: Use UpdateAddressResponse.ProtoReflect.Descriptor instead.

func (*UpdateAddressResponse) GetErrorCode

func (x *UpdateAddressResponse) GetErrorCode() int32

func (*UpdateAddressResponse) GetErrorMessage

func (x *UpdateAddressResponse) GetErrorMessage() string

func (*UpdateAddressResponse) GetVersion

func (x *UpdateAddressResponse) GetVersion() int32

func (*UpdateAddressResponse) ProtoMessage

func (*UpdateAddressResponse) ProtoMessage()

func (*UpdateAddressResponse) ProtoReflect

func (x *UpdateAddressResponse) ProtoReflect() protoreflect.Message

func (*UpdateAddressResponse) Reset

func (x *UpdateAddressResponse) Reset()

func (*UpdateAddressResponse) String

func (x *UpdateAddressResponse) String() string

type UpdatePartyRequest

type UpdatePartyRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// type of party record, int value of PartyType
	PartyType int32 `protobuf:"varint,4,opt,name=party_type,json=partyType,proto3" json:"party_type,omitempty"`
	// party last name
	LastName string `protobuf:"bytes,5,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	// party middle name
	MiddleName string `protobuf:"bytes,6,opt,name=middle_name,json=middleName,proto3" json:"middle_name,omitempty"`
	// party first name
	FirstName string `protobuf:"bytes,7,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	// party nickname
	Nickname string `protobuf:"bytes,8,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// party company
	Company string `protobuf:"bytes,9,opt,name=company,proto3" json:"company,omitempty"`
	// party email
	Email string `protobuf:"bytes,10,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method update_party

func (*UpdatePartyRequest) Descriptor deprecated

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

Deprecated: Use UpdatePartyRequest.ProtoReflect.Descriptor instead.

func (*UpdatePartyRequest) GetCompany

func (x *UpdatePartyRequest) GetCompany() string

func (*UpdatePartyRequest) GetEmail

func (x *UpdatePartyRequest) GetEmail() string

func (*UpdatePartyRequest) GetFirstName

func (x *UpdatePartyRequest) GetFirstName() string

func (*UpdatePartyRequest) GetLastName

func (x *UpdatePartyRequest) GetLastName() string

func (*UpdatePartyRequest) GetMiddleName

func (x *UpdatePartyRequest) GetMiddleName() string

func (*UpdatePartyRequest) GetMserviceId

func (x *UpdatePartyRequest) GetMserviceId() int64

func (*UpdatePartyRequest) GetNickname

func (x *UpdatePartyRequest) GetNickname() string

func (*UpdatePartyRequest) GetPartyId

func (x *UpdatePartyRequest) GetPartyId() int64

func (*UpdatePartyRequest) GetPartyType

func (x *UpdatePartyRequest) GetPartyType() int32

func (*UpdatePartyRequest) GetVersion

func (x *UpdatePartyRequest) GetVersion() int32

func (*UpdatePartyRequest) ProtoMessage

func (*UpdatePartyRequest) ProtoMessage()

func (*UpdatePartyRequest) ProtoReflect

func (x *UpdatePartyRequest) ProtoReflect() protoreflect.Message

func (*UpdatePartyRequest) Reset

func (x *UpdatePartyRequest) Reset()

func (*UpdatePartyRequest) String

func (x *UpdatePartyRequest) String() string

type UpdatePartyResponse

type UpdatePartyResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method update_party

func (*UpdatePartyResponse) Descriptor deprecated

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

Deprecated: Use UpdatePartyResponse.ProtoReflect.Descriptor instead.

func (*UpdatePartyResponse) GetErrorCode

func (x *UpdatePartyResponse) GetErrorCode() int32

func (*UpdatePartyResponse) GetErrorMessage

func (x *UpdatePartyResponse) GetErrorMessage() string

func (*UpdatePartyResponse) GetVersion

func (x *UpdatePartyResponse) GetVersion() int32

func (*UpdatePartyResponse) ProtoMessage

func (*UpdatePartyResponse) ProtoMessage()

func (*UpdatePartyResponse) ProtoReflect

func (x *UpdatePartyResponse) ProtoReflect() protoreflect.Message

func (*UpdatePartyResponse) Reset

func (x *UpdatePartyResponse) Reset()

func (*UpdatePartyResponse) String

func (x *UpdatePartyResponse) String() string

type UpdatePhoneRequest

type UpdatePhoneRequest struct {

	// mservice account identifier
	MserviceId int64 `protobuf:"varint,1,opt,name=mservice_id,json=mserviceId,proto3" json:"mservice_id,omitempty"`
	// party identifier
	PartyId int64 `protobuf:"varint,2,opt,name=party_id,json=partyId,proto3" json:"party_id,omitempty"`
	// type of phone record, int value of PhoneType
	PhoneType int32 `protobuf:"varint,3,opt,name=phone_type,json=phoneType,proto3" json:"phone_type,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// phone number
	PhoneNumber string `protobuf:"bytes,5,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}

request parameters for method update_phone

func (*UpdatePhoneRequest) Descriptor deprecated

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

Deprecated: Use UpdatePhoneRequest.ProtoReflect.Descriptor instead.

func (*UpdatePhoneRequest) GetMserviceId

func (x *UpdatePhoneRequest) GetMserviceId() int64

func (*UpdatePhoneRequest) GetPartyId

func (x *UpdatePhoneRequest) GetPartyId() int64

func (*UpdatePhoneRequest) GetPhoneNumber

func (x *UpdatePhoneRequest) GetPhoneNumber() string

func (*UpdatePhoneRequest) GetPhoneType

func (x *UpdatePhoneRequest) GetPhoneType() int32

func (*UpdatePhoneRequest) GetVersion

func (x *UpdatePhoneRequest) GetVersion() int32

func (*UpdatePhoneRequest) ProtoMessage

func (*UpdatePhoneRequest) ProtoMessage()

func (*UpdatePhoneRequest) ProtoReflect

func (x *UpdatePhoneRequest) ProtoReflect() protoreflect.Message

func (*UpdatePhoneRequest) Reset

func (x *UpdatePhoneRequest) Reset()

func (*UpdatePhoneRequest) String

func (x *UpdatePhoneRequest) String() string

type UpdatePhoneResponse

type UpdatePhoneResponse struct {

	// method result code
	ErrorCode int32 `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
	// text error message
	ErrorMessage string `protobuf:"bytes,2,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
	// version of this record
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

response parameters for method update_phone

func (*UpdatePhoneResponse) Descriptor deprecated

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

Deprecated: Use UpdatePhoneResponse.ProtoReflect.Descriptor instead.

func (*UpdatePhoneResponse) GetErrorCode

func (x *UpdatePhoneResponse) GetErrorCode() int32

func (*UpdatePhoneResponse) GetErrorMessage

func (x *UpdatePhoneResponse) GetErrorMessage() string

func (*UpdatePhoneResponse) GetVersion

func (x *UpdatePhoneResponse) GetVersion() int32

func (*UpdatePhoneResponse) ProtoMessage

func (*UpdatePhoneResponse) ProtoMessage()

func (*UpdatePhoneResponse) ProtoReflect

func (x *UpdatePhoneResponse) ProtoReflect() protoreflect.Message

func (*UpdatePhoneResponse) Reset

func (x *UpdatePhoneResponse) Reset()

func (*UpdatePhoneResponse) String

func (x *UpdatePhoneResponse) String() string

Jump to

Keyboard shortcuts

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