Documentation ¶
Index ¶
- Variables
- type GetUserNotificationSettingsRequest
- func (*GetUserNotificationSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (*GetUserNotificationSettingsRequest) ProtoMessage()
- func (x *GetUserNotificationSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserNotificationSettingsRequest) Reset()
- func (x *GetUserNotificationSettingsRequest) String() string
- func (m *GetUserNotificationSettingsRequest) Validate() error
- func (m *GetUserNotificationSettingsRequest) ValidateAll() error
- type GetUserNotificationSettingsRequestMultiError
- type GetUserNotificationSettingsRequestValidationError
- func (e GetUserNotificationSettingsRequestValidationError) Cause() error
- func (e GetUserNotificationSettingsRequestValidationError) Error() string
- func (e GetUserNotificationSettingsRequestValidationError) ErrorName() string
- func (e GetUserNotificationSettingsRequestValidationError) Field() string
- func (e GetUserNotificationSettingsRequestValidationError) Key() bool
- func (e GetUserNotificationSettingsRequestValidationError) Reason() string
- type GetUserNotificationSettingsResponse
- func (*GetUserNotificationSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserNotificationSettingsResponse) GetUserNotificationSettings() *UserNotificationSettings
- func (*GetUserNotificationSettingsResponse) ProtoMessage()
- func (x *GetUserNotificationSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserNotificationSettingsResponse) Reset()
- func (x *GetUserNotificationSettingsResponse) String() string
- func (m *GetUserNotificationSettingsResponse) Validate() error
- func (m *GetUserNotificationSettingsResponse) ValidateAll() error
- type GetUserNotificationSettingsResponseMultiError
- type GetUserNotificationSettingsResponseValidationError
- func (e GetUserNotificationSettingsResponseValidationError) Cause() error
- func (e GetUserNotificationSettingsResponseValidationError) Error() string
- func (e GetUserNotificationSettingsResponseValidationError) ErrorName() string
- func (e GetUserNotificationSettingsResponseValidationError) Field() string
- func (e GetUserNotificationSettingsResponseValidationError) Key() bool
- func (e GetUserNotificationSettingsResponseValidationError) Reason() string
- type UpdateUserNotificationSettingsRequest
- func (*UpdateUserNotificationSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserNotificationSettingsRequest) GetUserNotificationSettings() *UserNotificationSettings
- func (*UpdateUserNotificationSettingsRequest) ProtoMessage()
- func (x *UpdateUserNotificationSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserNotificationSettingsRequest) Reset()
- func (x *UpdateUserNotificationSettingsRequest) String() string
- func (m *UpdateUserNotificationSettingsRequest) Validate() error
- func (m *UpdateUserNotificationSettingsRequest) ValidateAll() error
- type UpdateUserNotificationSettingsRequestMultiError
- type UpdateUserNotificationSettingsRequestValidationError
- func (e UpdateUserNotificationSettingsRequestValidationError) Cause() error
- func (e UpdateUserNotificationSettingsRequestValidationError) Error() string
- func (e UpdateUserNotificationSettingsRequestValidationError) ErrorName() string
- func (e UpdateUserNotificationSettingsRequestValidationError) Field() string
- func (e UpdateUserNotificationSettingsRequestValidationError) Key() bool
- func (e UpdateUserNotificationSettingsRequestValidationError) Reason() string
- type UpdateUserNotificationSettingsResponse
- func (*UpdateUserNotificationSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserNotificationSettingsResponse) GetUserNotificationSettings() *UserNotificationSettings
- func (*UpdateUserNotificationSettingsResponse) ProtoMessage()
- func (x *UpdateUserNotificationSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateUserNotificationSettingsResponse) Reset()
- func (x *UpdateUserNotificationSettingsResponse) String() string
- func (m *UpdateUserNotificationSettingsResponse) Validate() error
- func (m *UpdateUserNotificationSettingsResponse) ValidateAll() error
- type UpdateUserNotificationSettingsResponseMultiError
- type UpdateUserNotificationSettingsResponseValidationError
- func (e UpdateUserNotificationSettingsResponseValidationError) Cause() error
- func (e UpdateUserNotificationSettingsResponseValidationError) Error() string
- func (e UpdateUserNotificationSettingsResponseValidationError) ErrorName() string
- func (e UpdateUserNotificationSettingsResponseValidationError) Field() string
- func (e UpdateUserNotificationSettingsResponseValidationError) Key() bool
- func (e UpdateUserNotificationSettingsResponseValidationError) Reason() string
- type UserNotificationSettings
- func (*UserNotificationSettings) Descriptor() ([]byte, []int)deprecated
- func (x *UserNotificationSettings) GetGrantActivated() bool
- func (x *UserNotificationSettings) GetGrantApproved() bool
- func (x *UserNotificationSettings) GetGrantDeprovisioned() bool
- func (x *UserNotificationSettings) GetGrantExtended() bool
- func (x *UserNotificationSettings) GetGrantRequested() bool
- func (x *UserNotificationSettings) GetGrantRevoked() bool
- func (*UserNotificationSettings) ProtoMessage()
- func (x *UserNotificationSettings) ProtoReflect() protoreflect.Message
- func (x *UserNotificationSettings) Reset()
- func (x *UserNotificationSettings) String() string
- func (m *UserNotificationSettings) Validate() error
- func (m *UserNotificationSettings) ValidateAll() error
- type UserNotificationSettingsMultiError
- type UserNotificationSettingsValidationError
- func (e UserNotificationSettingsValidationError) Cause() error
- func (e UserNotificationSettingsValidationError) Error() string
- func (e UserNotificationSettingsValidationError) ErrorName() string
- func (e UserNotificationSettingsValidationError) Field() string
- func (e UserNotificationSettingsValidationError) Key() bool
- func (e UserNotificationSettingsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_commonfate_control_notification_v1alpha1_notification_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type GetUserNotificationSettingsRequest ¶
type GetUserNotificationSettingsRequest struct {
// contains filtered or unexported fields
}
func (*GetUserNotificationSettingsRequest) Descriptor
deprecated
func (*GetUserNotificationSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserNotificationSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetUserNotificationSettingsRequest) ProtoMessage ¶
func (*GetUserNotificationSettingsRequest) ProtoMessage()
func (*GetUserNotificationSettingsRequest) ProtoReflect ¶
func (x *GetUserNotificationSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetUserNotificationSettingsRequest) Reset ¶
func (x *GetUserNotificationSettingsRequest) Reset()
func (*GetUserNotificationSettingsRequest) String ¶
func (x *GetUserNotificationSettingsRequest) String() string
func (*GetUserNotificationSettingsRequest) Validate ¶
func (m *GetUserNotificationSettingsRequest) Validate() error
Validate checks the field values on GetUserNotificationSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserNotificationSettingsRequest) ValidateAll ¶
func (m *GetUserNotificationSettingsRequest) ValidateAll() error
ValidateAll checks the field values on GetUserNotificationSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserNotificationSettingsRequestMultiError, or nil if none found.
type GetUserNotificationSettingsRequestMultiError ¶
type GetUserNotificationSettingsRequestMultiError []error
GetUserNotificationSettingsRequestMultiError is an error wrapping multiple validation errors returned by GetUserNotificationSettingsRequest.ValidateAll() if the designated constraints aren't met.
func (GetUserNotificationSettingsRequestMultiError) AllErrors ¶
func (m GetUserNotificationSettingsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserNotificationSettingsRequestMultiError) Error ¶
func (m GetUserNotificationSettingsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserNotificationSettingsRequestValidationError ¶
type GetUserNotificationSettingsRequestValidationError struct {
// contains filtered or unexported fields
}
GetUserNotificationSettingsRequestValidationError is the validation error returned by GetUserNotificationSettingsRequest.Validate if the designated constraints aren't met.
func (GetUserNotificationSettingsRequestValidationError) Cause ¶
func (e GetUserNotificationSettingsRequestValidationError) Cause() error
Cause function returns cause value.
func (GetUserNotificationSettingsRequestValidationError) Error ¶
func (e GetUserNotificationSettingsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserNotificationSettingsRequestValidationError) ErrorName ¶
func (e GetUserNotificationSettingsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserNotificationSettingsRequestValidationError) Field ¶
func (e GetUserNotificationSettingsRequestValidationError) Field() string
Field function returns field value.
func (GetUserNotificationSettingsRequestValidationError) Key ¶
func (e GetUserNotificationSettingsRequestValidationError) Key() bool
Key function returns key value.
func (GetUserNotificationSettingsRequestValidationError) Reason ¶
func (e GetUserNotificationSettingsRequestValidationError) Reason() string
Reason function returns reason value.
type GetUserNotificationSettingsResponse ¶
type GetUserNotificationSettingsResponse struct { UserNotificationSettings *UserNotificationSettings `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetUserNotificationSettingsResponse) Descriptor
deprecated
func (*GetUserNotificationSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserNotificationSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetUserNotificationSettingsResponse) GetUserNotificationSettings ¶
func (x *GetUserNotificationSettingsResponse) GetUserNotificationSettings() *UserNotificationSettings
func (*GetUserNotificationSettingsResponse) ProtoMessage ¶
func (*GetUserNotificationSettingsResponse) ProtoMessage()
func (*GetUserNotificationSettingsResponse) ProtoReflect ¶
func (x *GetUserNotificationSettingsResponse) ProtoReflect() protoreflect.Message
func (*GetUserNotificationSettingsResponse) Reset ¶
func (x *GetUserNotificationSettingsResponse) Reset()
func (*GetUserNotificationSettingsResponse) String ¶
func (x *GetUserNotificationSettingsResponse) String() string
func (*GetUserNotificationSettingsResponse) Validate ¶
func (m *GetUserNotificationSettingsResponse) Validate() error
Validate checks the field values on GetUserNotificationSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetUserNotificationSettingsResponse) ValidateAll ¶
func (m *GetUserNotificationSettingsResponse) ValidateAll() error
ValidateAll checks the field values on GetUserNotificationSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetUserNotificationSettingsResponseMultiError, or nil if none found.
type GetUserNotificationSettingsResponseMultiError ¶
type GetUserNotificationSettingsResponseMultiError []error
GetUserNotificationSettingsResponseMultiError is an error wrapping multiple validation errors returned by GetUserNotificationSettingsResponse.ValidateAll() if the designated constraints aren't met.
func (GetUserNotificationSettingsResponseMultiError) AllErrors ¶
func (m GetUserNotificationSettingsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetUserNotificationSettingsResponseMultiError) Error ¶
func (m GetUserNotificationSettingsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetUserNotificationSettingsResponseValidationError ¶
type GetUserNotificationSettingsResponseValidationError struct {
// contains filtered or unexported fields
}
GetUserNotificationSettingsResponseValidationError is the validation error returned by GetUserNotificationSettingsResponse.Validate if the designated constraints aren't met.
func (GetUserNotificationSettingsResponseValidationError) Cause ¶
func (e GetUserNotificationSettingsResponseValidationError) Cause() error
Cause function returns cause value.
func (GetUserNotificationSettingsResponseValidationError) Error ¶
func (e GetUserNotificationSettingsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetUserNotificationSettingsResponseValidationError) ErrorName ¶
func (e GetUserNotificationSettingsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetUserNotificationSettingsResponseValidationError) Field ¶
func (e GetUserNotificationSettingsResponseValidationError) Field() string
Field function returns field value.
func (GetUserNotificationSettingsResponseValidationError) Key ¶
func (e GetUserNotificationSettingsResponseValidationError) Key() bool
Key function returns key value.
func (GetUserNotificationSettingsResponseValidationError) Reason ¶
func (e GetUserNotificationSettingsResponseValidationError) Reason() string
Reason function returns reason value.
type UpdateUserNotificationSettingsRequest ¶
type UpdateUserNotificationSettingsRequest struct { UserNotificationSettings *UserNotificationSettings `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateUserNotificationSettingsRequest) Descriptor
deprecated
func (*UpdateUserNotificationSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserNotificationSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserNotificationSettingsRequest) GetUserNotificationSettings ¶
func (x *UpdateUserNotificationSettingsRequest) GetUserNotificationSettings() *UserNotificationSettings
func (*UpdateUserNotificationSettingsRequest) ProtoMessage ¶
func (*UpdateUserNotificationSettingsRequest) ProtoMessage()
func (*UpdateUserNotificationSettingsRequest) ProtoReflect ¶
func (x *UpdateUserNotificationSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserNotificationSettingsRequest) Reset ¶
func (x *UpdateUserNotificationSettingsRequest) Reset()
func (*UpdateUserNotificationSettingsRequest) String ¶
func (x *UpdateUserNotificationSettingsRequest) String() string
func (*UpdateUserNotificationSettingsRequest) Validate ¶
func (m *UpdateUserNotificationSettingsRequest) Validate() error
Validate checks the field values on UpdateUserNotificationSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserNotificationSettingsRequest) ValidateAll ¶
func (m *UpdateUserNotificationSettingsRequest) ValidateAll() error
ValidateAll checks the field values on UpdateUserNotificationSettingsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserNotificationSettingsRequestMultiError, or nil if none found.
type UpdateUserNotificationSettingsRequestMultiError ¶
type UpdateUserNotificationSettingsRequestMultiError []error
UpdateUserNotificationSettingsRequestMultiError is an error wrapping multiple validation errors returned by UpdateUserNotificationSettingsRequest.ValidateAll() if the designated constraints aren't met.
func (UpdateUserNotificationSettingsRequestMultiError) AllErrors ¶
func (m UpdateUserNotificationSettingsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserNotificationSettingsRequestMultiError) Error ¶
func (m UpdateUserNotificationSettingsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserNotificationSettingsRequestValidationError ¶
type UpdateUserNotificationSettingsRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateUserNotificationSettingsRequestValidationError is the validation error returned by UpdateUserNotificationSettingsRequest.Validate if the designated constraints aren't met.
func (UpdateUserNotificationSettingsRequestValidationError) Cause ¶
func (e UpdateUserNotificationSettingsRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserNotificationSettingsRequestValidationError) Error ¶
func (e UpdateUserNotificationSettingsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserNotificationSettingsRequestValidationError) ErrorName ¶
func (e UpdateUserNotificationSettingsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserNotificationSettingsRequestValidationError) Field ¶
func (e UpdateUserNotificationSettingsRequestValidationError) Field() string
Field function returns field value.
func (UpdateUserNotificationSettingsRequestValidationError) Key ¶
func (e UpdateUserNotificationSettingsRequestValidationError) Key() bool
Key function returns key value.
func (UpdateUserNotificationSettingsRequestValidationError) Reason ¶
func (e UpdateUserNotificationSettingsRequestValidationError) Reason() string
Reason function returns reason value.
type UpdateUserNotificationSettingsResponse ¶
type UpdateUserNotificationSettingsResponse struct { UserNotificationSettings *UserNotificationSettings `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateUserNotificationSettingsResponse) Descriptor
deprecated
func (*UpdateUserNotificationSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserNotificationSettingsResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserNotificationSettingsResponse) GetUserNotificationSettings ¶
func (x *UpdateUserNotificationSettingsResponse) GetUserNotificationSettings() *UserNotificationSettings
func (*UpdateUserNotificationSettingsResponse) ProtoMessage ¶
func (*UpdateUserNotificationSettingsResponse) ProtoMessage()
func (*UpdateUserNotificationSettingsResponse) ProtoReflect ¶
func (x *UpdateUserNotificationSettingsResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserNotificationSettingsResponse) Reset ¶
func (x *UpdateUserNotificationSettingsResponse) Reset()
func (*UpdateUserNotificationSettingsResponse) String ¶
func (x *UpdateUserNotificationSettingsResponse) String() string
func (*UpdateUserNotificationSettingsResponse) Validate ¶
func (m *UpdateUserNotificationSettingsResponse) Validate() error
Validate checks the field values on UpdateUserNotificationSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UpdateUserNotificationSettingsResponse) ValidateAll ¶
func (m *UpdateUserNotificationSettingsResponse) ValidateAll() error
ValidateAll checks the field values on UpdateUserNotificationSettingsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UpdateUserNotificationSettingsResponseMultiError, or nil if none found.
type UpdateUserNotificationSettingsResponseMultiError ¶
type UpdateUserNotificationSettingsResponseMultiError []error
UpdateUserNotificationSettingsResponseMultiError is an error wrapping multiple validation errors returned by UpdateUserNotificationSettingsResponse.ValidateAll() if the designated constraints aren't met.
func (UpdateUserNotificationSettingsResponseMultiError) AllErrors ¶
func (m UpdateUserNotificationSettingsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpdateUserNotificationSettingsResponseMultiError) Error ¶
func (m UpdateUserNotificationSettingsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UpdateUserNotificationSettingsResponseValidationError ¶
type UpdateUserNotificationSettingsResponseValidationError struct {
// contains filtered or unexported fields
}
UpdateUserNotificationSettingsResponseValidationError is the validation error returned by UpdateUserNotificationSettingsResponse.Validate if the designated constraints aren't met.
func (UpdateUserNotificationSettingsResponseValidationError) Cause ¶
func (e UpdateUserNotificationSettingsResponseValidationError) Cause() error
Cause function returns cause value.
func (UpdateUserNotificationSettingsResponseValidationError) Error ¶
func (e UpdateUserNotificationSettingsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateUserNotificationSettingsResponseValidationError) ErrorName ¶
func (e UpdateUserNotificationSettingsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateUserNotificationSettingsResponseValidationError) Field ¶
func (e UpdateUserNotificationSettingsResponseValidationError) Field() string
Field function returns field value.
func (UpdateUserNotificationSettingsResponseValidationError) Key ¶
func (e UpdateUserNotificationSettingsResponseValidationError) Key() bool
Key function returns key value.
func (UpdateUserNotificationSettingsResponseValidationError) Reason ¶
func (e UpdateUserNotificationSettingsResponseValidationError) Reason() string
Reason function returns reason value.
type UserNotificationSettings ¶
type UserNotificationSettings struct { GrantRequested bool `protobuf:"varint,1,opt,name=grant_requested,json=grantRequested,proto3" json:"grant_requested,omitempty"` GrantApproved bool `protobuf:"varint,2,opt,name=grant_approved,json=grantApproved,proto3" json:"grant_approved,omitempty"` GrantActivated bool `protobuf:"varint,3,opt,name=grant_activated,json=grantActivated,proto3" json:"grant_activated,omitempty"` GrantExtended bool `protobuf:"varint,4,opt,name=grant_extended,json=grantExtended,proto3" json:"grant_extended,omitempty"` GrantRevoked bool `protobuf:"varint,5,opt,name=grant_revoked,json=grantRevoked,proto3" json:"grant_revoked,omitempty"` GrantDeprovisioned bool `protobuf:"varint,6,opt,name=grant_deprovisioned,json=grantDeprovisioned,proto3" json:"grant_deprovisioned,omitempty"` // contains filtered or unexported fields }
func (*UserNotificationSettings) Descriptor
deprecated
func (*UserNotificationSettings) Descriptor() ([]byte, []int)
Deprecated: Use UserNotificationSettings.ProtoReflect.Descriptor instead.
func (*UserNotificationSettings) GetGrantActivated ¶
func (x *UserNotificationSettings) GetGrantActivated() bool
func (*UserNotificationSettings) GetGrantApproved ¶
func (x *UserNotificationSettings) GetGrantApproved() bool
func (*UserNotificationSettings) GetGrantDeprovisioned ¶
func (x *UserNotificationSettings) GetGrantDeprovisioned() bool
func (*UserNotificationSettings) GetGrantExtended ¶
func (x *UserNotificationSettings) GetGrantExtended() bool
func (*UserNotificationSettings) GetGrantRequested ¶
func (x *UserNotificationSettings) GetGrantRequested() bool
func (*UserNotificationSettings) GetGrantRevoked ¶
func (x *UserNotificationSettings) GetGrantRevoked() bool
func (*UserNotificationSettings) ProtoMessage ¶
func (*UserNotificationSettings) ProtoMessage()
func (*UserNotificationSettings) ProtoReflect ¶
func (x *UserNotificationSettings) ProtoReflect() protoreflect.Message
func (*UserNotificationSettings) Reset ¶
func (x *UserNotificationSettings) Reset()
func (*UserNotificationSettings) String ¶
func (x *UserNotificationSettings) String() string
func (*UserNotificationSettings) Validate ¶
func (m *UserNotificationSettings) Validate() error
Validate checks the field values on UserNotificationSettings with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UserNotificationSettings) ValidateAll ¶
func (m *UserNotificationSettings) ValidateAll() error
ValidateAll checks the field values on UserNotificationSettings with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UserNotificationSettingsMultiError, or nil if none found.
type UserNotificationSettingsMultiError ¶
type UserNotificationSettingsMultiError []error
UserNotificationSettingsMultiError is an error wrapping multiple validation errors returned by UserNotificationSettings.ValidateAll() if the designated constraints aren't met.
func (UserNotificationSettingsMultiError) AllErrors ¶
func (m UserNotificationSettingsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UserNotificationSettingsMultiError) Error ¶
func (m UserNotificationSettingsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UserNotificationSettingsValidationError ¶
type UserNotificationSettingsValidationError struct {
// contains filtered or unexported fields
}
UserNotificationSettingsValidationError is the validation error returned by UserNotificationSettings.Validate if the designated constraints aren't met.
func (UserNotificationSettingsValidationError) Cause ¶
func (e UserNotificationSettingsValidationError) Cause() error
Cause function returns cause value.
func (UserNotificationSettingsValidationError) Error ¶
func (e UserNotificationSettingsValidationError) Error() string
Error satisfies the builtin error interface
func (UserNotificationSettingsValidationError) ErrorName ¶
func (e UserNotificationSettingsValidationError) ErrorName() string
ErrorName returns error name.
func (UserNotificationSettingsValidationError) Field ¶
func (e UserNotificationSettingsValidationError) Field() string
Field function returns field value.
func (UserNotificationSettingsValidationError) Key ¶
func (e UserNotificationSettingsValidationError) Key() bool
Key function returns key value.
func (UserNotificationSettingsValidationError) Reason ¶
func (e UserNotificationSettingsValidationError) Reason() string
Reason function returns reason value.