func (o *Policy) ValueForAttribute(name string) interface{} {

	switch name {
	case "ID":
		return o.ID
	case "action":
		return o.Action
	case "activeDuration":
		return o.ActiveDuration
	case "activeSchedule":
		return o.ActiveSchedule
	case "allObjectTags":
		return o.AllObjectTags
	case "allSubjectTags":
		return o.AllSubjectTags
	case "annotations":
		return o.Annotations
	case "associatedTags":
		return o.AssociatedTags
	case "createIdempotencyKey":
		return o.CreateIdempotencyKey
	case "createTime":
		return o.CreateTime
	case "description":
		return o.Description
	case "disabled":
		return o.Disabled
	case "expirationTime":
		return o.ExpirationTime
	case "fallback":
		return o.Fallback
	case "metadata":
		return o.Metadata
	case "migrationsLog":
		return o.MigrationsLog
	case "name":
		return o.Name
	case "namespace":
		return o.Namespace
	case "normalizedTags":
		return o.NormalizedTags
	case "object":
		return o.Object
	case "propagate":
		return o.Propagate
	case "propagationHidden":
		return o.PropagationHidden
	case "protected":
		return o.Protected
	case "relation":
		return o.Relation
	case "subject":
		return o.Subject
	case "type":
		return o.Type
	case "updateIdempotencyKey":
		return o.UpdateIdempotencyKey
	case "updateTime":
		return o.UpdateTime
	case "zHash":
		return o.ZHash
	case "zone":
		return o.Zone
	}

	return nil
}
// ValueForAttribute returns the value for the given attribute.
// This is a very advanced function that you should not need but in some
// very specific use cases.
ValueForAttribute returns the value for the given attribute.
This is a very advanced function that you should not need but in some
very specific use cases.
// ValueForAttribute returns the value for the given attribute . // This is a very advanced function that you should not need but in some // very specific use cases .
func (o *Policy) ValueForAttribute(name string) interface{} {
	switch name {
	case "ID":
		return o.ID
	case "action":
		return o.Action
	case "activeDuration":
		return o.ActiveDuration
	case "activeSchedule":
		return o.ActiveSchedule
	case "allObjectTags":
		return o.AllObjectTags
	case "allSubjectTags":
		return o.AllSubjectTags
	case "annotations":
		return o.Annotations
	case "associatedTags":
		return o.AssociatedTags
	case "createIdempotencyKey":
		return o.CreateIdempotencyKey
	case "createTime":
		return o.CreateTime
	case "description":
		return o.Description
	case "disabled":
		return o.Disabled
	case "expirationTime":
		return o.ExpirationTime
	case "fallback":
		return o.Fallback
	case "metadata":
		return o.Metadata
	case "migrationsLog":
		return o.MigrationsLog
	case "name":
		return o.Name
	case "namespace":
		return o.Namespace
	case "normalizedTags":
		return o.NormalizedTags
	case "object":
		return o.Object
	case "propagate":
		return o.Propagate
	case "propagationHidden":
		return o.PropagationHidden
	case "protected":
		return o.Protected
	case "relation":
		return o.Relation
	case "subject":
		return o.Subject
	case "type":
		return o.Type
	case "updateIdempotencyKey":
		return o.UpdateIdempotencyKey
	case "updateTime":
		return o.UpdateTime
	case "zHash":
		return o.ZHash
	case "zone":
		return o.Zone
	}
	return nil
}
func ( o * Policy ) ValueForAttribute ( name string ) interface { } { switch name { case " " : return o . ID case " " : return o . Action case " " : return o . ActiveDuration case " " : return o . ActiveSchedule case " " : return o . AllObjectTags case " " : return o . AllSubjectTags case " " : return o . Annotations case " " : return o . AssociatedTags case " " : return o . CreateIdempotencyKey case " " : return o . CreateTime case " " : return o . Description case " " : return o . Disabled case " " : return o . ExpirationTime case " " : return o . Fallback case " " : return o . Metadata case " " : return o . MigrationsLog case " " : return o . Name case " " : return o . Namespace case " " : return o . NormalizedTags case " " : return o . Object case " " : return o . Propagate case " " : return o . PropagationHidden case " " : return o . Protected case " " : return o . Relation case " " : return o . Subject case " " : return o . Type case " " : return o . UpdateIdempotencyKey case " " : return o . UpdateTime case " " : return o . ZHash case " " : return o . Zone } return nil }
ValueForAttribute returns the value for the given attribute.
ValueForAttribute returns the value for the given attribute .