// AdditionalProperties specifies the constraint that additional
// properties should be validated against.
357174
func (o *ObjectConstraint) AdditionalProperties(c Constraint) *ObjectConstraint {
	o.additionalProperties = c
	return o
}
463860
func GetProperties(t reflect.Type) *StructProperties {
	mutex.Lock()
	sprop := getPropertiesLocked(t)
	mutex.Unlock()
	return sprop
}
822674
func (s *ImportTerminologyOutput) SetTerminologyProperties(v *TerminologyProperties) *ImportTerminologyOutput {
	s.TerminologyProperties = v
	return s
}
1263413
func (s *ProxyConfiguration) SetProperties(v []*KeyValuePair) *ProxyConfiguration {
	s.Properties = v
	return s
}
618441
func (obj *GenericObject) SetProperties(ctx context.Context, prop *GenericObjectProperties) error {
	err := obj.rpc(ctx, "SetProperties", nil, prop)
	return err 
}
809113
func (bt *BaseTask) additionalParams() map[string]interface{} {
	additionalParams := make(map[string]interface{})

	if bt.TimeoutSeconds.Seconds() != 0 {
		additionalParams["TimeoutSeconds"] = bt.TimeoutSeconds.Seconds()
	}
	if bt.HeartbeatSeconds.Seconds() != 0 {
		additionalParams["HeartbeatSeconds"] = bt.HeartbeatSeconds.Seconds()
	}
	if bt.ResultPath != "" {
		additionalParams["ResultPath"] = bt.ResultPath
	}
	if len(bt.Retriers) != 0 {
		additionalParams["Retry"] = make([]map[string]interface{}, 0)
	}
	if bt.Catchers != nil {
		catcherMap := make([]map[string]interface{}, len(bt.Catchers))
		for index, eachCatcher := range bt.Catchers {
			catcherMap[index] = map[string]interface{}{
				"ErrorEquals": eachCatcher.errorEquals,
				"Next":        eachCatcher.next.Name(),
			}
		}
		additionalParams["Catch"] = catcherMap
	}
	return additionalParams
}
1080148
func (b *TodoJSONBuilder) Properties() []*TodoPropertyInfo {
	return []*TodoPropertyInfo{
		b.ID,
		b.Text,
		b.Done,
		b.UpdatedAt,
		b.CreatedAt,
	}
}
191919
func (o *ObjectConstraint) MaxProperties(n int) *ObjectConstraint {
	o.maxProperties = n
	return o
}
951307
func NewProperty(parent *Properties) *Property {
	property := &Property{parent: parent, Group: &Group{}, Contract: &Contract{}}
	property.Init()
	return property
}
1242274
func (obj *GenericMeasure) SetProperties(ctx context.Context, prop *GenericMeasureProperties) error {
	err := obj.rpc(ctx, "SetProperties", nil, prop)
	return err 
}
531145
func (p *propertySet) populateProperties(allocs []*structs.Allocation, nodes map[string]*structs.Node,
	properties map[string]uint64) {

	for _, alloc := range allocs {
		nProperty, ok := getProperty(nodes[alloc.NodeID], p.targetAttribute)
		if !ok {
			continue
		}

		properties[nProperty]++
	}
}
135056
func (obj *GenericMeasure) GetProperties(ctx context.Context) (*GenericMeasureProperties, error) {
	result := &struct {
		Prop *GenericMeasureProperties	`json:"qProp"`
	} {}
	err := obj.rpc(ctx, "GetProperties", result)
	return result.Prop, err 
}
982601
func (s *DocumentationPart) SetProperties(v string) *DocumentationPart {
	s.Properties = &v
	return s
}
829491
func (p *ProxyLBCertificates) AddAdditionalCert(serverCert, intermediateCert, privateKey string) {
	p.AdditionalCerts = append(p.AdditionalCerts, &ProxyLBCertificate{
		ServerCertificate:       serverCert,
		IntermediateCertificate: intermediateCert,
		PrivateKey:              privateKey,
	})
}
747398
func validProperty(property string, value interface{}) (bool, bool) {
	checkFunc, ok := attributeTypes[property]
	if !ok {
		return false, false
	}
	return true, checkFunc(value)
}
1093305
func (b *PersonJSONBuilder) Properties() []*PersonPropertyInfo {
	return []*PersonPropertyInfo{
		b.Name,
		b.Age,
		b.Password,
	}
}
132238
func (o *ObjectConstraint) PatternProperties(key *regexp.Regexp, c Constraint) *ObjectConstraint {
	o.proplock.Lock()
	defer o.proplock.Unlock()

	o.patternProperties[key] = c
	return o
}