func SimpleBinaryParams(params BinaryParams) SimpleParams {
	return SimpleParams{
		caseExact:   true,
		description: params.Description,
		multiValued: params.MultiValued,
		mutability:  params.Mutability.m,
		name:        params.Name,
		required:    params.Required,
		returned:    params.Returned.r,
		typ:         attributeDataTypeBinary,
		uniqueness:  attributeUniquenessNone,
	}
}
SimpleBinaryParams converts given binary parameters to their corresponding simple parameters.
package schema
import "github.com/elimity-com/scim/optional"
type BinaryParams struct {
	Description optional.String
	MultiValued bool
	Mutability  AttributeMutability
	Name        string
	Required    bool
	Returned    AttributeReturned
}
type BooleanParams struct {
	Description optional.String
	MultiValued bool
	Mutability  AttributeMutability
	Name        string
	Required    bool
	Returned    AttributeReturned
}
type DateTimeParams struct {
	Description optional.String
	MultiValued bool
	Mutability  AttributeMutability
	Name        string
	Required    bool
	Returned    AttributeReturned
}
type NumberParams struct {
	Description optional.String
	MultiValued bool
	Mutability  AttributeMutability
	Name        string
	Required    bool
	Returned    AttributeReturned
	Type        AttributeDataType
	Uniqueness  AttributeUniqueness
}
type ReferenceParams struct {
	Description    optional.String
	MultiValued    bool
	Mutability     AttributeMutability
	Name           string
	ReferenceTypes []AttributeReferenceType
	Required       bool
	Returned       AttributeReturned
	Uniqueness     AttributeUniqueness
}
type SimpleParams struct {
	canonicalValues []string
	caseExact       bool
	description     optional.String
	multiValued     bool
	mutability      attributeMutability
	name            string
	referenceTypes  []AttributeReferenceType
	required        bool
	returned        attributeReturned
	typ             attributeType
	uniqueness      attributeUniqueness
}