// 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 *PingResult) ValueForAttribute(name string) interface{} {
	switch name {
	case "ID":
		return o.ID
	case "createTime":
		return o.CreateTime
	case "errors":
		return o.Errors
	case "migrationsLog":
		return o.MigrationsLog
	case "namespace":
		return o.Namespace
	case "pingID":
		return o.PingID
	case "pingPairs":
		return o.PingPairs
	case "refreshID":
		return o.RefreshID
	case "remoteProbes":
		return o.RemoteProbes
	case "updateTime":
		return o.UpdateTime
	case "zHash":
		return o.ZHash
	case "zone":
		return o.Zone
	}
	return nil
}
func ( o * PingResult ) ValueForAttribute ( name string ) interface { } { switch name { case " " : return o . ID case " " : return o . CreateTime case " " : return o . Errors case " " : return o . MigrationsLog case " " : return o . Namespace case " " : return o . PingID case " " : return o . PingPairs case " " : return o . RefreshID case " " : return o . RemoteProbes 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 .