Documentation ¶
Overview ¶
Package pb is a generated protocol buffer package.
It is generated from these files:
pkg/pb/contacts.proto
It has these top-level messages:
Profile CreateProfileRequest CreateProfileResponse ReadProfileRequest ReadProfileResponse UpdateProfileRequest UpdateProfileResponse DeleteProfileRequest DeleteProfileResponse ListProfileRequest ListProfilesResponse Group CreateGroupRequest CreateGroupResponse ReadGroupRequest ReadGroupResponse UpdateGroupRequest UpdateGroupResponse DeleteGroupRequest DeleteGroupResponse ListGroupRequest ListGroupsResponse Contact Email Address CreateContactRequest CreateContactResponse ReadContactRequest ReadContactResponse UpdateContactRequest UpdateContactResponse DeleteContactRequest DeleteContactResponse ListContactsResponse SMSRequest SMSResponse ListContactRequest
Package pb is a generated protocol buffer package.
It is generated from these files:
pkg/pb/contacts.proto
It has these top-level messages:
Profile CreateProfileRequest CreateProfileResponse ReadProfileRequest ReadProfileResponse UpdateProfileRequest UpdateProfileResponse DeleteProfileRequest DeleteProfileResponse ListProfileRequest ListProfilesResponse Group CreateGroupRequest CreateGroupResponse ReadGroupRequest ReadGroupResponse UpdateGroupRequest UpdateGroupResponse DeleteGroupRequest DeleteGroupResponse ListGroupRequest ListGroupsResponse Contact Email Address CreateContactRequest CreateContactResponse ReadContactRequest ReadContactResponse UpdateContactRequest UpdateContactResponse DeleteContactRequest DeleteContactResponse ListContactsResponse SMSRequest SMSResponse ListContactRequest
Package pb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- func DefaultDeleteContact(ctx context.Context, in *Contact, db *gorm1.DB) error
- func DefaultDeleteEmail(ctx context.Context, in *Email, db *gorm1.DB) error
- func DefaultDeleteGroup(ctx context.Context, in *Group, db *gorm1.DB) error
- func DefaultDeleteProfile(ctx context.Context, in *Profile, db *gorm1.DB) error
- func IterateFiltering(f *query.Filtering, callback FilteringIteratorCallback) []string
- func RegisterContactsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterContactsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContactsClient) error
- func RegisterContactsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterContactsServer(s *grpc.Server, srv ContactsServer)
- func RegisterGroupsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterGroupsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupsClient) error
- func RegisterGroupsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterGroupsServer(s *grpc.Server, srv GroupsServer)
- func RegisterProfilesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterProfilesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProfilesClient) error
- func RegisterProfilesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterProfilesServer(s *grpc.Server, srv ProfilesServer)
- type Address
- func (*Address) Descriptor() ([]byte, []int)
- func (m *Address) GetAddress() string
- func (m *Address) GetCity() string
- func (m *Address) GetCountry() string
- func (m *Address) GetState() string
- func (m *Address) GetZip() string
- func (*Address) ProtoMessage()
- func (m *Address) Reset()
- func (m *Address) String() string
- func (m *Address) ToORM(ctx context.Context) (AddressORM, error)
- func (m *Address) Validate() error
- type AddressORM
- type AddressValidationError
- type AddressWithAfterToORM
- type AddressWithAfterToPB
- type AddressWithBeforeToORM
- type AddressWithBeforeToPB
- type Contact
- func DefaultApplyFieldMaskContact(ctx context.Context, patchee *Contact, ormObj *ContactORM, patcher *Contact, ...) (*Contact, error)
- func DefaultCreateContact(ctx context.Context, in *Contact, db *gorm1.DB) (*Contact, error)
- func DefaultListContact(ctx context.Context, db *gorm1.DB, req interface{}) ([]*Contact, error)
- func DefaultPatchContact(ctx context.Context, in *Contact, updateMask *field_mask1.FieldMask, ...) (*Contact, error)
- func DefaultReadContact(ctx context.Context, in *Contact, db *gorm1.DB) (*Contact, error)
- func DefaultStrictUpdateContact(ctx context.Context, in *Contact, db *gorm1.DB) (*Contact, error)
- func DefaultUpdateContact(ctx context.Context, in *Contact, db *gorm1.DB) (*Contact, error)
- func (m *Contact) AfterToORM(ctx context.Context, c *ContactORM) error
- func (*Contact) Descriptor() ([]byte, []int)
- func (m *Contact) GetEmails() []*Email
- func (m *Contact) GetFirstName() string
- func (m *Contact) GetGroups() []*Group
- func (m *Contact) GetHomeAddress() *Address
- func (m *Contact) GetId() *atlas_rpc.Identifier
- func (m *Contact) GetLastName() string
- func (m *Contact) GetMiddleName() string
- func (m *Contact) GetNicknames() *gorm_types.JSONValue
- func (m *Contact) GetNotes() string
- func (m *Contact) GetPrimaryEmail() string
- func (m *Contact) GetProfileId() *atlas_rpc.Identifier
- func (m *Contact) GetWorkAddress() *Address
- func (*Contact) ProtoMessage()
- func (m *Contact) Reset()
- func (m *Contact) String() string
- func (m *Contact) ToORM(ctx context.Context) (ContactORM, error)
- func (m *Contact) Validate() error
- type ContactORM
- type ContactValidationError
- type ContactWithAfterToORM
- type ContactWithAfterToPB
- type ContactWithBeforePatchSave
- type ContactWithBeforeToORM
- type ContactWithBeforeToPB
- type ContactsClient
- type ContactsContactWithBeforeCreate
- type ContactsContactWithBeforeDelete
- type ContactsContactWithBeforeList
- type ContactsContactWithBeforeRead
- type ContactsContactWithBeforeUpdate
- type ContactsDefaultServer
- func (m *ContactsDefaultServer) Create(ctx context.Context, in *CreateContactRequest) (*CreateContactResponse, error)
- func (m *ContactsDefaultServer) CustomList(ctx context.Context, in *ListContactRequest) (*ListContactsResponse, error)
- func (m *ContactsDefaultServer) CustomRead(ctx context.Context, req *ReadContactRequest) (*ReadContactResponse, error)
- func (m *ContactsDefaultServer) Delete(ctx context.Context, in *DeleteContactRequest) (*DeleteContactResponse, error)
- func (m *ContactsDefaultServer) List(ctx context.Context, in *ListContactRequest) (*ListContactsResponse, error)
- func (m *ContactsDefaultServer) Read(ctx context.Context, in *ReadContactRequest) (*ReadContactResponse, error)
- func (m *ContactsDefaultServer) SendSMS(ctx context.Context, in *SMSRequest) (*SMSResponse, error)
- func (m *ContactsDefaultServer) Update(ctx context.Context, in *UpdateContactRequest) (*UpdateContactResponse, error)
- type ContactsServer
- type CreateContactRequest
- type CreateContactRequestValidationError
- func (e CreateContactRequestValidationError) Error() string
- func (e CreateContactRequestValidationError) GetCause() error
- func (e CreateContactRequestValidationError) GetErrorName() string
- func (e CreateContactRequestValidationError) GetField() string
- func (e CreateContactRequestValidationError) GetKey() bool
- func (e CreateContactRequestValidationError) GetReason() string
- type CreateContactResponse
- type CreateContactResponseValidationError
- func (e CreateContactResponseValidationError) Error() string
- func (e CreateContactResponseValidationError) GetCause() error
- func (e CreateContactResponseValidationError) GetErrorName() string
- func (e CreateContactResponseValidationError) GetField() string
- func (e CreateContactResponseValidationError) GetKey() bool
- func (e CreateContactResponseValidationError) GetReason() string
- type CreateGroupRequest
- type CreateGroupRequestValidationError
- func (e CreateGroupRequestValidationError) Error() string
- func (e CreateGroupRequestValidationError) GetCause() error
- func (e CreateGroupRequestValidationError) GetErrorName() string
- func (e CreateGroupRequestValidationError) GetField() string
- func (e CreateGroupRequestValidationError) GetKey() bool
- func (e CreateGroupRequestValidationError) GetReason() string
- type CreateGroupResponse
- type CreateGroupResponseValidationError
- func (e CreateGroupResponseValidationError) Error() string
- func (e CreateGroupResponseValidationError) GetCause() error
- func (e CreateGroupResponseValidationError) GetErrorName() string
- func (e CreateGroupResponseValidationError) GetField() string
- func (e CreateGroupResponseValidationError) GetKey() bool
- func (e CreateGroupResponseValidationError) GetReason() string
- type CreateProfileRequest
- type CreateProfileRequestValidationError
- func (e CreateProfileRequestValidationError) Error() string
- func (e CreateProfileRequestValidationError) GetCause() error
- func (e CreateProfileRequestValidationError) GetErrorName() string
- func (e CreateProfileRequestValidationError) GetField() string
- func (e CreateProfileRequestValidationError) GetKey() bool
- func (e CreateProfileRequestValidationError) GetReason() string
- type CreateProfileResponse
- type CreateProfileResponseValidationError
- func (e CreateProfileResponseValidationError) Error() string
- func (e CreateProfileResponseValidationError) GetCause() error
- func (e CreateProfileResponseValidationError) GetErrorName() string
- func (e CreateProfileResponseValidationError) GetField() string
- func (e CreateProfileResponseValidationError) GetKey() bool
- func (e CreateProfileResponseValidationError) GetReason() string
- type DeleteContactRequest
- type DeleteContactRequestValidationError
- func (e DeleteContactRequestValidationError) Error() string
- func (e DeleteContactRequestValidationError) GetCause() error
- func (e DeleteContactRequestValidationError) GetErrorName() string
- func (e DeleteContactRequestValidationError) GetField() string
- func (e DeleteContactRequestValidationError) GetKey() bool
- func (e DeleteContactRequestValidationError) GetReason() string
- type DeleteContactResponse
- type DeleteContactResponseValidationError
- func (e DeleteContactResponseValidationError) Error() string
- func (e DeleteContactResponseValidationError) GetCause() error
- func (e DeleteContactResponseValidationError) GetErrorName() string
- func (e DeleteContactResponseValidationError) GetField() string
- func (e DeleteContactResponseValidationError) GetKey() bool
- func (e DeleteContactResponseValidationError) GetReason() string
- type DeleteGroupRequest
- type DeleteGroupRequestValidationError
- func (e DeleteGroupRequestValidationError) Error() string
- func (e DeleteGroupRequestValidationError) GetCause() error
- func (e DeleteGroupRequestValidationError) GetErrorName() string
- func (e DeleteGroupRequestValidationError) GetField() string
- func (e DeleteGroupRequestValidationError) GetKey() bool
- func (e DeleteGroupRequestValidationError) GetReason() string
- type DeleteGroupResponse
- type DeleteGroupResponseValidationError
- func (e DeleteGroupResponseValidationError) Error() string
- func (e DeleteGroupResponseValidationError) GetCause() error
- func (e DeleteGroupResponseValidationError) GetErrorName() string
- func (e DeleteGroupResponseValidationError) GetField() string
- func (e DeleteGroupResponseValidationError) GetKey() bool
- func (e DeleteGroupResponseValidationError) GetReason() string
- type DeleteProfileRequest
- type DeleteProfileRequestValidationError
- func (e DeleteProfileRequestValidationError) Error() string
- func (e DeleteProfileRequestValidationError) GetCause() error
- func (e DeleteProfileRequestValidationError) GetErrorName() string
- func (e DeleteProfileRequestValidationError) GetField() string
- func (e DeleteProfileRequestValidationError) GetKey() bool
- func (e DeleteProfileRequestValidationError) GetReason() string
- type DeleteProfileResponse
- type DeleteProfileResponseValidationError
- func (e DeleteProfileResponseValidationError) Error() string
- func (e DeleteProfileResponseValidationError) GetCause() error
- func (e DeleteProfileResponseValidationError) GetErrorName() string
- func (e DeleteProfileResponseValidationError) GetField() string
- func (e DeleteProfileResponseValidationError) GetKey() bool
- func (e DeleteProfileResponseValidationError) GetReason() string
- type Email
- func DefaultApplyFieldMaskEmail(ctx context.Context, patchee *Email, ormObj *EmailORM, patcher *Email, ...) (*Email, error)
- func DefaultCreateEmail(ctx context.Context, in *Email, db *gorm1.DB) (*Email, error)
- func DefaultListEmail(ctx context.Context, db *gorm1.DB, req interface{}) ([]*Email, error)
- func DefaultPatchEmail(ctx context.Context, in *Email, updateMask *field_mask1.FieldMask, ...) (*Email, error)
- func DefaultReadEmail(ctx context.Context, in *Email, db *gorm1.DB) (*Email, error)
- func DefaultStrictUpdateEmail(ctx context.Context, in *Email, db *gorm1.DB) (*Email, error)
- func DefaultUpdateEmail(ctx context.Context, in *Email, db *gorm1.DB) (*Email, error)
- type EmailORM
- type EmailValidationError
- type EmailWithAfterToORM
- type EmailWithAfterToPB
- type EmailWithBeforePatchSave
- type EmailWithBeforeToORM
- type EmailWithBeforeToPB
- type FilteringIteratorCallback
- type Group
- func DefaultApplyFieldMaskGroup(ctx context.Context, patchee *Group, ormObj *GroupORM, patcher *Group, ...) (*Group, error)
- func DefaultCreateGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)
- func DefaultListGroup(ctx context.Context, db *gorm1.DB, req interface{}) ([]*Group, error)
- func DefaultPatchGroup(ctx context.Context, in *Group, updateMask *field_mask1.FieldMask, ...) (*Group, error)
- func DefaultReadGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)
- func DefaultStrictUpdateGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)
- func DefaultUpdateGroup(ctx context.Context, in *Group, db *gorm1.DB) (*Group, error)
- func (*Group) Descriptor() ([]byte, []int)
- func (m *Group) GetContacts() []*Contact
- func (m *Group) GetId() *atlas_rpc.Identifier
- func (m *Group) GetName() string
- func (m *Group) GetNotes() string
- func (m *Group) GetProfileId() *atlas_rpc.Identifier
- func (*Group) ProtoMessage()
- func (m *Group) Reset()
- func (m *Group) String() string
- func (m *Group) ToORM(ctx context.Context) (GroupORM, error)
- func (m *Group) Validate() error
- type GroupORM
- type GroupValidationError
- type GroupWithAfterToORM
- type GroupWithAfterToPB
- type GroupWithBeforePatchSave
- type GroupWithBeforeToORM
- type GroupWithBeforeToPB
- type GroupsClient
- type GroupsDefaultServer
- func (m *GroupsDefaultServer) Create(ctx context.Context, in *CreateGroupRequest) (*CreateGroupResponse, error)
- func (m *GroupsDefaultServer) Delete(ctx context.Context, in *DeleteGroupRequest) (*DeleteGroupResponse, error)
- func (m *GroupsDefaultServer) List(ctx context.Context, in *ListGroupRequest) (*ListGroupsResponse, error)
- func (m *GroupsDefaultServer) Read(ctx context.Context, in *ReadGroupRequest) (*ReadGroupResponse, error)
- func (m *GroupsDefaultServer) Update(ctx context.Context, in *UpdateGroupRequest) (*UpdateGroupResponse, error)
- type GroupsGroupWithBeforeCreate
- type GroupsGroupWithBeforeDelete
- type GroupsGroupWithBeforeList
- type GroupsGroupWithBeforeRead
- type GroupsGroupWithBeforeUpdate
- type GroupsServer
- type ListContactRequest
- func (*ListContactRequest) Descriptor() ([]byte, []int)
- func (m *ListContactRequest) GetFields() *infoblox_api.FieldSelection
- func (m *ListContactRequest) GetFilter() *infoblox_api.Filtering
- func (m *ListContactRequest) GetOrderBy() *infoblox_api.Sorting
- func (m *ListContactRequest) GetPaging() *infoblox_api.Pagination
- func (*ListContactRequest) ProtoMessage()
- func (m *ListContactRequest) Reset()
- func (m *ListContactRequest) String() string
- func (m *ListContactRequest) Validate() error
- type ListContactRequestValidationError
- func (e ListContactRequestValidationError) Error() string
- func (e ListContactRequestValidationError) GetCause() error
- func (e ListContactRequestValidationError) GetErrorName() string
- func (e ListContactRequestValidationError) GetField() string
- func (e ListContactRequestValidationError) GetKey() bool
- func (e ListContactRequestValidationError) GetReason() string
- type ListContactsResponse
- type ListContactsResponseValidationError
- func (e ListContactsResponseValidationError) Error() string
- func (e ListContactsResponseValidationError) GetCause() error
- func (e ListContactsResponseValidationError) GetErrorName() string
- func (e ListContactsResponseValidationError) GetField() string
- func (e ListContactsResponseValidationError) GetKey() bool
- func (e ListContactsResponseValidationError) GetReason() string
- type ListGroupRequest
- func (*ListGroupRequest) Descriptor() ([]byte, []int)
- func (m *ListGroupRequest) GetFields() *infoblox_api.FieldSelection
- func (m *ListGroupRequest) GetFilter() *infoblox_api.Filtering
- func (m *ListGroupRequest) GetOrderBy() *infoblox_api.Sorting
- func (m *ListGroupRequest) GetPaging() *infoblox_api.Pagination
- func (*ListGroupRequest) ProtoMessage()
- func (m *ListGroupRequest) Reset()
- func (m *ListGroupRequest) String() string
- func (m *ListGroupRequest) Validate() error
- type ListGroupRequestValidationError
- func (e ListGroupRequestValidationError) Error() string
- func (e ListGroupRequestValidationError) GetCause() error
- func (e ListGroupRequestValidationError) GetErrorName() string
- func (e ListGroupRequestValidationError) GetField() string
- func (e ListGroupRequestValidationError) GetKey() bool
- func (e ListGroupRequestValidationError) GetReason() string
- type ListGroupsResponse
- type ListGroupsResponseValidationError
- func (e ListGroupsResponseValidationError) Error() string
- func (e ListGroupsResponseValidationError) GetCause() error
- func (e ListGroupsResponseValidationError) GetErrorName() string
- func (e ListGroupsResponseValidationError) GetField() string
- func (e ListGroupsResponseValidationError) GetKey() bool
- func (e ListGroupsResponseValidationError) GetReason() string
- type ListProfileRequest
- func (*ListProfileRequest) Descriptor() ([]byte, []int)
- func (m *ListProfileRequest) GetFields() *infoblox_api.FieldSelection
- func (m *ListProfileRequest) GetFilter() *infoblox_api.Filtering
- func (m *ListProfileRequest) GetOrderBy() *infoblox_api.Sorting
- func (m *ListProfileRequest) GetPaging() *infoblox_api.Pagination
- func (*ListProfileRequest) ProtoMessage()
- func (m *ListProfileRequest) Reset()
- func (m *ListProfileRequest) String() string
- func (m *ListProfileRequest) Validate() error
- type ListProfileRequestValidationError
- func (e ListProfileRequestValidationError) Error() string
- func (e ListProfileRequestValidationError) GetCause() error
- func (e ListProfileRequestValidationError) GetErrorName() string
- func (e ListProfileRequestValidationError) GetField() string
- func (e ListProfileRequestValidationError) GetKey() bool
- func (e ListProfileRequestValidationError) GetReason() string
- type ListProfilesResponse
- type ListProfilesResponseValidationError
- func (e ListProfilesResponseValidationError) Error() string
- func (e ListProfilesResponseValidationError) GetCause() error
- func (e ListProfilesResponseValidationError) GetErrorName() string
- func (e ListProfilesResponseValidationError) GetField() string
- func (e ListProfilesResponseValidationError) GetKey() bool
- func (e ListProfilesResponseValidationError) GetReason() string
- type Profile
- func DefaultApplyFieldMaskProfile(ctx context.Context, patchee *Profile, ormObj *ProfileORM, patcher *Profile, ...) (*Profile, error)
- func DefaultCreateProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)
- func DefaultListProfile(ctx context.Context, db *gorm1.DB, req interface{}) ([]*Profile, error)
- func DefaultPatchProfile(ctx context.Context, in *Profile, updateMask *field_mask1.FieldMask, ...) (*Profile, error)
- func DefaultReadProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)
- func DefaultStrictUpdateProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)
- func DefaultUpdateProfile(ctx context.Context, in *Profile, db *gorm1.DB) (*Profile, error)
- func (*Profile) Descriptor() ([]byte, []int)
- func (m *Profile) GetContacts() []*Contact
- func (m *Profile) GetGroups() []*Group
- func (m *Profile) GetId() *atlas_rpc.Identifier
- func (m *Profile) GetName() string
- func (m *Profile) GetNotes() string
- func (*Profile) ProtoMessage()
- func (m *Profile) Reset()
- func (m *Profile) String() string
- func (m *Profile) ToORM(ctx context.Context) (ProfileORM, error)
- func (m *Profile) Validate() error
- type ProfileORM
- type ProfileValidationError
- type ProfileWithAfterToORM
- type ProfileWithAfterToPB
- type ProfileWithBeforePatchSave
- type ProfileWithBeforeToORM
- type ProfileWithBeforeToPB
- type ProfilesClient
- type ProfilesDefaultServer
- func (m *ProfilesDefaultServer) Create(ctx context.Context, in *CreateProfileRequest) (*CreateProfileResponse, error)
- func (m *ProfilesDefaultServer) Delete(ctx context.Context, in *DeleteProfileRequest) (*DeleteProfileResponse, error)
- func (m *ProfilesDefaultServer) List(ctx context.Context, in *ListProfileRequest) (*ListProfilesResponse, error)
- func (m *ProfilesDefaultServer) Read(ctx context.Context, in *ReadProfileRequest) (*ReadProfileResponse, error)
- func (m *ProfilesDefaultServer) Update(ctx context.Context, in *UpdateProfileRequest) (*UpdateProfileResponse, error)
- type ProfilesProfileWithBeforeCreate
- type ProfilesProfileWithBeforeDelete
- type ProfilesProfileWithBeforeList
- type ProfilesProfileWithBeforeRead
- type ProfilesProfileWithBeforeUpdate
- type ProfilesServer
- type ReadContactRequest
- type ReadContactRequestValidationError
- func (e ReadContactRequestValidationError) Error() string
- func (e ReadContactRequestValidationError) GetCause() error
- func (e ReadContactRequestValidationError) GetErrorName() string
- func (e ReadContactRequestValidationError) GetField() string
- func (e ReadContactRequestValidationError) GetKey() bool
- func (e ReadContactRequestValidationError) GetReason() string
- type ReadContactResponse
- type ReadContactResponseValidationError
- func (e ReadContactResponseValidationError) Error() string
- func (e ReadContactResponseValidationError) GetCause() error
- func (e ReadContactResponseValidationError) GetErrorName() string
- func (e ReadContactResponseValidationError) GetField() string
- func (e ReadContactResponseValidationError) GetKey() bool
- func (e ReadContactResponseValidationError) GetReason() string
- type ReadGroupRequest
- type ReadGroupRequestValidationError
- func (e ReadGroupRequestValidationError) Error() string
- func (e ReadGroupRequestValidationError) GetCause() error
- func (e ReadGroupRequestValidationError) GetErrorName() string
- func (e ReadGroupRequestValidationError) GetField() string
- func (e ReadGroupRequestValidationError) GetKey() bool
- func (e ReadGroupRequestValidationError) GetReason() string
- type ReadGroupResponse
- type ReadGroupResponseValidationError
- func (e ReadGroupResponseValidationError) Error() string
- func (e ReadGroupResponseValidationError) GetCause() error
- func (e ReadGroupResponseValidationError) GetErrorName() string
- func (e ReadGroupResponseValidationError) GetField() string
- func (e ReadGroupResponseValidationError) GetKey() bool
- func (e ReadGroupResponseValidationError) GetReason() string
- type ReadProfileRequest
- type ReadProfileRequestValidationError
- func (e ReadProfileRequestValidationError) Error() string
- func (e ReadProfileRequestValidationError) GetCause() error
- func (e ReadProfileRequestValidationError) GetErrorName() string
- func (e ReadProfileRequestValidationError) GetField() string
- func (e ReadProfileRequestValidationError) GetKey() bool
- func (e ReadProfileRequestValidationError) GetReason() string
- type ReadProfileResponse
- type ReadProfileResponseValidationError
- func (e ReadProfileResponseValidationError) Error() string
- func (e ReadProfileResponseValidationError) GetCause() error
- func (e ReadProfileResponseValidationError) GetErrorName() string
- func (e ReadProfileResponseValidationError) GetField() string
- func (e ReadProfileResponseValidationError) GetKey() bool
- func (e ReadProfileResponseValidationError) GetReason() string
- type SMSRequest
- type SMSRequestValidationError
- func (e SMSRequestValidationError) Error() string
- func (e SMSRequestValidationError) GetCause() error
- func (e SMSRequestValidationError) GetErrorName() string
- func (e SMSRequestValidationError) GetField() string
- func (e SMSRequestValidationError) GetKey() bool
- func (e SMSRequestValidationError) GetReason() string
- type SMSResponse
- type SMSResponseValidationError
- func (e SMSResponseValidationError) Error() string
- func (e SMSResponseValidationError) GetCause() error
- func (e SMSResponseValidationError) GetErrorName() string
- func (e SMSResponseValidationError) GetField() string
- func (e SMSResponseValidationError) GetKey() bool
- func (e SMSResponseValidationError) GetReason() string
- type UpdateContactRequest
- func (*UpdateContactRequest) Descriptor() ([]byte, []int)
- func (m *UpdateContactRequest) GetFields() *google_protobuf.FieldMask
- func (m *UpdateContactRequest) GetPayload() *Contact
- func (*UpdateContactRequest) ProtoMessage()
- func (m *UpdateContactRequest) Reset()
- func (m *UpdateContactRequest) String() string
- func (m *UpdateContactRequest) Validate() error
- type UpdateContactRequestValidationError
- func (e UpdateContactRequestValidationError) Error() string
- func (e UpdateContactRequestValidationError) GetCause() error
- func (e UpdateContactRequestValidationError) GetErrorName() string
- func (e UpdateContactRequestValidationError) GetField() string
- func (e UpdateContactRequestValidationError) GetKey() bool
- func (e UpdateContactRequestValidationError) GetReason() string
- type UpdateContactResponse
- type UpdateContactResponseValidationError
- func (e UpdateContactResponseValidationError) Error() string
- func (e UpdateContactResponseValidationError) GetCause() error
- func (e UpdateContactResponseValidationError) GetErrorName() string
- func (e UpdateContactResponseValidationError) GetField() string
- func (e UpdateContactResponseValidationError) GetKey() bool
- func (e UpdateContactResponseValidationError) GetReason() string
- type UpdateGroupRequest
- type UpdateGroupRequestValidationError
- func (e UpdateGroupRequestValidationError) Error() string
- func (e UpdateGroupRequestValidationError) GetCause() error
- func (e UpdateGroupRequestValidationError) GetErrorName() string
- func (e UpdateGroupRequestValidationError) GetField() string
- func (e UpdateGroupRequestValidationError) GetKey() bool
- func (e UpdateGroupRequestValidationError) GetReason() string
- type UpdateGroupResponse
- type UpdateGroupResponseValidationError
- func (e UpdateGroupResponseValidationError) Error() string
- func (e UpdateGroupResponseValidationError) GetCause() error
- func (e UpdateGroupResponseValidationError) GetErrorName() string
- func (e UpdateGroupResponseValidationError) GetField() string
- func (e UpdateGroupResponseValidationError) GetKey() bool
- func (e UpdateGroupResponseValidationError) GetReason() string
- type UpdateProfileRequest
- type UpdateProfileRequestValidationError
- func (e UpdateProfileRequestValidationError) Error() string
- func (e UpdateProfileRequestValidationError) GetCause() error
- func (e UpdateProfileRequestValidationError) GetErrorName() string
- func (e UpdateProfileRequestValidationError) GetField() string
- func (e UpdateProfileRequestValidationError) GetKey() bool
- func (e UpdateProfileRequestValidationError) GetReason() string
- type UpdateProfileResponse
- type UpdateProfileResponseValidationError
- func (e UpdateProfileResponseValidationError) Error() string
- func (e UpdateProfileResponseValidationError) GetCause() error
- func (e UpdateProfileResponseValidationError) GetErrorName() string
- func (e UpdateProfileResponseValidationError) GetField() string
- func (e UpdateProfileResponseValidationError) GetKey() bool
- func (e UpdateProfileResponseValidationError) GetReason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDeleteContact ¶
func DefaultDeleteEmail ¶
func DefaultDeleteGroup ¶
func DefaultDeleteProfile ¶
func IterateFiltering ¶
func IterateFiltering(f *query.Filtering, callback FilteringIteratorCallback) []string
IterateFiltering call callback function for each condtion struct of *Filtering. Callback results override original Filtering condition and append list of joins, so finally IterateFiltering returns modified *Filtering with list of join conditions for supporting new *Filtering
func RegisterContactsHandler ¶
func RegisterContactsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterContactsHandler registers the http handlers for service Contacts to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterContactsHandlerClient ¶
func RegisterContactsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ContactsClient) error
RegisterContactsHandlerClient registers the http handlers for service Contacts to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ContactsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ContactsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ContactsClient" to call the correct interceptors.
func RegisterContactsHandlerFromEndpoint ¶
func RegisterContactsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterContactsHandlerFromEndpoint is same as RegisterContactsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterContactsServer ¶
func RegisterContactsServer(s *grpc.Server, srv ContactsServer)
func RegisterGroupsHandler ¶
RegisterGroupsHandler registers the http handlers for service Groups to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterGroupsHandlerClient ¶
func RegisterGroupsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client GroupsClient) error
RegisterGroupsHandlerClient registers the http handlers for service Groups to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "GroupsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "GroupsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "GroupsClient" to call the correct interceptors.
func RegisterGroupsHandlerFromEndpoint ¶
func RegisterGroupsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterGroupsHandlerFromEndpoint is same as RegisterGroupsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterGroupsServer ¶
func RegisterGroupsServer(s *grpc.Server, srv GroupsServer)
func RegisterProfilesHandler ¶
func RegisterProfilesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterProfilesHandler registers the http handlers for service Profiles to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterProfilesHandlerClient ¶
func RegisterProfilesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ProfilesClient) error
RegisterProfilesHandlerClient registers the http handlers for service Profiles to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ProfilesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ProfilesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ProfilesClient" to call the correct interceptors.
func RegisterProfilesHandlerFromEndpoint ¶
func RegisterProfilesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterProfilesHandlerFromEndpoint is same as RegisterProfilesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterProfilesServer ¶
func RegisterProfilesServer(s *grpc.Server, srv ProfilesServer)
Types ¶
type Address ¶
type Address struct { Address string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` City string `protobuf:"bytes,2,opt,name=city" json:"city,omitempty"` State string `protobuf:"bytes,3,opt,name=state" json:"state,omitempty"` Zip string `protobuf:"bytes,4,opt,name=zip" json:"zip,omitempty"` Country string `protobuf:"bytes,5,opt,name=country" json:"country,omitempty"` }
func DefaultCreateAddress ¶
DefaultCreateAddress executes a basic gorm create call
func DefaultListAddress ¶
DefaultListAddress executes a gorm list call
func (*Address) Descriptor ¶
func (*Address) GetAddress ¶
func (*Address) GetCountry ¶
func (*Address) ProtoMessage ¶
func (*Address) ProtoMessage()
type AddressORM ¶
type AddressORM struct { AccountID string Address string City string Country string HomeAddressContactId *int64 State string WorkAddressContactId *int64 Zip string }
func (AddressORM) TableName ¶
func (AddressORM) TableName() string
TableName overrides the default tablename generated by GORM
type AddressValidationError ¶
AddressValidationError is the validation error returned by Address.Validate if the designated constraints aren't met.
func (AddressValidationError) Error ¶
func (e AddressValidationError) Error() string
Error satisfies the builtin error interface
func (AddressValidationError) GetCause ¶
func (e AddressValidationError) GetCause() error
GetCause function returns Cause value.
func (AddressValidationError) GetErrorName ¶
func (e AddressValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (AddressValidationError) GetField ¶
func (e AddressValidationError) GetField() string
GetField function returns Field value.
func (AddressValidationError) GetKey ¶
func (e AddressValidationError) GetKey() bool
GetKey function returns Key value.
func (AddressValidationError) GetReason ¶
func (e AddressValidationError) GetReason() string
GetReason function returns Reason value.
type AddressWithAfterToORM ¶
type AddressWithAfterToORM interface {
AfterToORM(context.Context, *AddressORM) error
}
AddressAfterToORM called after default ToORM code
type AddressWithAfterToPB ¶
AddressAfterToPB called after default ToPB code
type AddressWithBeforeToORM ¶
type AddressWithBeforeToORM interface {
BeforeToORM(context.Context, *AddressORM) error
}
AddressBeforeToORM called before default ToORM code
type AddressWithBeforeToPB ¶
AddressBeforeToPB called before default ToPB code
type Contact ¶
type Contact struct { Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` FirstName string `protobuf:"bytes,2,opt,name=first_name,json=firstName" json:"first_name,omitempty"` MiddleName string `protobuf:"bytes,3,opt,name=middle_name,json=middleName" json:"middle_name,omitempty"` LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName" json:"last_name,omitempty"` PrimaryEmail string `protobuf:"bytes,5,opt,name=primary_email,json=primaryEmail" json:"primary_email,omitempty"` Notes string `protobuf:"bytes,6,opt,name=notes" json:"notes,omitempty"` Emails []*Email `protobuf:"bytes,7,rep,name=emails" json:"emails,omitempty"` HomeAddress *Address `protobuf:"bytes,8,opt,name=home_address,json=homeAddress" json:"home_address,omitempty"` WorkAddress *Address `protobuf:"bytes,9,opt,name=work_address,json=workAddress" json:"work_address,omitempty"` ProfileId *atlas_rpc.Identifier `protobuf:"bytes,10,opt,name=profile_id,json=profileId" json:"profile_id,omitempty"` Groups []*Group `protobuf:"bytes,11,rep,name=groups" json:"groups,omitempty"` // nicknames is arbitrary json, but should be used for a list of strings Nicknames *gorm_types.JSONValue `protobuf:"bytes,12,opt,name=nicknames" json:"nicknames,omitempty"` }
func DefaultApplyFieldMaskContact ¶
func DefaultApplyFieldMaskContact(ctx context.Context, patchee *Contact, ormObj *ContactORM, patcher *Contact, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Contact, error)
DefaultApplyFieldMaskContact patches an pbObject with patcher according to a field mask.
func DefaultCreateContact ¶
DefaultCreateContact executes a basic gorm create call
func DefaultListContact ¶
DefaultListContact executes a gorm list call
func DefaultPatchContact ¶
func DefaultPatchContact(ctx context.Context, in *Contact, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Contact, error)
DefaultPatchContact executes a basic gorm update call with patch behavior
func DefaultReadContact ¶
DefaultReadContact executes a basic gorm read call
func DefaultStrictUpdateContact ¶
DefaultStrictUpdateContact clears first level 1:many children and then executes a gorm update call
func DefaultUpdateContact ¶
DefaultUpdateContact executes a basic gorm update call
func (*Contact) AfterToORM ¶
func (m *Contact) AfterToORM(ctx context.Context, c *ContactORM) error
AfterToORM will add the primary e-mail to the list of e-mails if it isn't present already
func (*Contact) Descriptor ¶
func (*Contact) GetFirstName ¶
func (*Contact) GetHomeAddress ¶
func (*Contact) GetId ¶
func (m *Contact) GetId() *atlas_rpc.Identifier
func (*Contact) GetLastName ¶
func (*Contact) GetMiddleName ¶
func (*Contact) GetNicknames ¶
func (m *Contact) GetNicknames() *gorm_types.JSONValue
func (*Contact) GetPrimaryEmail ¶
func (*Contact) GetProfileId ¶
func (m *Contact) GetProfileId() *atlas_rpc.Identifier
func (*Contact) GetWorkAddress ¶
func (*Contact) ProtoMessage ¶
func (*Contact) ProtoMessage()
type ContactORM ¶
type ContactORM struct { AccountID string Emails []*EmailORM `gorm:"foreignkey:ContactId;association_foreignkey:Id"` FirstName string Groups []*GroupORM `` /* 145-byte string literal not displayed */ HomeAddress *AddressORM `gorm:"foreignkey:HomeAddressContactId;association_foreignkey:Id"` Id int64 `gorm:"type:serial;primary_key"` LastName string MiddleName string Nicknames *postgres1.Jsonb `gorm:"type:jsonb"` Notes string ProfileId *int64 WorkAddress *AddressORM `gorm:"foreignkey:WorkAddressContactId;association_foreignkey:Id"` }
func (*ContactORM) AfterToPB ¶
func (m *ContactORM) AfterToPB(ctx context.Context, c *Contact) error
AfterToPB copies the primary e-mail address from the DB to the special PB field
func (ContactORM) TableName ¶
func (ContactORM) TableName() string
TableName overrides the default tablename generated by GORM
type ContactValidationError ¶
ContactValidationError is the validation error returned by Contact.Validate if the designated constraints aren't met.
func (ContactValidationError) Error ¶
func (e ContactValidationError) Error() string
Error satisfies the builtin error interface
func (ContactValidationError) GetCause ¶
func (e ContactValidationError) GetCause() error
GetCause function returns Cause value.
func (ContactValidationError) GetErrorName ¶
func (e ContactValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ContactValidationError) GetField ¶
func (e ContactValidationError) GetField() string
GetField function returns Field value.
func (ContactValidationError) GetKey ¶
func (e ContactValidationError) GetKey() bool
GetKey function returns Key value.
func (ContactValidationError) GetReason ¶
func (e ContactValidationError) GetReason() string
GetReason function returns Reason value.
type ContactWithAfterToORM ¶
type ContactWithAfterToORM interface {
AfterToORM(context.Context, *ContactORM) error
}
ContactAfterToORM called after default ToORM code
type ContactWithAfterToPB ¶
ContactAfterToPB called after default ToPB code
type ContactWithBeforeToORM ¶
type ContactWithBeforeToORM interface {
BeforeToORM(context.Context, *ContactORM) error
}
ContactBeforeToORM called before default ToORM code
type ContactWithBeforeToPB ¶
ContactBeforeToPB called before default ToPB code
type ContactsClient ¶
type ContactsClient interface { Create(ctx context.Context, in *CreateContactRequest, opts ...grpc.CallOption) (*CreateContactResponse, error) Read(ctx context.Context, in *ReadContactRequest, opts ...grpc.CallOption) (*ReadContactResponse, error) Update(ctx context.Context, in *UpdateContactRequest, opts ...grpc.CallOption) (*UpdateContactResponse, error) Delete(ctx context.Context, in *DeleteContactRequest, opts ...grpc.CallOption) (*DeleteContactResponse, error) List(ctx context.Context, in *ListContactRequest, opts ...grpc.CallOption) (*ListContactsResponse, error) SendSMS(ctx context.Context, in *SMSRequest, opts ...grpc.CallOption) (*SMSResponse, error) }
func NewContactsClient ¶
func NewContactsClient(cc *grpc.ClientConn) ContactsClient
type ContactsContactWithBeforeCreate ¶
type ContactsContactWithBeforeCreate interface {
BeforeCreate(context.Context, *CreateContactRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
ContactsContactWithBeforeCreate called before DefaultCreateContact in the default Create handler
type ContactsContactWithBeforeDelete ¶
type ContactsContactWithBeforeDelete interface {
BeforeDelete(context.Context, *DeleteContactRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
ContactsContactWithBeforeDelete called before DefaultDeleteContact in the default Delete handler
type ContactsContactWithBeforeList ¶
type ContactsContactWithBeforeList interface {
BeforeList(context.Context, *ListContactRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
ContactsContactWithBeforeList called before DefaultListContact in the default List handler
type ContactsContactWithBeforeRead ¶
type ContactsContactWithBeforeRead interface {
BeforeRead(context.Context, *ReadContactRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
ContactsContactWithBeforeRead called before DefaultReadContact in the default Read handler
type ContactsContactWithBeforeUpdate ¶
type ContactsContactWithBeforeUpdate interface {
BeforeUpdate(context.Context, *UpdateContactRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
ContactsContactWithBeforeUpdate called before DefaultUpdateContact in the default Update handler
type ContactsDefaultServer ¶
func (*ContactsDefaultServer) Create ¶
func (m *ContactsDefaultServer) Create(ctx context.Context, in *CreateContactRequest) (*CreateContactResponse, error)
Create ...
func (*ContactsDefaultServer) CustomList ¶
func (m *ContactsDefaultServer) CustomList(ctx context.Context, in *ListContactRequest) (*ListContactsResponse, error)
CustomList method overrides the default Read function and modify Filtering to support synthetic fields.
func (*ContactsDefaultServer) CustomRead ¶
func (m *ContactsDefaultServer) CustomRead(ctx context.Context, req *ReadContactRequest) (*ReadContactResponse, error)
CustomRead method overrides the default Read function and adds custom errors with multiple details.
func (*ContactsDefaultServer) Delete ¶
func (m *ContactsDefaultServer) Delete(ctx context.Context, in *DeleteContactRequest) (*DeleteContactResponse, error)
Delete ...
func (*ContactsDefaultServer) List ¶
func (m *ContactsDefaultServer) List(ctx context.Context, in *ListContactRequest) (*ListContactsResponse, error)
List ...
func (*ContactsDefaultServer) Read ¶
func (m *ContactsDefaultServer) Read(ctx context.Context, in *ReadContactRequest) (*ReadContactResponse, error)
Read ...
func (*ContactsDefaultServer) SendSMS ¶
func (m *ContactsDefaultServer) SendSMS(ctx context.Context, in *SMSRequest) (*SMSResponse, error)
SendSMS ...
func (*ContactsDefaultServer) Update ¶
func (m *ContactsDefaultServer) Update(ctx context.Context, in *UpdateContactRequest) (*UpdateContactResponse, error)
Update ...
type ContactsServer ¶
type ContactsServer interface { Create(context.Context, *CreateContactRequest) (*CreateContactResponse, error) Read(context.Context, *ReadContactRequest) (*ReadContactResponse, error) Update(context.Context, *UpdateContactRequest) (*UpdateContactResponse, error) Delete(context.Context, *DeleteContactRequest) (*DeleteContactResponse, error) List(context.Context, *ListContactRequest) (*ListContactsResponse, error) SendSMS(context.Context, *SMSRequest) (*SMSResponse, error) }
type CreateContactRequest ¶
type CreateContactRequest struct {
Payload *Contact `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}
func (*CreateContactRequest) Descriptor ¶
func (*CreateContactRequest) Descriptor() ([]byte, []int)
func (*CreateContactRequest) GetPayload ¶
func (m *CreateContactRequest) GetPayload() *Contact
func (*CreateContactRequest) ProtoMessage ¶
func (*CreateContactRequest) ProtoMessage()
func (*CreateContactRequest) Reset ¶
func (m *CreateContactRequest) Reset()
func (*CreateContactRequest) String ¶
func (m *CreateContactRequest) String() string
func (*CreateContactRequest) Validate ¶
func (m *CreateContactRequest) Validate() error
Validate checks the field values on CreateContactRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateContactRequestValidationError ¶
CreateContactRequestValidationError is the validation error returned by CreateContactRequest.Validate if the designated constraints aren't met.
func (CreateContactRequestValidationError) Error ¶
func (e CreateContactRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateContactRequestValidationError) GetCause ¶
func (e CreateContactRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (CreateContactRequestValidationError) GetErrorName ¶
func (e CreateContactRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (CreateContactRequestValidationError) GetField ¶
func (e CreateContactRequestValidationError) GetField() string
GetField function returns Field value.
func (CreateContactRequestValidationError) GetKey ¶
func (e CreateContactRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (CreateContactRequestValidationError) GetReason ¶
func (e CreateContactRequestValidationError) GetReason() string
GetReason function returns Reason value.
type CreateContactResponse ¶
type CreateContactResponse struct {
Result *Contact `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*CreateContactResponse) Descriptor ¶
func (*CreateContactResponse) Descriptor() ([]byte, []int)
func (*CreateContactResponse) GetResult ¶
func (m *CreateContactResponse) GetResult() *Contact
func (*CreateContactResponse) ProtoMessage ¶
func (*CreateContactResponse) ProtoMessage()
func (*CreateContactResponse) Reset ¶
func (m *CreateContactResponse) Reset()
func (*CreateContactResponse) String ¶
func (m *CreateContactResponse) String() string
func (*CreateContactResponse) Validate ¶
func (m *CreateContactResponse) Validate() error
Validate checks the field values on CreateContactResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateContactResponseValidationError ¶
type CreateContactResponseValidationError struct { Field string Reason string Cause error Key bool }
CreateContactResponseValidationError is the validation error returned by CreateContactResponse.Validate if the designated constraints aren't met.
func (CreateContactResponseValidationError) Error ¶
func (e CreateContactResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateContactResponseValidationError) GetCause ¶
func (e CreateContactResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (CreateContactResponseValidationError) GetErrorName ¶
func (e CreateContactResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (CreateContactResponseValidationError) GetField ¶
func (e CreateContactResponseValidationError) GetField() string
GetField function returns Field value.
func (CreateContactResponseValidationError) GetKey ¶
func (e CreateContactResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (CreateContactResponseValidationError) GetReason ¶
func (e CreateContactResponseValidationError) GetReason() string
GetReason function returns Reason value.
type CreateGroupRequest ¶
type CreateGroupRequest struct {
Payload *Group `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}
func (*CreateGroupRequest) Descriptor ¶
func (*CreateGroupRequest) Descriptor() ([]byte, []int)
func (*CreateGroupRequest) GetPayload ¶
func (m *CreateGroupRequest) GetPayload() *Group
func (*CreateGroupRequest) ProtoMessage ¶
func (*CreateGroupRequest) ProtoMessage()
func (*CreateGroupRequest) Reset ¶
func (m *CreateGroupRequest) Reset()
func (*CreateGroupRequest) String ¶
func (m *CreateGroupRequest) String() string
func (*CreateGroupRequest) Validate ¶
func (m *CreateGroupRequest) Validate() error
Validate checks the field values on CreateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateGroupRequestValidationError ¶
CreateGroupRequestValidationError is the validation error returned by CreateGroupRequest.Validate if the designated constraints aren't met.
func (CreateGroupRequestValidationError) Error ¶
func (e CreateGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGroupRequestValidationError) GetCause ¶
func (e CreateGroupRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (CreateGroupRequestValidationError) GetErrorName ¶
func (e CreateGroupRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (CreateGroupRequestValidationError) GetField ¶
func (e CreateGroupRequestValidationError) GetField() string
GetField function returns Field value.
func (CreateGroupRequestValidationError) GetKey ¶
func (e CreateGroupRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (CreateGroupRequestValidationError) GetReason ¶
func (e CreateGroupRequestValidationError) GetReason() string
GetReason function returns Reason value.
type CreateGroupResponse ¶
type CreateGroupResponse struct {
Result *Group `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*CreateGroupResponse) Descriptor ¶
func (*CreateGroupResponse) Descriptor() ([]byte, []int)
func (*CreateGroupResponse) GetResult ¶
func (m *CreateGroupResponse) GetResult() *Group
func (*CreateGroupResponse) ProtoMessage ¶
func (*CreateGroupResponse) ProtoMessage()
func (*CreateGroupResponse) Reset ¶
func (m *CreateGroupResponse) Reset()
func (*CreateGroupResponse) String ¶
func (m *CreateGroupResponse) String() string
func (*CreateGroupResponse) Validate ¶
func (m *CreateGroupResponse) Validate() error
Validate checks the field values on CreateGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateGroupResponseValidationError ¶
CreateGroupResponseValidationError is the validation error returned by CreateGroupResponse.Validate if the designated constraints aren't met.
func (CreateGroupResponseValidationError) Error ¶
func (e CreateGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGroupResponseValidationError) GetCause ¶
func (e CreateGroupResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (CreateGroupResponseValidationError) GetErrorName ¶
func (e CreateGroupResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (CreateGroupResponseValidationError) GetField ¶
func (e CreateGroupResponseValidationError) GetField() string
GetField function returns Field value.
func (CreateGroupResponseValidationError) GetKey ¶
func (e CreateGroupResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (CreateGroupResponseValidationError) GetReason ¶
func (e CreateGroupResponseValidationError) GetReason() string
GetReason function returns Reason value.
type CreateProfileRequest ¶
type CreateProfileRequest struct {
Payload *Profile `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}
func (*CreateProfileRequest) Descriptor ¶
func (*CreateProfileRequest) Descriptor() ([]byte, []int)
func (*CreateProfileRequest) GetPayload ¶
func (m *CreateProfileRequest) GetPayload() *Profile
func (*CreateProfileRequest) ProtoMessage ¶
func (*CreateProfileRequest) ProtoMessage()
func (*CreateProfileRequest) Reset ¶
func (m *CreateProfileRequest) Reset()
func (*CreateProfileRequest) String ¶
func (m *CreateProfileRequest) String() string
func (*CreateProfileRequest) Validate ¶
func (m *CreateProfileRequest) Validate() error
Validate checks the field values on CreateProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateProfileRequestValidationError ¶
CreateProfileRequestValidationError is the validation error returned by CreateProfileRequest.Validate if the designated constraints aren't met.
func (CreateProfileRequestValidationError) Error ¶
func (e CreateProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProfileRequestValidationError) GetCause ¶
func (e CreateProfileRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (CreateProfileRequestValidationError) GetErrorName ¶
func (e CreateProfileRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (CreateProfileRequestValidationError) GetField ¶
func (e CreateProfileRequestValidationError) GetField() string
GetField function returns Field value.
func (CreateProfileRequestValidationError) GetKey ¶
func (e CreateProfileRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (CreateProfileRequestValidationError) GetReason ¶
func (e CreateProfileRequestValidationError) GetReason() string
GetReason function returns Reason value.
type CreateProfileResponse ¶
type CreateProfileResponse struct {
Result *Profile `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*CreateProfileResponse) Descriptor ¶
func (*CreateProfileResponse) Descriptor() ([]byte, []int)
func (*CreateProfileResponse) GetResult ¶
func (m *CreateProfileResponse) GetResult() *Profile
func (*CreateProfileResponse) ProtoMessage ¶
func (*CreateProfileResponse) ProtoMessage()
func (*CreateProfileResponse) Reset ¶
func (m *CreateProfileResponse) Reset()
func (*CreateProfileResponse) String ¶
func (m *CreateProfileResponse) String() string
func (*CreateProfileResponse) Validate ¶
func (m *CreateProfileResponse) Validate() error
Validate checks the field values on CreateProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type CreateProfileResponseValidationError ¶
type CreateProfileResponseValidationError struct { Field string Reason string Cause error Key bool }
CreateProfileResponseValidationError is the validation error returned by CreateProfileResponse.Validate if the designated constraints aren't met.
func (CreateProfileResponseValidationError) Error ¶
func (e CreateProfileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProfileResponseValidationError) GetCause ¶
func (e CreateProfileResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (CreateProfileResponseValidationError) GetErrorName ¶
func (e CreateProfileResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (CreateProfileResponseValidationError) GetField ¶
func (e CreateProfileResponseValidationError) GetField() string
GetField function returns Field value.
func (CreateProfileResponseValidationError) GetKey ¶
func (e CreateProfileResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (CreateProfileResponseValidationError) GetReason ¶
func (e CreateProfileResponseValidationError) GetReason() string
GetReason function returns Reason value.
type DeleteContactRequest ¶
type DeleteContactRequest struct {
Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (*DeleteContactRequest) Descriptor ¶
func (*DeleteContactRequest) Descriptor() ([]byte, []int)
func (*DeleteContactRequest) GetId ¶
func (m *DeleteContactRequest) GetId() *atlas_rpc.Identifier
func (*DeleteContactRequest) ProtoMessage ¶
func (*DeleteContactRequest) ProtoMessage()
func (*DeleteContactRequest) Reset ¶
func (m *DeleteContactRequest) Reset()
func (*DeleteContactRequest) String ¶
func (m *DeleteContactRequest) String() string
func (*DeleteContactRequest) Validate ¶
func (m *DeleteContactRequest) Validate() error
Validate checks the field values on DeleteContactRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteContactRequestValidationError ¶
DeleteContactRequestValidationError is the validation error returned by DeleteContactRequest.Validate if the designated constraints aren't met.
func (DeleteContactRequestValidationError) Error ¶
func (e DeleteContactRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteContactRequestValidationError) GetCause ¶
func (e DeleteContactRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (DeleteContactRequestValidationError) GetErrorName ¶
func (e DeleteContactRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (DeleteContactRequestValidationError) GetField ¶
func (e DeleteContactRequestValidationError) GetField() string
GetField function returns Field value.
func (DeleteContactRequestValidationError) GetKey ¶
func (e DeleteContactRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (DeleteContactRequestValidationError) GetReason ¶
func (e DeleteContactRequestValidationError) GetReason() string
GetReason function returns Reason value.
type DeleteContactResponse ¶
type DeleteContactResponse struct { }
func (*DeleteContactResponse) Descriptor ¶
func (*DeleteContactResponse) Descriptor() ([]byte, []int)
func (*DeleteContactResponse) ProtoMessage ¶
func (*DeleteContactResponse) ProtoMessage()
func (*DeleteContactResponse) Reset ¶
func (m *DeleteContactResponse) Reset()
func (*DeleteContactResponse) String ¶
func (m *DeleteContactResponse) String() string
func (*DeleteContactResponse) Validate ¶
func (m *DeleteContactResponse) Validate() error
Validate checks the field values on DeleteContactResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteContactResponseValidationError ¶
type DeleteContactResponseValidationError struct { Field string Reason string Cause error Key bool }
DeleteContactResponseValidationError is the validation error returned by DeleteContactResponse.Validate if the designated constraints aren't met.
func (DeleteContactResponseValidationError) Error ¶
func (e DeleteContactResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteContactResponseValidationError) GetCause ¶
func (e DeleteContactResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (DeleteContactResponseValidationError) GetErrorName ¶
func (e DeleteContactResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (DeleteContactResponseValidationError) GetField ¶
func (e DeleteContactResponseValidationError) GetField() string
GetField function returns Field value.
func (DeleteContactResponseValidationError) GetKey ¶
func (e DeleteContactResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (DeleteContactResponseValidationError) GetReason ¶
func (e DeleteContactResponseValidationError) GetReason() string
GetReason function returns Reason value.
type DeleteGroupRequest ¶
type DeleteGroupRequest struct {
Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (*DeleteGroupRequest) Descriptor ¶
func (*DeleteGroupRequest) Descriptor() ([]byte, []int)
func (*DeleteGroupRequest) GetId ¶
func (m *DeleteGroupRequest) GetId() *atlas_rpc.Identifier
func (*DeleteGroupRequest) ProtoMessage ¶
func (*DeleteGroupRequest) ProtoMessage()
func (*DeleteGroupRequest) Reset ¶
func (m *DeleteGroupRequest) Reset()
func (*DeleteGroupRequest) String ¶
func (m *DeleteGroupRequest) String() string
func (*DeleteGroupRequest) Validate ¶
func (m *DeleteGroupRequest) Validate() error
Validate checks the field values on DeleteGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteGroupRequestValidationError ¶
DeleteGroupRequestValidationError is the validation error returned by DeleteGroupRequest.Validate if the designated constraints aren't met.
func (DeleteGroupRequestValidationError) Error ¶
func (e DeleteGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteGroupRequestValidationError) GetCause ¶
func (e DeleteGroupRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (DeleteGroupRequestValidationError) GetErrorName ¶
func (e DeleteGroupRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (DeleteGroupRequestValidationError) GetField ¶
func (e DeleteGroupRequestValidationError) GetField() string
GetField function returns Field value.
func (DeleteGroupRequestValidationError) GetKey ¶
func (e DeleteGroupRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (DeleteGroupRequestValidationError) GetReason ¶
func (e DeleteGroupRequestValidationError) GetReason() string
GetReason function returns Reason value.
type DeleteGroupResponse ¶
type DeleteGroupResponse struct { }
func (*DeleteGroupResponse) Descriptor ¶
func (*DeleteGroupResponse) Descriptor() ([]byte, []int)
func (*DeleteGroupResponse) ProtoMessage ¶
func (*DeleteGroupResponse) ProtoMessage()
func (*DeleteGroupResponse) Reset ¶
func (m *DeleteGroupResponse) Reset()
func (*DeleteGroupResponse) String ¶
func (m *DeleteGroupResponse) String() string
func (*DeleteGroupResponse) Validate ¶
func (m *DeleteGroupResponse) Validate() error
Validate checks the field values on DeleteGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteGroupResponseValidationError ¶
DeleteGroupResponseValidationError is the validation error returned by DeleteGroupResponse.Validate if the designated constraints aren't met.
func (DeleteGroupResponseValidationError) Error ¶
func (e DeleteGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteGroupResponseValidationError) GetCause ¶
func (e DeleteGroupResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (DeleteGroupResponseValidationError) GetErrorName ¶
func (e DeleteGroupResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (DeleteGroupResponseValidationError) GetField ¶
func (e DeleteGroupResponseValidationError) GetField() string
GetField function returns Field value.
func (DeleteGroupResponseValidationError) GetKey ¶
func (e DeleteGroupResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (DeleteGroupResponseValidationError) GetReason ¶
func (e DeleteGroupResponseValidationError) GetReason() string
GetReason function returns Reason value.
type DeleteProfileRequest ¶
type DeleteProfileRequest struct {
Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (*DeleteProfileRequest) Descriptor ¶
func (*DeleteProfileRequest) Descriptor() ([]byte, []int)
func (*DeleteProfileRequest) GetId ¶
func (m *DeleteProfileRequest) GetId() *atlas_rpc.Identifier
func (*DeleteProfileRequest) ProtoMessage ¶
func (*DeleteProfileRequest) ProtoMessage()
func (*DeleteProfileRequest) Reset ¶
func (m *DeleteProfileRequest) Reset()
func (*DeleteProfileRequest) String ¶
func (m *DeleteProfileRequest) String() string
func (*DeleteProfileRequest) Validate ¶
func (m *DeleteProfileRequest) Validate() error
Validate checks the field values on DeleteProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteProfileRequestValidationError ¶
DeleteProfileRequestValidationError is the validation error returned by DeleteProfileRequest.Validate if the designated constraints aren't met.
func (DeleteProfileRequestValidationError) Error ¶
func (e DeleteProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProfileRequestValidationError) GetCause ¶
func (e DeleteProfileRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (DeleteProfileRequestValidationError) GetErrorName ¶
func (e DeleteProfileRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (DeleteProfileRequestValidationError) GetField ¶
func (e DeleteProfileRequestValidationError) GetField() string
GetField function returns Field value.
func (DeleteProfileRequestValidationError) GetKey ¶
func (e DeleteProfileRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (DeleteProfileRequestValidationError) GetReason ¶
func (e DeleteProfileRequestValidationError) GetReason() string
GetReason function returns Reason value.
type DeleteProfileResponse ¶
type DeleteProfileResponse struct { }
func (*DeleteProfileResponse) Descriptor ¶
func (*DeleteProfileResponse) Descriptor() ([]byte, []int)
func (*DeleteProfileResponse) ProtoMessage ¶
func (*DeleteProfileResponse) ProtoMessage()
func (*DeleteProfileResponse) Reset ¶
func (m *DeleteProfileResponse) Reset()
func (*DeleteProfileResponse) String ¶
func (m *DeleteProfileResponse) String() string
func (*DeleteProfileResponse) Validate ¶
func (m *DeleteProfileResponse) Validate() error
Validate checks the field values on DeleteProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type DeleteProfileResponseValidationError ¶
type DeleteProfileResponseValidationError struct { Field string Reason string Cause error Key bool }
DeleteProfileResponseValidationError is the validation error returned by DeleteProfileResponse.Validate if the designated constraints aren't met.
func (DeleteProfileResponseValidationError) Error ¶
func (e DeleteProfileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProfileResponseValidationError) GetCause ¶
func (e DeleteProfileResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (DeleteProfileResponseValidationError) GetErrorName ¶
func (e DeleteProfileResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (DeleteProfileResponseValidationError) GetField ¶
func (e DeleteProfileResponseValidationError) GetField() string
GetField function returns Field value.
func (DeleteProfileResponseValidationError) GetKey ¶
func (e DeleteProfileResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (DeleteProfileResponseValidationError) GetReason ¶
func (e DeleteProfileResponseValidationError) GetReason() string
GetReason function returns Reason value.
type Email ¶
type Email struct { Id uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Address string `protobuf:"bytes,2,opt,name=address" json:"address,omitempty"` }
func DefaultApplyFieldMaskEmail ¶
func DefaultApplyFieldMaskEmail(ctx context.Context, patchee *Email, ormObj *EmailORM, patcher *Email, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Email, error)
DefaultApplyFieldMaskEmail patches an pbObject with patcher according to a field mask.
func DefaultCreateEmail ¶
DefaultCreateEmail executes a basic gorm create call
func DefaultListEmail ¶
DefaultListEmail executes a gorm list call
func DefaultPatchEmail ¶
func DefaultPatchEmail(ctx context.Context, in *Email, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Email, error)
DefaultPatchEmail executes a basic gorm update call with patch behavior
func DefaultReadEmail ¶
DefaultReadEmail executes a basic gorm read call
func DefaultStrictUpdateEmail ¶
DefaultStrictUpdateEmail clears first level 1:many children and then executes a gorm update call
func DefaultUpdateEmail ¶
DefaultUpdateEmail executes a basic gorm update call
func (*Email) Descriptor ¶
func (*Email) GetAddress ¶
func (*Email) ProtoMessage ¶
func (*Email) ProtoMessage()
type EmailORM ¶
type EmailORM struct { AccountID string Address string `gorm:"unique"` ContactId *int64 Id uint64 IsPrimary *bool }
type EmailValidationError ¶
EmailValidationError is the validation error returned by Email.Validate if the designated constraints aren't met.
func (EmailValidationError) Error ¶
func (e EmailValidationError) Error() string
Error satisfies the builtin error interface
func (EmailValidationError) GetCause ¶
func (e EmailValidationError) GetCause() error
GetCause function returns Cause value.
func (EmailValidationError) GetErrorName ¶
func (e EmailValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (EmailValidationError) GetField ¶
func (e EmailValidationError) GetField() string
GetField function returns Field value.
func (EmailValidationError) GetKey ¶
func (e EmailValidationError) GetKey() bool
GetKey function returns Key value.
func (EmailValidationError) GetReason ¶
func (e EmailValidationError) GetReason() string
GetReason function returns Reason value.
type EmailWithAfterToORM ¶
EmailAfterToORM called after default ToORM code
type EmailWithAfterToPB ¶
EmailAfterToPB called after default ToPB code
type EmailWithBeforeToORM ¶
EmailBeforeToORM called before default ToORM code
type EmailWithBeforeToPB ¶
EmailBeforeToPB called before default ToPB code
type Group ¶
type Group struct { Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Notes string `protobuf:"bytes,3,opt,name=notes" json:"notes,omitempty"` ProfileId *atlas_rpc.Identifier `protobuf:"bytes,4,opt,name=profile_id,json=profileId" json:"profile_id,omitempty"` Contacts []*Contact `protobuf:"bytes,5,rep,name=contacts" json:"contacts,omitempty"` }
func DefaultApplyFieldMaskGroup ¶
func DefaultApplyFieldMaskGroup(ctx context.Context, patchee *Group, ormObj *GroupORM, patcher *Group, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Group, error)
DefaultApplyFieldMaskGroup patches an pbObject with patcher according to a field mask.
func DefaultCreateGroup ¶
DefaultCreateGroup executes a basic gorm create call
func DefaultListGroup ¶
DefaultListGroup executes a gorm list call
func DefaultPatchGroup ¶
func DefaultPatchGroup(ctx context.Context, in *Group, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Group, error)
DefaultPatchGroup executes a basic gorm update call with patch behavior
func DefaultReadGroup ¶
DefaultReadGroup executes a basic gorm read call
func DefaultStrictUpdateGroup ¶
DefaultStrictUpdateGroup clears first level 1:many children and then executes a gorm update call
func DefaultUpdateGroup ¶
DefaultUpdateGroup executes a basic gorm update call
func (*Group) Descriptor ¶
func (*Group) GetContacts ¶
func (*Group) GetId ¶
func (m *Group) GetId() *atlas_rpc.Identifier
func (*Group) GetProfileId ¶
func (m *Group) GetProfileId() *atlas_rpc.Identifier
func (*Group) ProtoMessage ¶
func (*Group) ProtoMessage()
type GroupORM ¶
type GroupORM struct { AccountID string Contacts []*ContactORM `` /* 145-byte string literal not displayed */ Id int64 `gorm:"type:serial;primary_key"` Name string Notes string ProfileId *int64 }
type GroupValidationError ¶
GroupValidationError is the validation error returned by Group.Validate if the designated constraints aren't met.
func (GroupValidationError) Error ¶
func (e GroupValidationError) Error() string
Error satisfies the builtin error interface
func (GroupValidationError) GetCause ¶
func (e GroupValidationError) GetCause() error
GetCause function returns Cause value.
func (GroupValidationError) GetErrorName ¶
func (e GroupValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (GroupValidationError) GetField ¶
func (e GroupValidationError) GetField() string
GetField function returns Field value.
func (GroupValidationError) GetKey ¶
func (e GroupValidationError) GetKey() bool
GetKey function returns Key value.
func (GroupValidationError) GetReason ¶
func (e GroupValidationError) GetReason() string
GetReason function returns Reason value.
type GroupWithAfterToORM ¶
GroupAfterToORM called after default ToORM code
type GroupWithAfterToPB ¶
GroupAfterToPB called after default ToPB code
type GroupWithBeforeToORM ¶
GroupBeforeToORM called before default ToORM code
type GroupWithBeforeToPB ¶
GroupBeforeToPB called before default ToPB code
type GroupsClient ¶
type GroupsClient interface { Create(ctx context.Context, in *CreateGroupRequest, opts ...grpc.CallOption) (*CreateGroupResponse, error) Read(ctx context.Context, in *ReadGroupRequest, opts ...grpc.CallOption) (*ReadGroupResponse, error) Update(ctx context.Context, in *UpdateGroupRequest, opts ...grpc.CallOption) (*UpdateGroupResponse, error) Delete(ctx context.Context, in *DeleteGroupRequest, opts ...grpc.CallOption) (*DeleteGroupResponse, error) List(ctx context.Context, in *ListGroupRequest, opts ...grpc.CallOption) (*ListGroupsResponse, error) }
func NewGroupsClient ¶
func NewGroupsClient(cc *grpc.ClientConn) GroupsClient
type GroupsDefaultServer ¶
func (*GroupsDefaultServer) Create ¶
func (m *GroupsDefaultServer) Create(ctx context.Context, in *CreateGroupRequest) (*CreateGroupResponse, error)
Create ...
func (*GroupsDefaultServer) Delete ¶
func (m *GroupsDefaultServer) Delete(ctx context.Context, in *DeleteGroupRequest) (*DeleteGroupResponse, error)
Delete ...
func (*GroupsDefaultServer) List ¶
func (m *GroupsDefaultServer) List(ctx context.Context, in *ListGroupRequest) (*ListGroupsResponse, error)
List ...
func (*GroupsDefaultServer) Read ¶
func (m *GroupsDefaultServer) Read(ctx context.Context, in *ReadGroupRequest) (*ReadGroupResponse, error)
Read ...
func (*GroupsDefaultServer) Update ¶
func (m *GroupsDefaultServer) Update(ctx context.Context, in *UpdateGroupRequest) (*UpdateGroupResponse, error)
Update ...
type GroupsGroupWithBeforeCreate ¶
type GroupsGroupWithBeforeCreate interface {
BeforeCreate(context.Context, *CreateGroupRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
GroupsGroupWithBeforeCreate called before DefaultCreateGroup in the default Create handler
type GroupsGroupWithBeforeDelete ¶
type GroupsGroupWithBeforeDelete interface {
BeforeDelete(context.Context, *DeleteGroupRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
GroupsGroupWithBeforeDelete called before DefaultDeleteGroup in the default Delete handler
type GroupsGroupWithBeforeList ¶
type GroupsGroupWithBeforeList interface {
BeforeList(context.Context, *ListGroupRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
GroupsGroupWithBeforeList called before DefaultListGroup in the default List handler
type GroupsGroupWithBeforeRead ¶
type GroupsGroupWithBeforeRead interface {
BeforeRead(context.Context, *ReadGroupRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
GroupsGroupWithBeforeRead called before DefaultReadGroup in the default Read handler
type GroupsGroupWithBeforeUpdate ¶
type GroupsGroupWithBeforeUpdate interface {
BeforeUpdate(context.Context, *UpdateGroupRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
GroupsGroupWithBeforeUpdate called before DefaultUpdateGroup in the default Update handler
type GroupsServer ¶
type GroupsServer interface { Create(context.Context, *CreateGroupRequest) (*CreateGroupResponse, error) Read(context.Context, *ReadGroupRequest) (*ReadGroupResponse, error) Update(context.Context, *UpdateGroupRequest) (*UpdateGroupResponse, error) Delete(context.Context, *DeleteGroupRequest) (*DeleteGroupResponse, error) List(context.Context, *ListGroupRequest) (*ListGroupsResponse, error) }
type ListContactRequest ¶
type ListContactRequest struct { Filter *infoblox_api.Filtering `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"` OrderBy *infoblox_api.Sorting `protobuf:"bytes,2,opt,name=order_by,json=orderBy" json:"order_by,omitempty"` Fields *infoblox_api.FieldSelection `protobuf:"bytes,3,opt,name=fields" json:"fields,omitempty"` Paging *infoblox_api.Pagination `protobuf:"bytes,4,opt,name=paging" json:"paging,omitempty"` }
func (*ListContactRequest) Descriptor ¶
func (*ListContactRequest) Descriptor() ([]byte, []int)
func (*ListContactRequest) GetFields ¶
func (m *ListContactRequest) GetFields() *infoblox_api.FieldSelection
func (*ListContactRequest) GetFilter ¶
func (m *ListContactRequest) GetFilter() *infoblox_api.Filtering
func (*ListContactRequest) GetOrderBy ¶
func (m *ListContactRequest) GetOrderBy() *infoblox_api.Sorting
func (*ListContactRequest) GetPaging ¶
func (m *ListContactRequest) GetPaging() *infoblox_api.Pagination
func (*ListContactRequest) ProtoMessage ¶
func (*ListContactRequest) ProtoMessage()
func (*ListContactRequest) Reset ¶
func (m *ListContactRequest) Reset()
func (*ListContactRequest) String ¶
func (m *ListContactRequest) String() string
func (*ListContactRequest) Validate ¶
func (m *ListContactRequest) Validate() error
Validate checks the field values on ListContactRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListContactRequestValidationError ¶
ListContactRequestValidationError is the validation error returned by ListContactRequest.Validate if the designated constraints aren't met.
func (ListContactRequestValidationError) Error ¶
func (e ListContactRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListContactRequestValidationError) GetCause ¶
func (e ListContactRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (ListContactRequestValidationError) GetErrorName ¶
func (e ListContactRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ListContactRequestValidationError) GetField ¶
func (e ListContactRequestValidationError) GetField() string
GetField function returns Field value.
func (ListContactRequestValidationError) GetKey ¶
func (e ListContactRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (ListContactRequestValidationError) GetReason ¶
func (e ListContactRequestValidationError) GetReason() string
GetReason function returns Reason value.
type ListContactsResponse ¶
type ListContactsResponse struct {
Results []*Contact `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (*ListContactsResponse) Descriptor ¶
func (*ListContactsResponse) Descriptor() ([]byte, []int)
func (*ListContactsResponse) GetResults ¶
func (m *ListContactsResponse) GetResults() []*Contact
func (*ListContactsResponse) ProtoMessage ¶
func (*ListContactsResponse) ProtoMessage()
func (*ListContactsResponse) Reset ¶
func (m *ListContactsResponse) Reset()
func (*ListContactsResponse) String ¶
func (m *ListContactsResponse) String() string
func (*ListContactsResponse) Validate ¶
func (m *ListContactsResponse) Validate() error
Validate checks the field values on ListContactsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListContactsResponseValidationError ¶
ListContactsResponseValidationError is the validation error returned by ListContactsResponse.Validate if the designated constraints aren't met.
func (ListContactsResponseValidationError) Error ¶
func (e ListContactsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListContactsResponseValidationError) GetCause ¶
func (e ListContactsResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (ListContactsResponseValidationError) GetErrorName ¶
func (e ListContactsResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ListContactsResponseValidationError) GetField ¶
func (e ListContactsResponseValidationError) GetField() string
GetField function returns Field value.
func (ListContactsResponseValidationError) GetKey ¶
func (e ListContactsResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (ListContactsResponseValidationError) GetReason ¶
func (e ListContactsResponseValidationError) GetReason() string
GetReason function returns Reason value.
type ListGroupRequest ¶
type ListGroupRequest struct { Filter *infoblox_api.Filtering `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"` OrderBy *infoblox_api.Sorting `protobuf:"bytes,2,opt,name=order_by,json=orderBy" json:"order_by,omitempty"` Fields *infoblox_api.FieldSelection `protobuf:"bytes,3,opt,name=fields" json:"fields,omitempty"` Paging *infoblox_api.Pagination `protobuf:"bytes,4,opt,name=paging" json:"paging,omitempty"` }
func (*ListGroupRequest) Descriptor ¶
func (*ListGroupRequest) Descriptor() ([]byte, []int)
func (*ListGroupRequest) GetFields ¶
func (m *ListGroupRequest) GetFields() *infoblox_api.FieldSelection
func (*ListGroupRequest) GetFilter ¶
func (m *ListGroupRequest) GetFilter() *infoblox_api.Filtering
func (*ListGroupRequest) GetOrderBy ¶
func (m *ListGroupRequest) GetOrderBy() *infoblox_api.Sorting
func (*ListGroupRequest) GetPaging ¶
func (m *ListGroupRequest) GetPaging() *infoblox_api.Pagination
func (*ListGroupRequest) ProtoMessage ¶
func (*ListGroupRequest) ProtoMessage()
func (*ListGroupRequest) Reset ¶
func (m *ListGroupRequest) Reset()
func (*ListGroupRequest) String ¶
func (m *ListGroupRequest) String() string
func (*ListGroupRequest) Validate ¶
func (m *ListGroupRequest) Validate() error
Validate checks the field values on ListGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListGroupRequestValidationError ¶
ListGroupRequestValidationError is the validation error returned by ListGroupRequest.Validate if the designated constraints aren't met.
func (ListGroupRequestValidationError) Error ¶
func (e ListGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListGroupRequestValidationError) GetCause ¶
func (e ListGroupRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (ListGroupRequestValidationError) GetErrorName ¶
func (e ListGroupRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ListGroupRequestValidationError) GetField ¶
func (e ListGroupRequestValidationError) GetField() string
GetField function returns Field value.
func (ListGroupRequestValidationError) GetKey ¶
func (e ListGroupRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (ListGroupRequestValidationError) GetReason ¶
func (e ListGroupRequestValidationError) GetReason() string
GetReason function returns Reason value.
type ListGroupsResponse ¶
type ListGroupsResponse struct {
Results []*Group `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (*ListGroupsResponse) Descriptor ¶
func (*ListGroupsResponse) Descriptor() ([]byte, []int)
func (*ListGroupsResponse) GetResults ¶
func (m *ListGroupsResponse) GetResults() []*Group
func (*ListGroupsResponse) ProtoMessage ¶
func (*ListGroupsResponse) ProtoMessage()
func (*ListGroupsResponse) Reset ¶
func (m *ListGroupsResponse) Reset()
func (*ListGroupsResponse) String ¶
func (m *ListGroupsResponse) String() string
func (*ListGroupsResponse) Validate ¶
func (m *ListGroupsResponse) Validate() error
Validate checks the field values on ListGroupsResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListGroupsResponseValidationError ¶
ListGroupsResponseValidationError is the validation error returned by ListGroupsResponse.Validate if the designated constraints aren't met.
func (ListGroupsResponseValidationError) Error ¶
func (e ListGroupsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListGroupsResponseValidationError) GetCause ¶
func (e ListGroupsResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (ListGroupsResponseValidationError) GetErrorName ¶
func (e ListGroupsResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ListGroupsResponseValidationError) GetField ¶
func (e ListGroupsResponseValidationError) GetField() string
GetField function returns Field value.
func (ListGroupsResponseValidationError) GetKey ¶
func (e ListGroupsResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (ListGroupsResponseValidationError) GetReason ¶
func (e ListGroupsResponseValidationError) GetReason() string
GetReason function returns Reason value.
type ListProfileRequest ¶
type ListProfileRequest struct { Filter *infoblox_api.Filtering `protobuf:"bytes,1,opt,name=filter" json:"filter,omitempty"` OrderBy *infoblox_api.Sorting `protobuf:"bytes,2,opt,name=order_by,json=orderBy" json:"order_by,omitempty"` Fields *infoblox_api.FieldSelection `protobuf:"bytes,3,opt,name=fields" json:"fields,omitempty"` Paging *infoblox_api.Pagination `protobuf:"bytes,4,opt,name=paging" json:"paging,omitempty"` }
func (*ListProfileRequest) Descriptor ¶
func (*ListProfileRequest) Descriptor() ([]byte, []int)
func (*ListProfileRequest) GetFields ¶
func (m *ListProfileRequest) GetFields() *infoblox_api.FieldSelection
func (*ListProfileRequest) GetFilter ¶
func (m *ListProfileRequest) GetFilter() *infoblox_api.Filtering
func (*ListProfileRequest) GetOrderBy ¶
func (m *ListProfileRequest) GetOrderBy() *infoblox_api.Sorting
func (*ListProfileRequest) GetPaging ¶
func (m *ListProfileRequest) GetPaging() *infoblox_api.Pagination
func (*ListProfileRequest) ProtoMessage ¶
func (*ListProfileRequest) ProtoMessage()
func (*ListProfileRequest) Reset ¶
func (m *ListProfileRequest) Reset()
func (*ListProfileRequest) String ¶
func (m *ListProfileRequest) String() string
func (*ListProfileRequest) Validate ¶
func (m *ListProfileRequest) Validate() error
Validate checks the field values on ListProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListProfileRequestValidationError ¶
ListProfileRequestValidationError is the validation error returned by ListProfileRequest.Validate if the designated constraints aren't met.
func (ListProfileRequestValidationError) Error ¶
func (e ListProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListProfileRequestValidationError) GetCause ¶
func (e ListProfileRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (ListProfileRequestValidationError) GetErrorName ¶
func (e ListProfileRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ListProfileRequestValidationError) GetField ¶
func (e ListProfileRequestValidationError) GetField() string
GetField function returns Field value.
func (ListProfileRequestValidationError) GetKey ¶
func (e ListProfileRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (ListProfileRequestValidationError) GetReason ¶
func (e ListProfileRequestValidationError) GetReason() string
GetReason function returns Reason value.
type ListProfilesResponse ¶
type ListProfilesResponse struct {
Results []*Profile `protobuf:"bytes,1,rep,name=results" json:"results,omitempty"`
}
func (*ListProfilesResponse) Descriptor ¶
func (*ListProfilesResponse) Descriptor() ([]byte, []int)
func (*ListProfilesResponse) GetResults ¶
func (m *ListProfilesResponse) GetResults() []*Profile
func (*ListProfilesResponse) ProtoMessage ¶
func (*ListProfilesResponse) ProtoMessage()
func (*ListProfilesResponse) Reset ¶
func (m *ListProfilesResponse) Reset()
func (*ListProfilesResponse) String ¶
func (m *ListProfilesResponse) String() string
func (*ListProfilesResponse) Validate ¶
func (m *ListProfilesResponse) Validate() error
Validate checks the field values on ListProfilesResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ListProfilesResponseValidationError ¶
ListProfilesResponseValidationError is the validation error returned by ListProfilesResponse.Validate if the designated constraints aren't met.
func (ListProfilesResponseValidationError) Error ¶
func (e ListProfilesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListProfilesResponseValidationError) GetCause ¶
func (e ListProfilesResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (ListProfilesResponseValidationError) GetErrorName ¶
func (e ListProfilesResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ListProfilesResponseValidationError) GetField ¶
func (e ListProfilesResponseValidationError) GetField() string
GetField function returns Field value.
func (ListProfilesResponseValidationError) GetKey ¶
func (e ListProfilesResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (ListProfilesResponseValidationError) GetReason ¶
func (e ListProfilesResponseValidationError) GetReason() string
GetReason function returns Reason value.
type Profile ¶
type Profile struct { Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Notes string `protobuf:"bytes,3,opt,name=notes" json:"notes,omitempty"` Contacts []*Contact `protobuf:"bytes,4,rep,name=contacts" json:"contacts,omitempty"` Groups []*Group `protobuf:"bytes,5,rep,name=groups" json:"groups,omitempty"` }
func DefaultApplyFieldMaskProfile ¶
func DefaultApplyFieldMaskProfile(ctx context.Context, patchee *Profile, ormObj *ProfileORM, patcher *Profile, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Profile, error)
DefaultApplyFieldMaskProfile patches an pbObject with patcher according to a field mask.
func DefaultCreateProfile ¶
DefaultCreateProfile executes a basic gorm create call
func DefaultListProfile ¶
DefaultListProfile executes a gorm list call
func DefaultPatchProfile ¶
func DefaultPatchProfile(ctx context.Context, in *Profile, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Profile, error)
DefaultPatchProfile executes a basic gorm update call with patch behavior
func DefaultReadProfile ¶
DefaultReadProfile executes a basic gorm read call
func DefaultStrictUpdateProfile ¶
DefaultStrictUpdateProfile clears first level 1:many children and then executes a gorm update call
func DefaultUpdateProfile ¶
DefaultUpdateProfile executes a basic gorm update call
func (*Profile) Descriptor ¶
func (*Profile) GetContacts ¶
func (*Profile) GetId ¶
func (m *Profile) GetId() *atlas_rpc.Identifier
func (*Profile) ProtoMessage ¶
func (*Profile) ProtoMessage()
type ProfileORM ¶
type ProfileORM struct { AccountID string Contacts []*ContactORM `gorm:"foreignkey:ProfileId;association_foreignkey:Id"` Groups []*GroupORM `gorm:"foreignkey:ProfileId;association_foreignkey:Id"` Id int64 `gorm:"type:serial;primary_key"` Name string Notes string }
func (ProfileORM) TableName ¶
func (ProfileORM) TableName() string
TableName overrides the default tablename generated by GORM
type ProfileValidationError ¶
ProfileValidationError is the validation error returned by Profile.Validate if the designated constraints aren't met.
func (ProfileValidationError) Error ¶
func (e ProfileValidationError) Error() string
Error satisfies the builtin error interface
func (ProfileValidationError) GetCause ¶
func (e ProfileValidationError) GetCause() error
GetCause function returns Cause value.
func (ProfileValidationError) GetErrorName ¶
func (e ProfileValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ProfileValidationError) GetField ¶
func (e ProfileValidationError) GetField() string
GetField function returns Field value.
func (ProfileValidationError) GetKey ¶
func (e ProfileValidationError) GetKey() bool
GetKey function returns Key value.
func (ProfileValidationError) GetReason ¶
func (e ProfileValidationError) GetReason() string
GetReason function returns Reason value.
type ProfileWithAfterToORM ¶
type ProfileWithAfterToORM interface {
AfterToORM(context.Context, *ProfileORM) error
}
ProfileAfterToORM called after default ToORM code
type ProfileWithAfterToPB ¶
ProfileAfterToPB called after default ToPB code
type ProfileWithBeforeToORM ¶
type ProfileWithBeforeToORM interface {
BeforeToORM(context.Context, *ProfileORM) error
}
ProfileBeforeToORM called before default ToORM code
type ProfileWithBeforeToPB ¶
ProfileBeforeToPB called before default ToPB code
type ProfilesClient ¶
type ProfilesClient interface { Create(ctx context.Context, in *CreateProfileRequest, opts ...grpc.CallOption) (*CreateProfileResponse, error) Read(ctx context.Context, in *ReadProfileRequest, opts ...grpc.CallOption) (*ReadProfileResponse, error) Update(ctx context.Context, in *UpdateProfileRequest, opts ...grpc.CallOption) (*UpdateProfileResponse, error) Delete(ctx context.Context, in *DeleteProfileRequest, opts ...grpc.CallOption) (*DeleteProfileResponse, error) List(ctx context.Context, in *ListProfileRequest, opts ...grpc.CallOption) (*ListProfilesResponse, error) }
func NewProfilesClient ¶
func NewProfilesClient(cc *grpc.ClientConn) ProfilesClient
type ProfilesDefaultServer ¶
func (*ProfilesDefaultServer) Create ¶
func (m *ProfilesDefaultServer) Create(ctx context.Context, in *CreateProfileRequest) (*CreateProfileResponse, error)
Create ...
func (*ProfilesDefaultServer) Delete ¶
func (m *ProfilesDefaultServer) Delete(ctx context.Context, in *DeleteProfileRequest) (*DeleteProfileResponse, error)
Delete ...
func (*ProfilesDefaultServer) List ¶
func (m *ProfilesDefaultServer) List(ctx context.Context, in *ListProfileRequest) (*ListProfilesResponse, error)
List ...
func (*ProfilesDefaultServer) Read ¶
func (m *ProfilesDefaultServer) Read(ctx context.Context, in *ReadProfileRequest) (*ReadProfileResponse, error)
Read ...
func (*ProfilesDefaultServer) Update ¶
func (m *ProfilesDefaultServer) Update(ctx context.Context, in *UpdateProfileRequest) (*UpdateProfileResponse, error)
Update ...
type ProfilesProfileWithBeforeCreate ¶
type ProfilesProfileWithBeforeCreate interface {
BeforeCreate(context.Context, *CreateProfileRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
ProfilesProfileWithBeforeCreate called before DefaultCreateProfile in the default Create handler
type ProfilesProfileWithBeforeDelete ¶
type ProfilesProfileWithBeforeDelete interface {
BeforeDelete(context.Context, *DeleteProfileRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
ProfilesProfileWithBeforeDelete called before DefaultDeleteProfile in the default Delete handler
type ProfilesProfileWithBeforeList ¶
type ProfilesProfileWithBeforeList interface {
BeforeList(context.Context, *ListProfileRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
ProfilesProfileWithBeforeList called before DefaultListProfile in the default List handler
type ProfilesProfileWithBeforeRead ¶
type ProfilesProfileWithBeforeRead interface {
BeforeRead(context.Context, *ReadProfileRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
ProfilesProfileWithBeforeRead called before DefaultReadProfile in the default Read handler
type ProfilesProfileWithBeforeUpdate ¶
type ProfilesProfileWithBeforeUpdate interface {
BeforeUpdate(context.Context, *UpdateProfileRequest, *gorm1.DB) (context.Context, *gorm1.DB, error)
}
ProfilesProfileWithBeforeUpdate called before DefaultUpdateProfile in the default Update handler
type ProfilesServer ¶
type ProfilesServer interface { Create(context.Context, *CreateProfileRequest) (*CreateProfileResponse, error) Read(context.Context, *ReadProfileRequest) (*ReadProfileResponse, error) Update(context.Context, *UpdateProfileRequest) (*UpdateProfileResponse, error) Delete(context.Context, *DeleteProfileRequest) (*DeleteProfileResponse, error) List(context.Context, *ListProfileRequest) (*ListProfilesResponse, error) }
type ReadContactRequest ¶
type ReadContactRequest struct {
Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (*ReadContactRequest) Descriptor ¶
func (*ReadContactRequest) Descriptor() ([]byte, []int)
func (*ReadContactRequest) GetId ¶
func (m *ReadContactRequest) GetId() *atlas_rpc.Identifier
func (*ReadContactRequest) ProtoMessage ¶
func (*ReadContactRequest) ProtoMessage()
func (*ReadContactRequest) Reset ¶
func (m *ReadContactRequest) Reset()
func (*ReadContactRequest) String ¶
func (m *ReadContactRequest) String() string
func (*ReadContactRequest) Validate ¶
func (m *ReadContactRequest) Validate() error
Validate checks the field values on ReadContactRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadContactRequestValidationError ¶
ReadContactRequestValidationError is the validation error returned by ReadContactRequest.Validate if the designated constraints aren't met.
func (ReadContactRequestValidationError) Error ¶
func (e ReadContactRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadContactRequestValidationError) GetCause ¶
func (e ReadContactRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (ReadContactRequestValidationError) GetErrorName ¶
func (e ReadContactRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ReadContactRequestValidationError) GetField ¶
func (e ReadContactRequestValidationError) GetField() string
GetField function returns Field value.
func (ReadContactRequestValidationError) GetKey ¶
func (e ReadContactRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (ReadContactRequestValidationError) GetReason ¶
func (e ReadContactRequestValidationError) GetReason() string
GetReason function returns Reason value.
type ReadContactResponse ¶
type ReadContactResponse struct {
Result *Contact `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*ReadContactResponse) Descriptor ¶
func (*ReadContactResponse) Descriptor() ([]byte, []int)
func (*ReadContactResponse) GetResult ¶
func (m *ReadContactResponse) GetResult() *Contact
func (*ReadContactResponse) ProtoMessage ¶
func (*ReadContactResponse) ProtoMessage()
func (*ReadContactResponse) Reset ¶
func (m *ReadContactResponse) Reset()
func (*ReadContactResponse) String ¶
func (m *ReadContactResponse) String() string
func (*ReadContactResponse) Validate ¶
func (m *ReadContactResponse) Validate() error
Validate checks the field values on ReadContactResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadContactResponseValidationError ¶
ReadContactResponseValidationError is the validation error returned by ReadContactResponse.Validate if the designated constraints aren't met.
func (ReadContactResponseValidationError) Error ¶
func (e ReadContactResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadContactResponseValidationError) GetCause ¶
func (e ReadContactResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (ReadContactResponseValidationError) GetErrorName ¶
func (e ReadContactResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ReadContactResponseValidationError) GetField ¶
func (e ReadContactResponseValidationError) GetField() string
GetField function returns Field value.
func (ReadContactResponseValidationError) GetKey ¶
func (e ReadContactResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (ReadContactResponseValidationError) GetReason ¶
func (e ReadContactResponseValidationError) GetReason() string
GetReason function returns Reason value.
type ReadGroupRequest ¶
type ReadGroupRequest struct {
Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (*ReadGroupRequest) Descriptor ¶
func (*ReadGroupRequest) Descriptor() ([]byte, []int)
func (*ReadGroupRequest) GetId ¶
func (m *ReadGroupRequest) GetId() *atlas_rpc.Identifier
func (*ReadGroupRequest) ProtoMessage ¶
func (*ReadGroupRequest) ProtoMessage()
func (*ReadGroupRequest) Reset ¶
func (m *ReadGroupRequest) Reset()
func (*ReadGroupRequest) String ¶
func (m *ReadGroupRequest) String() string
func (*ReadGroupRequest) Validate ¶
func (m *ReadGroupRequest) Validate() error
Validate checks the field values on ReadGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadGroupRequestValidationError ¶
ReadGroupRequestValidationError is the validation error returned by ReadGroupRequest.Validate if the designated constraints aren't met.
func (ReadGroupRequestValidationError) Error ¶
func (e ReadGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadGroupRequestValidationError) GetCause ¶
func (e ReadGroupRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (ReadGroupRequestValidationError) GetErrorName ¶
func (e ReadGroupRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ReadGroupRequestValidationError) GetField ¶
func (e ReadGroupRequestValidationError) GetField() string
GetField function returns Field value.
func (ReadGroupRequestValidationError) GetKey ¶
func (e ReadGroupRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (ReadGroupRequestValidationError) GetReason ¶
func (e ReadGroupRequestValidationError) GetReason() string
GetReason function returns Reason value.
type ReadGroupResponse ¶
type ReadGroupResponse struct {
Result *Group `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*ReadGroupResponse) Descriptor ¶
func (*ReadGroupResponse) Descriptor() ([]byte, []int)
func (*ReadGroupResponse) GetResult ¶
func (m *ReadGroupResponse) GetResult() *Group
func (*ReadGroupResponse) ProtoMessage ¶
func (*ReadGroupResponse) ProtoMessage()
func (*ReadGroupResponse) Reset ¶
func (m *ReadGroupResponse) Reset()
func (*ReadGroupResponse) String ¶
func (m *ReadGroupResponse) String() string
func (*ReadGroupResponse) Validate ¶
func (m *ReadGroupResponse) Validate() error
Validate checks the field values on ReadGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadGroupResponseValidationError ¶
ReadGroupResponseValidationError is the validation error returned by ReadGroupResponse.Validate if the designated constraints aren't met.
func (ReadGroupResponseValidationError) Error ¶
func (e ReadGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadGroupResponseValidationError) GetCause ¶
func (e ReadGroupResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (ReadGroupResponseValidationError) GetErrorName ¶
func (e ReadGroupResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ReadGroupResponseValidationError) GetField ¶
func (e ReadGroupResponseValidationError) GetField() string
GetField function returns Field value.
func (ReadGroupResponseValidationError) GetKey ¶
func (e ReadGroupResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (ReadGroupResponseValidationError) GetReason ¶
func (e ReadGroupResponseValidationError) GetReason() string
GetReason function returns Reason value.
type ReadProfileRequest ¶
type ReadProfileRequest struct {
Id *atlas_rpc.Identifier `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
}
func (*ReadProfileRequest) Descriptor ¶
func (*ReadProfileRequest) Descriptor() ([]byte, []int)
func (*ReadProfileRequest) GetId ¶
func (m *ReadProfileRequest) GetId() *atlas_rpc.Identifier
func (*ReadProfileRequest) ProtoMessage ¶
func (*ReadProfileRequest) ProtoMessage()
func (*ReadProfileRequest) Reset ¶
func (m *ReadProfileRequest) Reset()
func (*ReadProfileRequest) String ¶
func (m *ReadProfileRequest) String() string
func (*ReadProfileRequest) Validate ¶
func (m *ReadProfileRequest) Validate() error
Validate checks the field values on ReadProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadProfileRequestValidationError ¶
ReadProfileRequestValidationError is the validation error returned by ReadProfileRequest.Validate if the designated constraints aren't met.
func (ReadProfileRequestValidationError) Error ¶
func (e ReadProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ReadProfileRequestValidationError) GetCause ¶
func (e ReadProfileRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (ReadProfileRequestValidationError) GetErrorName ¶
func (e ReadProfileRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ReadProfileRequestValidationError) GetField ¶
func (e ReadProfileRequestValidationError) GetField() string
GetField function returns Field value.
func (ReadProfileRequestValidationError) GetKey ¶
func (e ReadProfileRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (ReadProfileRequestValidationError) GetReason ¶
func (e ReadProfileRequestValidationError) GetReason() string
GetReason function returns Reason value.
type ReadProfileResponse ¶
type ReadProfileResponse struct {
Result *Profile `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*ReadProfileResponse) Descriptor ¶
func (*ReadProfileResponse) Descriptor() ([]byte, []int)
func (*ReadProfileResponse) GetResult ¶
func (m *ReadProfileResponse) GetResult() *Profile
func (*ReadProfileResponse) ProtoMessage ¶
func (*ReadProfileResponse) ProtoMessage()
func (*ReadProfileResponse) Reset ¶
func (m *ReadProfileResponse) Reset()
func (*ReadProfileResponse) String ¶
func (m *ReadProfileResponse) String() string
func (*ReadProfileResponse) Validate ¶
func (m *ReadProfileResponse) Validate() error
Validate checks the field values on ReadProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type ReadProfileResponseValidationError ¶
ReadProfileResponseValidationError is the validation error returned by ReadProfileResponse.Validate if the designated constraints aren't met.
func (ReadProfileResponseValidationError) Error ¶
func (e ReadProfileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ReadProfileResponseValidationError) GetCause ¶
func (e ReadProfileResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (ReadProfileResponseValidationError) GetErrorName ¶
func (e ReadProfileResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (ReadProfileResponseValidationError) GetField ¶
func (e ReadProfileResponseValidationError) GetField() string
GetField function returns Field value.
func (ReadProfileResponseValidationError) GetKey ¶
func (e ReadProfileResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (ReadProfileResponseValidationError) GetReason ¶
func (e ReadProfileResponseValidationError) GetReason() string
GetReason function returns Reason value.
type SMSRequest ¶
type SMSRequest struct { Id uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` Message string `protobuf:"bytes,2,opt,name=message" json:"message,omitempty"` }
func (*SMSRequest) Descriptor ¶
func (*SMSRequest) Descriptor() ([]byte, []int)
func (*SMSRequest) GetId ¶
func (m *SMSRequest) GetId() uint64
func (*SMSRequest) GetMessage ¶
func (m *SMSRequest) GetMessage() string
func (*SMSRequest) ProtoMessage ¶
func (*SMSRequest) ProtoMessage()
func (*SMSRequest) Reset ¶
func (m *SMSRequest) Reset()
func (*SMSRequest) String ¶
func (m *SMSRequest) String() string
func (*SMSRequest) Validate ¶
func (m *SMSRequest) Validate() error
Validate checks the field values on SMSRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SMSRequestValidationError ¶
SMSRequestValidationError is the validation error returned by SMSRequest.Validate if the designated constraints aren't met.
func (SMSRequestValidationError) Error ¶
func (e SMSRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SMSRequestValidationError) GetCause ¶
func (e SMSRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (SMSRequestValidationError) GetErrorName ¶
func (e SMSRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (SMSRequestValidationError) GetField ¶
func (e SMSRequestValidationError) GetField() string
GetField function returns Field value.
func (SMSRequestValidationError) GetKey ¶
func (e SMSRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (SMSRequestValidationError) GetReason ¶
func (e SMSRequestValidationError) GetReason() string
GetReason function returns Reason value.
type SMSResponse ¶
type SMSResponse struct { }
func (*SMSResponse) Descriptor ¶
func (*SMSResponse) Descriptor() ([]byte, []int)
func (*SMSResponse) ProtoMessage ¶
func (*SMSResponse) ProtoMessage()
func (*SMSResponse) Reset ¶
func (m *SMSResponse) Reset()
func (*SMSResponse) String ¶
func (m *SMSResponse) String() string
func (*SMSResponse) Validate ¶
func (m *SMSResponse) Validate() error
Validate checks the field values on SMSResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type SMSResponseValidationError ¶
SMSResponseValidationError is the validation error returned by SMSResponse.Validate if the designated constraints aren't met.
func (SMSResponseValidationError) Error ¶
func (e SMSResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SMSResponseValidationError) GetCause ¶
func (e SMSResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (SMSResponseValidationError) GetErrorName ¶
func (e SMSResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (SMSResponseValidationError) GetField ¶
func (e SMSResponseValidationError) GetField() string
GetField function returns Field value.
func (SMSResponseValidationError) GetKey ¶
func (e SMSResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (SMSResponseValidationError) GetReason ¶
func (e SMSResponseValidationError) GetReason() string
GetReason function returns Reason value.
type UpdateContactRequest ¶
type UpdateContactRequest struct { Payload *Contact `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"` Fields *google_protobuf.FieldMask `protobuf:"bytes,2,opt,name=fields" json:"fields,omitempty"` }
func (*UpdateContactRequest) Descriptor ¶
func (*UpdateContactRequest) Descriptor() ([]byte, []int)
func (*UpdateContactRequest) GetFields ¶
func (m *UpdateContactRequest) GetFields() *google_protobuf.FieldMask
func (*UpdateContactRequest) GetPayload ¶
func (m *UpdateContactRequest) GetPayload() *Contact
func (*UpdateContactRequest) ProtoMessage ¶
func (*UpdateContactRequest) ProtoMessage()
func (*UpdateContactRequest) Reset ¶
func (m *UpdateContactRequest) Reset()
func (*UpdateContactRequest) String ¶
func (m *UpdateContactRequest) String() string
func (*UpdateContactRequest) Validate ¶
func (m *UpdateContactRequest) Validate() error
Validate checks the field values on UpdateContactRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateContactRequestValidationError ¶
UpdateContactRequestValidationError is the validation error returned by UpdateContactRequest.Validate if the designated constraints aren't met.
func (UpdateContactRequestValidationError) Error ¶
func (e UpdateContactRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateContactRequestValidationError) GetCause ¶
func (e UpdateContactRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (UpdateContactRequestValidationError) GetErrorName ¶
func (e UpdateContactRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (UpdateContactRequestValidationError) GetField ¶
func (e UpdateContactRequestValidationError) GetField() string
GetField function returns Field value.
func (UpdateContactRequestValidationError) GetKey ¶
func (e UpdateContactRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (UpdateContactRequestValidationError) GetReason ¶
func (e UpdateContactRequestValidationError) GetReason() string
GetReason function returns Reason value.
type UpdateContactResponse ¶
type UpdateContactResponse struct {
Result *Contact `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*UpdateContactResponse) Descriptor ¶
func (*UpdateContactResponse) Descriptor() ([]byte, []int)
func (*UpdateContactResponse) GetResult ¶
func (m *UpdateContactResponse) GetResult() *Contact
func (*UpdateContactResponse) ProtoMessage ¶
func (*UpdateContactResponse) ProtoMessage()
func (*UpdateContactResponse) Reset ¶
func (m *UpdateContactResponse) Reset()
func (*UpdateContactResponse) String ¶
func (m *UpdateContactResponse) String() string
func (*UpdateContactResponse) Validate ¶
func (m *UpdateContactResponse) Validate() error
Validate checks the field values on UpdateContactResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateContactResponseValidationError ¶
type UpdateContactResponseValidationError struct { Field string Reason string Cause error Key bool }
UpdateContactResponseValidationError is the validation error returned by UpdateContactResponse.Validate if the designated constraints aren't met.
func (UpdateContactResponseValidationError) Error ¶
func (e UpdateContactResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateContactResponseValidationError) GetCause ¶
func (e UpdateContactResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (UpdateContactResponseValidationError) GetErrorName ¶
func (e UpdateContactResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (UpdateContactResponseValidationError) GetField ¶
func (e UpdateContactResponseValidationError) GetField() string
GetField function returns Field value.
func (UpdateContactResponseValidationError) GetKey ¶
func (e UpdateContactResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (UpdateContactResponseValidationError) GetReason ¶
func (e UpdateContactResponseValidationError) GetReason() string
GetReason function returns Reason value.
type UpdateGroupRequest ¶
type UpdateGroupRequest struct {
Payload *Group `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}
func (*UpdateGroupRequest) Descriptor ¶
func (*UpdateGroupRequest) Descriptor() ([]byte, []int)
func (*UpdateGroupRequest) GetPayload ¶
func (m *UpdateGroupRequest) GetPayload() *Group
func (*UpdateGroupRequest) ProtoMessage ¶
func (*UpdateGroupRequest) ProtoMessage()
func (*UpdateGroupRequest) Reset ¶
func (m *UpdateGroupRequest) Reset()
func (*UpdateGroupRequest) String ¶
func (m *UpdateGroupRequest) String() string
func (*UpdateGroupRequest) Validate ¶
func (m *UpdateGroupRequest) Validate() error
Validate checks the field values on UpdateGroupRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateGroupRequestValidationError ¶
UpdateGroupRequestValidationError is the validation error returned by UpdateGroupRequest.Validate if the designated constraints aren't met.
func (UpdateGroupRequestValidationError) Error ¶
func (e UpdateGroupRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateGroupRequestValidationError) GetCause ¶
func (e UpdateGroupRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (UpdateGroupRequestValidationError) GetErrorName ¶
func (e UpdateGroupRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (UpdateGroupRequestValidationError) GetField ¶
func (e UpdateGroupRequestValidationError) GetField() string
GetField function returns Field value.
func (UpdateGroupRequestValidationError) GetKey ¶
func (e UpdateGroupRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (UpdateGroupRequestValidationError) GetReason ¶
func (e UpdateGroupRequestValidationError) GetReason() string
GetReason function returns Reason value.
type UpdateGroupResponse ¶
type UpdateGroupResponse struct {
Result *Group `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*UpdateGroupResponse) Descriptor ¶
func (*UpdateGroupResponse) Descriptor() ([]byte, []int)
func (*UpdateGroupResponse) GetResult ¶
func (m *UpdateGroupResponse) GetResult() *Group
func (*UpdateGroupResponse) ProtoMessage ¶
func (*UpdateGroupResponse) ProtoMessage()
func (*UpdateGroupResponse) Reset ¶
func (m *UpdateGroupResponse) Reset()
func (*UpdateGroupResponse) String ¶
func (m *UpdateGroupResponse) String() string
func (*UpdateGroupResponse) Validate ¶
func (m *UpdateGroupResponse) Validate() error
Validate checks the field values on UpdateGroupResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateGroupResponseValidationError ¶
UpdateGroupResponseValidationError is the validation error returned by UpdateGroupResponse.Validate if the designated constraints aren't met.
func (UpdateGroupResponseValidationError) Error ¶
func (e UpdateGroupResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateGroupResponseValidationError) GetCause ¶
func (e UpdateGroupResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (UpdateGroupResponseValidationError) GetErrorName ¶
func (e UpdateGroupResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (UpdateGroupResponseValidationError) GetField ¶
func (e UpdateGroupResponseValidationError) GetField() string
GetField function returns Field value.
func (UpdateGroupResponseValidationError) GetKey ¶
func (e UpdateGroupResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (UpdateGroupResponseValidationError) GetReason ¶
func (e UpdateGroupResponseValidationError) GetReason() string
GetReason function returns Reason value.
type UpdateProfileRequest ¶
type UpdateProfileRequest struct {
Payload *Profile `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
}
func (*UpdateProfileRequest) Descriptor ¶
func (*UpdateProfileRequest) Descriptor() ([]byte, []int)
func (*UpdateProfileRequest) GetPayload ¶
func (m *UpdateProfileRequest) GetPayload() *Profile
func (*UpdateProfileRequest) ProtoMessage ¶
func (*UpdateProfileRequest) ProtoMessage()
func (*UpdateProfileRequest) Reset ¶
func (m *UpdateProfileRequest) Reset()
func (*UpdateProfileRequest) String ¶
func (m *UpdateProfileRequest) String() string
func (*UpdateProfileRequest) Validate ¶
func (m *UpdateProfileRequest) Validate() error
Validate checks the field values on UpdateProfileRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateProfileRequestValidationError ¶
UpdateProfileRequestValidationError is the validation error returned by UpdateProfileRequest.Validate if the designated constraints aren't met.
func (UpdateProfileRequestValidationError) Error ¶
func (e UpdateProfileRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProfileRequestValidationError) GetCause ¶
func (e UpdateProfileRequestValidationError) GetCause() error
GetCause function returns Cause value.
func (UpdateProfileRequestValidationError) GetErrorName ¶
func (e UpdateProfileRequestValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (UpdateProfileRequestValidationError) GetField ¶
func (e UpdateProfileRequestValidationError) GetField() string
GetField function returns Field value.
func (UpdateProfileRequestValidationError) GetKey ¶
func (e UpdateProfileRequestValidationError) GetKey() bool
GetKey function returns Key value.
func (UpdateProfileRequestValidationError) GetReason ¶
func (e UpdateProfileRequestValidationError) GetReason() string
GetReason function returns Reason value.
type UpdateProfileResponse ¶
type UpdateProfileResponse struct {
Result *Profile `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (*UpdateProfileResponse) Descriptor ¶
func (*UpdateProfileResponse) Descriptor() ([]byte, []int)
func (*UpdateProfileResponse) GetResult ¶
func (m *UpdateProfileResponse) GetResult() *Profile
func (*UpdateProfileResponse) ProtoMessage ¶
func (*UpdateProfileResponse) ProtoMessage()
func (*UpdateProfileResponse) Reset ¶
func (m *UpdateProfileResponse) Reset()
func (*UpdateProfileResponse) String ¶
func (m *UpdateProfileResponse) String() string
func (*UpdateProfileResponse) Validate ¶
func (m *UpdateProfileResponse) Validate() error
Validate checks the field values on UpdateProfileResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
type UpdateProfileResponseValidationError ¶
type UpdateProfileResponseValidationError struct { Field string Reason string Cause error Key bool }
UpdateProfileResponseValidationError is the validation error returned by UpdateProfileResponse.Validate if the designated constraints aren't met.
func (UpdateProfileResponseValidationError) Error ¶
func (e UpdateProfileResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProfileResponseValidationError) GetCause ¶
func (e UpdateProfileResponseValidationError) GetCause() error
GetCause function returns Cause value.
func (UpdateProfileResponseValidationError) GetErrorName ¶
func (e UpdateProfileResponseValidationError) GetErrorName() string
GetErrorName returns Error Name value.
func (UpdateProfileResponseValidationError) GetField ¶
func (e UpdateProfileResponseValidationError) GetField() string
GetField function returns Field value.
func (UpdateProfileResponseValidationError) GetKey ¶
func (e UpdateProfileResponseValidationError) GetKey() bool
GetKey function returns Key value.
func (UpdateProfileResponseValidationError) GetReason ¶
func (e UpdateProfileResponseValidationError) GetReason() string
GetReason function returns Reason value.