Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericRequestIn ¶
type GenericRequestIn struct { Attribute *RequestAttribute `json:"Attribute,omitempty"` Request interface{} `json:"Request,omitempty"` }
func InvalidGenericRequestIn ¶ added in v0.5.1
func InvalidGenericRequestIn(attr *RequestAttribute) *GenericRequestIn
func (*GenericRequestIn) Clone ¶ added in v0.5.1
func (receiver *GenericRequestIn) Clone() *GenericRequestIn
func (*GenericRequestIn) SimpleGenericRequest ¶
func (receiver *GenericRequestIn) SimpleGenericRequest( isValid bool, invalidMessage string, ) *SimpleGenericRequest
type GenericResponse ¶
type GenericResponse struct { Attribute *ResponseAttribute `json:"Attribute,omitempty"` Response interface{} `json:"Response,omitempty"` }
func InvalidGenericResponse ¶ added in v0.5.1
func InvalidGenericResponse(attr *ResponseAttribute) *GenericResponse
func (*GenericResponse) Clone ¶ added in v0.5.1
func (receiver *GenericResponse) Clone() *GenericResponse
Clone Cannot copy interface, just putting response in response field.
func (*GenericResponse) GenericResponseResult ¶
func (receiver *GenericResponse) GenericResponseResult() *GenericResponseResult
type GenericResponseResult ¶
type GenericResponseResult struct { Attribute *ResponseAttribute `json:"Attribute,omitempty"` Response *coredynamic.SimpleResult `json:"Response,omitempty"` }
func InvalidGenericResponseResult ¶ added in v0.5.1
func InvalidGenericResponseResult(attribute *ResponseAttribute) *GenericResponseResult
func (*GenericResponseResult) Clone ¶ added in v0.5.1
func (receiver *GenericResponseResult) Clone() *GenericResponseResult
type PageRequest ¶
func (*PageRequest) Clone ¶ added in v0.5.1
func (p *PageRequest) Clone() *PageRequest
type RequestAttribute ¶
type RequestAttribute struct { Url string `json:"Url,omitempty"` Host string `json:"Host,omitempty"` ResourceName string `json:"ResourceName,omitempty"` RequestType reqtype.Request IsValid bool SearchRequest *SearchRequest `json:"SearchRequest,omitempty"` PageRequest *PageRequest `json:"PageRequest,omitempty"` }
func InvalidRequestAttribute ¶ added in v0.5.1
func InvalidRequestAttribute() *RequestAttribute
func (*RequestAttribute) Clone ¶ added in v0.5.1
func (receiver *RequestAttribute) Clone() *RequestAttribute
type ResponseAttribute ¶
type ResponseAttribute struct { ResponseOfRequestType reqtype.Request Count int HasAnyRecord bool NextPageRequestUrl string StepsPerformed *[]string `json:"StepsPerformed,omitempty"` DebugInfos *[]string `json:"DebugInfos,omitempty"` HttpCode int HttpMethod reqtype.Request IsValid bool Message string `json:"Message,omitempty"` }
func InvalidResponseAttribute ¶ added in v0.5.1
func InvalidResponseAttribute(message string) *ResponseAttribute
func (*ResponseAttribute) Clone ¶ added in v0.5.1
func (receiver *ResponseAttribute) Clone() *ResponseAttribute
type SearchRequest ¶
type SearchRequest struct { SearchTerm string IsNaturalSearch, IsContains, IsStartsWith, IsEndsWith, IsRegex bool }
func (*SearchRequest) Clone ¶ added in v0.5.1
func (receiver *SearchRequest) Clone() *SearchRequest
type SimpleGenericRequest ¶
type SimpleGenericRequest struct { Attribute *RequestAttribute `json:"Attribute,omitempty"` Request *coredynamic.SimpleRequest `json:"Request,omitempty"` }
func InvalidSimpleGenericRequest ¶ added in v0.5.1
func InvalidSimpleGenericRequest(attribute *RequestAttribute) *SimpleGenericRequest
Source Files
¶
Click to show internal directories.
Click to hide internal directories.