MCPcopy Create free account
hub / github.com/elimity-com/scim / SimpleReferenceParams

Function SimpleReferenceParams

schema/simple.go:142–155  ·  view source on GitHub ↗

SimpleReferenceParams converts given reference parameters to their corresponding simple parameters.

(params ReferenceParams)

Source from the content-addressed store, hash-verified

140
141// SimpleReferenceParams converts given reference parameters to their corresponding simple parameters.
142func SimpleReferenceParams(params ReferenceParams) SimpleParams {
143 return SimpleParams{
144 caseExact: true,
145 description: params.Description,
146 multiValued: params.MultiValued,
147 mutability: params.Mutability.m,
148 name: params.Name,
149 referenceTypes: params.ReferenceTypes,
150 required: params.Required,
151 returned: params.Returned.r,
152 typ: attributeDataTypeReference,
153 uniqueness: params.Uniqueness.u,
154 }
155}
156
157// SimpleStringParams converts given string parameters to their corresponding simple parameters.
158func SimpleStringParams(params StringParams) SimpleParams {

Callers 7

getSimpleParamsFunction · 0.92
TestValidatorStringFunction · 0.92
schema_test.goFile · 0.85
CommonAttributesFunction · 0.85
CoreGroupSchemaFunction · 0.85
CoreUserSchemaFunction · 0.85
ExtensionEnterpriseUserFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestValidatorStringFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…