func LoggingAuthFromUnstructured(r *unstructured.Unstructured) (*LoggingAuth, error) {
	b, err := json.Marshal(r.Object)
	if err != nil {
		return nil, err
	}
	var a LoggingAuth
	if err := json.Unmarshal(b, &a); err != nil {
		return nil, err
	}
	a.TypeMeta.Kind = LoggingAuthsKind
	a.TypeMeta.APIVersion = GroupName + "/" + Version
	return &a, nil
}
// LoggingAuthFromUnstructured unmarshals an LoggingAuth object from dynamic client's unstructured
LoggingAuthFromUnstructured unmarshals an LoggingAuth object from dynamic client's unstructured
// LoggingAuthFromUnstructured unmarshals an LoggingAuth object from dynamic client ' s unstructured
func LoggingAuthFromUnstructured(r *unstructured.Unstructured) (*LoggingAuth, error) {
	b, err := json.Marshal(r.Object)
	if err != nil {
		return nil, err
	}
	var a LoggingAuth
	if err := json.Unmarshal(b, &a); err != nil {
		return nil, err
	}
	a.TypeMeta.Kind = LoggingAuthsKind
	a.TypeMeta.APIVersion = GroupName + "/" + Version
	return &a, nil
}
func LoggingAuthFromUnstructured ( r * unstructured . Unstructured ) ( * LoggingAuth , error ) { b , err := json . Marshal ( r . Object ) if err != nil { return nil , err } var a LoggingAuth if err := json . Unmarshal ( b , & a ) ; err != nil { return nil , err } a . TypeMeta . Kind = LoggingAuthsKind a . TypeMeta . APIVersion = GroupName + " " + Version return & a , nil }
LoggingAuthFromUnstructured unmarshals an LoggingAuth object from dynamic client's unstructured
LoggingAuthFromUnstructured unmarshals an LoggingAuth object from dynamic client ' s unstructured