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

	switch name {
	case "ID":
		return o.ID
	case "algorithm":
		return o.Algorithm
	case "certificate":
		return o.Certificate
	case "commonName":
		return o.CommonName
	case "expirationDate":
		return o.ExpirationDate
	case "key":
		return o.Key
	case "migrationsLog":
		return o.MigrationsLog
	case "organization":
		return o.Organization
	case "serialNumber":
		return o.SerialNumber
	case "type":
		return o.Type
	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 *Authority) ValueForAttribute(name string) interface{} {
	switch name {
	case "ID":
		return o.ID
	case "algorithm":
		return o.Algorithm
	case "certificate":
		return o.Certificate
	case "commonName":
		return o.CommonName
	case "expirationDate":
		return o.ExpirationDate
	case "key":
		return o.Key
	case "migrationsLog":
		return o.MigrationsLog
	case "organization":
		return o.Organization
	case "serialNumber":
		return o.SerialNumber
	case "type":
		return o.Type
	case "zHash":
		return o.ZHash
	case "zone":
		return o.Zone
	}
	return nil
}
func ( o * Authority ) ValueForAttribute ( name string ) interface { } { switch name { case " " : return o . ID case " " : return o . Algorithm case " " : return o . Certificate case " " : return o . CommonName case " " : return o . ExpirationDate case " " : return o . Key case " " : return o . MigrationsLog case " " : return o . Organization case " " : return o . SerialNumber case " " : return o . Type 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 .