// PolicyAsRequest returns a data policy as a request
PolicyAsRequest returns a data policy as a request
// PolicyAsRequest returns a data policy as a request
func (c *Client) PolicyAsRequest(p DataPolicy) DataPolicyRequest {
	return DataPolicyRequest{
		Name:        p.Name,
		Category:    p.Category,
		ImpactType:  p.ImpactType,
		Obfuscation: p.Obfuscation,
		Datasets:    p.Datasets,
		Fields:      p.Fields,
	}
}
func ( c * Client ) PolicyAsRequest ( p DataPolicy ) DataPolicyRequest { return DataPolicyRequest { Name : p . Name , Category : p . Category , ImpactType : p . ImpactType , Obfuscation : p . Obfuscation , Datasets : p . Datasets , Fields : p . Fields , } }
PolicyAsRequest returns a data policy as a request
PolicyAsRequest returns a data policy as a request