func (u OperationBody) GetDestination() (result AccountId, ok bool) {
	armName, _ := u.ArmForSwitch(int32(u.Type))

	if armName == "Destination" {
		result = *u.Destination
		ok = true
	}

	return
}
func (u OperationBody) GetDestination() (result AccountId, ok bool) {
	armName, _ := u.ArmForSwitch(int32(u.Type))

	if armName == "Destination" {
		result = *u.Destination
		ok = true
	}

	return
}
func ( u OperationBody ) GetDestination ( ) ( result AccountId , ok bool ) { armName , _ := u . ArmForSwitch ( int32 ( u . Type ) ) if armName == " " { result = * u . Destination ok = true } return }
// GetDestination retrieves the Destination value from the union,
// returning ok if the union's switch indicated the value is valid.
GetDestination retrieves the Destination value from the union returning ok if the union s switch indicated the value is valid .